Git Product home page Git Product logo

busuanzi's Introduction

Busuanzi

🚀 自建 不蒜子 API

前言:

  1. 不蒜子是一款很好用的前端计数工具,但是因为流量日渐变多,经常会出现 502 的情况
  2. 故尝试对其后端进行了仿造,达到了相同的效果,并且在首次添加域名时,会自动从 busuanzi 官网同步数据
  3. 本项目使用 Redis 做数据库,若您的网站一个月内没有访问量,数据会自动清除。
  4. 即下一次再使用本工具时将再次从 Busuanzi 官网 同步数据
  5. 本项目托管于 replit.com ,开源地址: zkeq/Busuanzi_backend_self [ AGPL-3.0 license ]
  6. replit 存在不定期回档问题,现已将 API 部署至私有服务器,保证数据的完整性。

使用:

  1. 将官网的 //busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js 文件改为
  2. https://busuanzi.icodeq.com/busuanzi.pure.mini.js (本项目暂不支持 http 协议的网站)
  3. 即可使用,首次加载网站会较慢(后台同步不蒜子的 Site_uvSite_pv
  4. 之后会保持在 360ms 左右加载出数据 (服务器处理数据仅用时 5ms)

用法:

<script async src="https://busuanzi.icodeq.com/busuanzi.pure.mini.js"></script>

本文总阅读量 <span id="busuanzi_value_page_pv"></span> 次

本站总访问量 <span id="busuanzi_value_site_pv"></span> 次

本站总访客数 <span id="busuanzi_value_site_uv"></span>
Powered by: 🚀 FastAPI + Redis ✨

busuanzi's People

Contributors

zkeq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

busuanzi's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.