Skip to content

WorkingRobot/Moe-Counter

 
 

Repository files navigation

Moe Counter!

Cute and customizable hit counter for your website! Forked from Moe-Counter with additional improvements like Redis/MySQL support, bug fixes, and CI/CD Docker deployment.

Moe Counter!

More Themes

The above link redirects to the upstream repository. Create an issue here to remind me to merge it in from upstream.

3d-num

3d-num

ai-1

ai-1

asoul

asoul

booru-ffsr

booru-ffsr

booru-helltaker

booru-helltaker

booru-huggboo

booru-huggboo

booru-jaypee

booru-jaypee

booru-koe

booru-koe

booru-lewd

booru-lewd

booru-lisu

booru-lisu

booru-mjg

booru-mjg

booru-mof

booru-mof

booru-nandroid

booru-nandroid

booru-qualityhentais

booru-qualityhentais

booru-r6gdrawfriends

booru-r6gdrawfriends

booru-rfck

booru-rfck

booru-smtg

booru-smtg

booru-snyde

booru-snyde

booru-the-collection

booru-the-collection

booru-touhoulat

booru-touhoulat

booru-townofgravityfalls

booru-townofgravityfalls

booru-twifanartsfw

booru-twifanartsfw

booru-ve

booru-ve

booru-vivi

booru-vivi

booru-vp

booru-vp

booru-yuyuyui

booru-yuyuyui

capoo-1

capoo-1

capoo-2

capoo-2

e621

e621

food

food

gelbooru

gelbooru

green

green

kasuterura-1

kasuterura-1

kasuterura-2

kasuterura-2

kasuterura-3

kasuterura-3

kasuterura-4

kasuterura-4

kyun

kyun

love-and-deepspace

love-and-deepspace

miku

miku

minecraft

minecraft

moebooru

moebooru

morden-num

morden-num

nixietube-1

nixietube-1

nixietube-2

nixietube-2

normal-1

normal-1

normal-2

normal-2

original-new

original-new

original-old

original-old

rule34

rule34

shimmie2

shimmie2

sketch-1

sketch-1

sketch-2

sketch-2

yousa-ling

yousa-ling

Demo

https://count.camora.dev

How to use

For information on counter usage and configuration, refer to the demo website.

Usage

Docker Deployment

$ docker pull ghcr.io/workingrobot/moe-counter:latest
$ docker run -p 3000:3000 -d --name moe-counter ghcr.io/workingrobot/moe-counter:latest

Development

$ git clone https://github.com/WorkingRobot/Moe-Counter.git
$ cd Moe-Counter
$ pnpm install

$ pnpm start

Configuration

Set .env file to specify the environment variables. .env.example

# Specify your website URL
# APP_SITE=https://count.camora.dev

# Application port
APP_PORT=3000

# Database type: either 'sqlite', 'mongodb', 'mysql', or 'redis'
DB_TYPE=sqlite

# If using SQLite, provide the database file path
# DB_URL=count.db

# If using MongoDB or Redis/Valkey, provide the connection string
# DB_URL=redis://127.0.0.1:6379

# If using MySQL, provide the connection string
# DB_URL=mysql://127.0.0.1:3306/dbname?user=root&password=root

# Database write interval in seconds (0 for real-time, great for redis)
DB_INTERVAL=60

# Log level: either 'debug' | 'info' | 'warn' | 'error' | 'none'
LOG_LEVEL=info

Credits

License

MIT License, excluding all themes

About

Cute and customizable hit counter for your website!

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 72.1%
  • Pug 15.8%
  • Less 10.9%
  • Dockerfile 1.2%