vercount
vercount copied to clipboard
Busuanzi Compatible Website Counter Powered by Vercel + Redis
已集成到个人博客,并已推荐、star. 不知道是不是服务不太稳还是啥原因,有时发现数据一直loading https://farb.github.io/p/hugo_stack_vercount/
我的博客是hexo 和 fluid 主题搭建的, fluid主题支持不蒜子,开启下就行,不用编辑代码。 因为不蒜子有移动端的问题,我转成了vercount,不过有些麻烦: 1. 修改 `_config.fluid.yml` (加上`?i=`以忽略fluid在后面添加的部分): ```yaml # busuanzi: https://busuanzi.ibruce.info/busuanzi/2.3/ busuanzi: https://cn.vercount.one/js?i= ``` 2. 修改 `themes/fluid/layout/_partial/scripts.ejs` , 加了段script: ```ejs function observeAndDisplay(sourceId, targetId) { if (document.getElementById(sourceId)) {...
这两行重复了 :) https://github.com/EvanNotFound/vercount/blob/026ca009db919db3eb75542e4fee1958e26134c5/public/home-carrd.html#L250-L251
推荐出一个自有服务器部署方案
准备在下一个版本集成到 Hugo FixIt 主题。 https://github.com/hugo-fixit/FixIt
这个请求一直超时
https://events.vercount.one/log?jsonpCallback=VisitorCountCallback 
目前,Vercount 项目所有的运营费用均由我个人承担,包括 Vercel 的 Function Invocations 和 Edge Middleware Invocations 的费用,以及项目数据库所需服务器的费用。 这是一个公益项目,因此我诚挚地请求您的支持。即使是几元钱的捐助,也能帮助我们维持项目的长期运转。 每月的支出明细如下: - Vercel Pro 订阅费用:$20 USD = ¥140 CNY - Vercel Function Invocations 费用:$1 USD = ¥7 CNY...