#habitica #report #tasks #api-key #inbox #performance

app habitica_weekly_report

Get reports of your performance on Habitica, straight to your inbox!

1 unstable release

0.1.0 Aug 18, 2021

#306 in Email

MIT license

10KB
107 lines

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 (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 page)

# config.toml

user_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
api_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
email = "somebody@example.com"
email_password = "password"

Dependencies

~20–31MB
~576K SLoC