An automation to enable habit tracking in todoist.
You add habits you want to form as task on todoist with schedule
[day 0] to the task
When you complete the task, the [day 0] will become [day 1]
If you fail to complete the task and it becomes overdue, the script will schedule it to today and reset [day X] to [day 0].
Fork and clone the repo
git clone https://github.com/yourgithubusername/habitist
Create a heroku app.
heroku create appname
Set environment variable with your todost API key. You'll find API key under
Settings > Integrations on todoist.com.
heroku config:set TODOIST_APIKEY='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Push the app
git push heroku master
Make a web request
This project is licensed under the MIT License - see the LICENSE file for details