Skip to content

使用Rust实现的,多种风格可选的萌萌计数器

License

Notifications You must be signed in to change notification settings

Yurzi/moe-counter-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

使用Rust实现的,多种风格可选的萌萌计数器

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages