A small bot that, when run, fetches your Habitica tasks, prepares a report, and then emails it to the address of your choosing.
To compile the project, you'll need a copy of Rust, which you can get with rustup
(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.
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 page)
```toml
userid = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" apikey = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" email = "somebody@example.com" email_password = "password" ```