Moe Counter
Moe counter badge with multiple themes! - 多种风格可选的萌萌计数器
**Moe Counter** is a Moe counter badge with multiple themes! - 多种风格可选的萌萌计数器 The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2020. It has gained significant community traction with 2,941 stars and 289 forks on GitHub. Key topics include: badge, counter, visitor-counter, visitors.
Moe Counter!
多种风格可选的萌萌计数器
<p align="center"> <a href="https://count.getloli.com" target="_blank"> <img alt="Moe Counter!" src="https://count.getloli.com/@Moe-counter.github?name=Moe-counter.github&theme=booru-lewd&padding=7&offset=0&align=top&scale=1&pixelated=1&darkmode=auto"> </a> </p> <p align="center"> <a href="https://hellogithub.com/repository/ed741b376efe46789ce9bb140ac19a52" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=ed741b376efe46789ce9bb140ac19a52&claim_uid=NyJh2Vejq3984f5&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=ed741b376efe46789ce9bb140ac19a52&claim_uid=NyJh2Vejq3984f5&theme=neutral" /> <img src="https://api.hellogithub.com/v1/widgets/recommend.svg?rid=ed741b376efe46789ce9bb140ac19a52&claim_uid=NyJh2Vejq3984f5&theme=neutral" alt="Featured|HelloGitHub" style="width: 250px; height: 54px;" width="250" height="54" /> </picture> </a> </p> <details> <summary><h2>More theme</h2></summary>Contribute themes is welcome!
3d-num
ai-1
asoul
booru-ffsr
booru-helltaker
booru-huggboo
booru-jaypee
booru-koe
booru-lewd
booru-lisu
booru-mjg
booru-mof
booru-nandroid
booru-qualityhentais
booru-r6gdrawfriends
booru-rfck
booru-smtg
booru-snyde
booru-the-collection
booru-touhoulat
booru-townofgravityfalls
booru-twifanartsfw
booru-ve
booru-vivi
booru-vp
booru-yuyuyui
capoo-1
capoo-2
e621
food
gelbooru
green
kasuterura-1
kasuterura-2
kasuterura-3
kasuterura-4
kyun
love-and-deepspace
miku
minecraft
moebooru
morden-num
nixietube-1
nixietube-2
normal-1
normal-2
original-new
original-old
rule34
shimmie2
sketch-1
sketch-2
yousa-ling
Demo
Sponsor / 赞助
This service handles over 10 million requests every month. If Moe Counter! has been useful to you, please consider sponsoring to help keep the server running. Every little bit helps! 💖
Moe Counter! 每月处理超过 1000万 次请求。如果这个项目对你有帮助,恳请赞助支持服务器的持续运行,感谢每一份支持!
<details> <summary>Alipay / WeChat Pay(支付宝 / 微信支付)</summary> <p> <img src="https://cdn.jsdelivr.net/gh/journey-ad/blog-img/about/alipay.jpg" alt="Alipay" width="200"> <img src="https://cdn.jsdelivr.net/gh/journey-ad/blog-img/about/wechatpay.jpg" alt="WeChat Pay" width="200"> </p> </details>How to use
For information on counter usage and configuration, refer to the demo website.
Usage
Using Docker (Recommended)
Pull the pre-built image from GitHub Container Registry:
shell$ docker pull ghcr.io/journey-ad/moe-counter:latest
Run with Docker:
shell$ docker run -d -p 3000:3000 \ -v $(pwd)/data:/app/data \ -e APP_PORT=3000 \ -e DB_TYPE=sqlite \ ghcr.io/journey-ad/moe-counter:latest
Or use docker-compose:
yamlversion: '3' services: moe-counter: image: ghcr.io/journey-ad/moe-counter:latest ports: - "3000:3000" volumes: - ./data:/app/data environment: - APP_PORT=3000 - DB_TYPE=sqlite
Deploying from Source
shell$ git clone https://github.com/journey-ad/Moe-Counter.git $ cd Moe-Counter $ pnpm install $ pnpm start
Configuration
Set .env file to specify the environment variables. .env.example
dosini# Specify your website URL # APP_SITE=https://count.getloli.com # Application port APP_PORT=3000 # Database type: either 'sqlite' or 'mongodb' DB_TYPE=sqlite # If using MongoDB, provide the connection string # DB_URL=mongodb://127.0.0.1:27017 # Database write interval in seconds (0 for real-time) DB_INTERVAL=60 # Log level: either 'debug' | 'info' | 'warn' | 'error' | 'none' LOG_LEVEL=debug # Google Analytics `G-Tag` ID # GA_ID=G-XXXX
Credits
- A-SOUL_Official
- moebooru
- gelbooru.com NSFW
- Icons8
- And all booru site...
License
MIT License, excluding all themes
<a href="https://star-history.com/?repos=journey-ad/Moe-Counter&type=Date#journey-ad/Moe-Counter&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=journey-ad/Moe-Counter&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=journey-ad/Moe-Counter&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=journey-ad/Moe-Counter&type=Date" /> </picture> </a>
Contributors
Showing top 8 contributors by commit count.
