Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.56 KB

README.md

File metadata and controls

67 lines (40 loc) · 1.56 KB

Moe-Counter-Rs

使用 Rust 实现的,可跨平台的多种风格可选的萌萌计数器。使用 Sqlite 作为后端数据库,使用 HashMap 将计数缓存于内存。

More theme
asoul

asoul

moebooru

moebooru

rule34

Rule34

gelbooru

Gelbooru

e621

e621

Usage

Install

You can build this project and deploy the binary on you own server.

Configuration

After first run, the default config file will be created. See config file for details.

API & Query

Route

  • /demo: can get demo image with query.
  • /:key: count key and get image with query.
  • /status: check server status.

Query

  • theme: theme you gonnya use (default: moebooru), can set default theme in config
  • length: amount of number to show, will automatically expand if the number is larger than what was set (default: 0).
  • format: choose between svg and webp (default: svg).

Credits

License

MIT