mokuroku

所属分类:自然语言处理
开发工具:Rust
文件大小:107KB
下载次数:0
上传日期:2022-07-31 13:03:43
上 传 者sh-1993
说明:  一款无忧、高性能、自我托管的Discord动漫观察列表机器人
(A hassle-free, highly performant, host-it-yourself Discord anime watch-list bot)

文件列表:
.dockerignore (165, 2022-04-26)
.env.example (295, 2022-04-26)
Cargo.lock (75270, 2022-04-26)
Cargo.toml (809, 2022-04-26)
Dockerfile (594, 2022-04-26)
LICENSE (35148, 2022-04-26)
docs (0, 2022-04-26)
docs\logo.png (34686, 2022-04-26)
graphql (0, 2022-04-26)
graphql\anilist (0, 2022-04-26)
graphql\anilist\media (0, 2022-04-26)
graphql\anilist\media\find_media.graphql (494, 2022-04-26)
graphql\anilist\media\lookup_media_page.graphql (741, 2022-04-26)
graphql\anilist\schema.graphql (143013, 2022-04-26)
src (0, 2022-04-26)
src\commands (0, 2022-04-26)
src\commands\anime (0, 2022-04-26)
src\commands\anime\lookup.rs (5606, 2022-04-26)
src\commands\anime\mod.rs (16, 2022-04-26)
src\commands\help.rs (755, 2022-04-26)
src\commands\mod.rs (29, 2022-04-26)
src\db (0, 2022-04-26)
src\db\mod.rs (19, 2022-04-26)
src\db\watchlist.rs (7459, 2022-04-26)
src\embeds.rs (929, 2022-04-26)
src\extentions.rs (4019, 2022-04-26)
src\graphql.rs (6089, 2022-04-26)
src\main.rs (4694, 2022-04-26)
src\paginator.rs (4815, 2022-04-26)
src\strings.rs (430, 2022-04-26)
src\tests (0, 2022-04-26)
... ...

Mokuroku

A hassle-free, highly performant, host-it-yourself Discord anime watch-list bot

## Deployment ### Usage Make a copy of `.env.example` and name it `.env`. Then [create a bot account](https://discord.com/developers/applications), and copy its **token** to `.env` with the `DISCORD_TOKEN` environment. You also need to enter your [MongoDB](https://mongodb.com/) cluster info into the `.env` file. ### Docker ```shell docker run -d --env-file .env ghcr.io/Shorakie/mokuroku:latest ``` ## Development Make sure you've installed Rust. You can install Rust and its package manager, `cargo` by following the instructions on https://rustup.rs/. Simply run `cargo run`. ## Testing Tests are available inside the `src/tests` folder. They can be ran via `cargo test`. It's recommended that you run the tests before submitting your Pull Request. Increasing the test coverage is also welcome. ### Docker Within the project folder, simply run the following: ```shell docker build -t mokuroku . docker run -d --env-file .env mokuroku ```

近期下载者

相关文件


收藏者