多种风格可选的萌萌计数器
MIT License
多种风格可选的萌萌计数器
$ git clone https://github.com/journey-ad/Moe-Counter.git
$ cd Moe-Counter
$ yarn install
$ yarn start
config.yml
app:
# site: https://count.getloli.com # your website
port: 3000
db:
type: sqlite # sqlite or mongodb
If you use mongodb, you need to specify the environment variable DB_URL
# eg:
export DB_URL=mongodb+srv://account:passwd@***.***.***.mongodb.net/db_count
replit can use Secrets, documentation
DB_URL="mongodb+srv://account:passwd@***.***.***.mongodb.net/db_count"