多种风格可选的萌萌计数器
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万 次请求。如果这个项目对你有帮助,恳请赞助支持服务器的持续运行,感谢每一份支持!
For information on counter usage and configuration, refer to the demo website.
Pull the pre-built image from GitHub Container Registry:
$ docker pull ghcr.io/journey-ad/moe-counter:latestRun with Docker:
$ 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:latestOr use docker-compose:
version: '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$ git clone https://github.com/journey-ad/Moe-Counter.git
$ cd Moe-Counter
$ pnpm install
$ pnpm startSet .env file to specify the environment variables. .env.example
# 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- A-SOUL_Official
- moebooru
- gelbooru.com NSFW
- Icons8
- And all booru site...
MIT License, excluding all themes

