☗ Counter
多种风格可选的萌萌计数器
Usage
Local
$ git clone https://github.com/Fuwn/counter.git
$ cd counter
$ npm install # Or Bun, Yarn, pNPM, etc.
$ npm run start
Docker
docker run --volume 'counter:/app/data' -p '80:3000' --rm fuwn/urushi-counter:latest
Database
counter will use SQLite by default, and will place the database file, count.db, within the data/ directory of the root project folder.
MongoDB
To use MongoDB instead of SQLite, expose a DB_URL environment variable.
export DB_URL=mongodb+srv://user:[email protected]/counter
Resource Attributions
- A-SOUL_Official
- Moebooru
- Rule 34 (NSFW)
- Gelbooru (NSFW)
License
This project is licensed with the MIT License.