多种风格可选的萌萌计数器的简易C语言版本
1. Install simple-http-server
Follow the instructions in that repo to install it.
2. Install simple-protobuf
Follow the instructions in that repo to install it.
git clone https://github.com/fumiama/CMoe-Counter.git
cd CMoe-Counter
mkdir build
cd build
cmake ..
make
# make install- Copy
favicon.ico,index.html,style.cssand the compiled binarycmoe(in thebuildfolder) into the same folder. - Run
simple-http-serverby the command
simple-http-server -d port folderYou can change token and datafile by passing env TOKEN & DATFILE.
The API of CMoe is simpler than Moe-counter
http://yourdomain/cmoe?name=yourname®=token
http://yourdomain/cmoe?name=yourname(&theme=mb/mbh/gb/gbh/r34/nix/mbs)
That's all.
- Moe-counter
- moebooru
- rule34.xxx NSFW
- gelbooru.com NSFW
- Icons8