# habitica_weekly_report A small bot that, when run, fetches your Habitica tasks, prepares a report, and then emails it to the address of your choosing. ## Building from source To compile the project, you'll need a copy of Rust, which you can get with [`rustup`](https://rustup.rs) (Just follow the instructions in the website). Now that you have a working Rust installation (you could check that by running `cargo --version` in your terminal), you can just run `cargo install habitica_weekly_report` to get the latest version. ## Running `habitica_weekly_report` expects a configuration file named `config.toml` at the current working directory. It should have the following content (where `user_id` and `api_key` are provided by Habitica at their [Settings > API](https://habitica.com/user/settings/api) page) ```toml # config.toml user_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" api_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" email = "somebody@example.com" email_password = "password" ```