mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2024-11-14 17:57:36 +01:00
Moe-counter的C版本
assets | ||
.gitignore | ||
CMakeLists.txt | ||
cmoe.c | ||
cmoe.h | ||
LICENSE | ||
README.md |
Moe-counter
多种风格可选的萌萌计数器
Demo
Usage
Install simple-http-server
Follow the instructions in this repo to install it.
Install CMoe
git clone https://github.com/fumiama/CMoe-Counter.git
cd CMoe-Counter
mkdir build
cd build
cmake ..
make
make install
Copy files
- Copy
favicon.ico
,index.html
,style.css
and the compiled binarycmoe
into the same folder. - Run
simple-http-server
by the command
simple-http-server -d port folder
Enjoy it!
API
The API of CMoe is simpler than Moe-counter
Register
token
is defined in cmoe.h
http://yourdomain/cmoe?name=yourname®=token
Refer
http://yourdomain/cmoe?name=yourname(&theme=mb/mbh/gb/gbh/r34)
That's all.
Credits
- Moe-counter
- moebooru
- rule34.xxx NSFW
- gelbooru.com NSFW
- Icons8