A Discord bot that fullfills your thirst for github statistics.
- Issue Statistics: Statistics about open and closed issues.
- Pull Request Statistics: Statistics about open and closed pull requests.
WIP
- Various Discord commands: Show graphes and more detailed statistics
- Rust stable or nightly
-
Clone the repository:
git clone https://github.com/Ninjdai1/xatu.git cd xatu
-
Build:
cargo build --release
-
Set up environment variables: Create a
.env
file in the root directory of the project and add the following variables:DISCORD_TOKEN="your_discord_bot_token" # Self-explanatory GITHUB_TOKEN="your_github_token" # A Github Personal Acce ss Token (PAT), to make authenticated requests to the Github API (thus increasing rate limits) GIST_ID="gist_id" # Optional, requires a PAT with the gists permission
-
Start the bot:
./target/release/xatu
This project is licensed under the GPLv3 License. See LICENSE.
For any questions or support, please open an issue or contact me on Discord (@ninjdai).
Uses the following Rust crates:
- chrono
- octocrab
- serenity
- tokio
- tokio-cron-scheduler
- rusqlite
- secrecy
- dotenvy
Made with ❤️ by Ninjdai