Crates.io | habitica_weekly_report |
lib.rs | habitica_weekly_report |
version | 0.1.0 |
source | src |
created_at | 2021-08-18 16:41:18.468316 |
updated_at | 2021-08-18 16:41:18.468316 |
description | Get reports of your performance on Habitica, straight to your inbox! |
homepage | |
repository | https://github.com/esposm03/habitica_weekly_report |
max_upload_size | |
id | 439098 |
size | 28,770 |
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)
# config.toml
user_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
api_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
email = "somebody@example.com"
email_password = "password"