Moe-Counter/Readme.md
2023-06-18 16:45:17 +08:00

2.0 KiB

Moe-Counter

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

Moe-Counter

More theme
asoul

asoul

moebooru

moebooru

rule34

Rule34

gelbooru

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

If you use mysql, you need to specify the environment variable DB_URL

# eg:
export DB_URL=mysql://user:password@localhost:3306/database

replit can use Secrets, documentation

DB_URL="mongodb+srv://account:passwd@***.***.***.mongodb.net/db_count"

Credits

License

FOSSA Status