habitica_weekly_report

Crates.iohabitica_weekly_report
lib.rshabitica_weekly_report
version0.1.0
sourcesrc
created_at2021-08-18 16:41:18.468316
updated_at2021-08-18 16:41:18.468316
description Get reports of your performance on Habitica, straight to your inbox!
homepage
repositoryhttps://github.com/esposm03/habitica_weekly_report
max_upload_size
id439098
size28,770
Samuele Esposito (esposm03)

documentation

README

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"
Commit count: 0

cargo fmt