Moe-Counter

多种风格可选的萌萌计数器

MIT License

Stars
1.4K

Moe-Counter

多种风格可选的萌萌计数器

asoul
moebooru
rule34
gelbooru

Demo

https://count.getloli.com

Usage

Install

Run on Replit

Deploying on your own server

$ git clone https://github.com/journey-ad/Moe-Counter.git
$ cd Moe-Counter
$ yarn install

$ yarn start

Configuration

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"

Credits

License