Skip to content

Simple Python/Flask app that displays Todoist tasks in a view designed for a Kindle Touch

Notifications You must be signed in to change notification settings

alvaroreig/productivity-dashboard

Repository files navigation

productivity-dashboard

Just a simple Python/Flask app that retrieves tasks (from Todoist) and events (from Google Calendar) and displays them in a simple view designed for a Kindle Touch.

Settings are configured in the .env file (check .env-sample) and in credentials.json (for Google Calendar integration).

The elements will show a [C] or a [T] prefix to indicate if the element is a task or a calendar event

Todoist settings

  • Enable the integration with TODOIST_ENABLED and TODOIST_API_KEY
  • Customize the filter (TODOIST_FILTER) used in the API call.
  • Remove links to avoid clutter with TODOIST_REMOVE_LINKS

Google Calendar settings

Configuration guide

  • Set up .env from .env.example
  • Set up a service account credential in Google Api Console with permissions to read Google Calendar. Download your credentials.json
  • Execute configure.sh to set up a venv and install dependencies
  • Start the app with start.sh

Group by date

The elements (events and/or taks) are grouped in for type of elements:

  • Overdue elements.
  • Elements due today.
  • Elements due tomorrow
  • The rest

You can customize (localize) the keywords applied to every category of elements:

  • APP_OVERDUE_LABEL=Retrasado
  • APP_TODAY_LABEL=Hoy
  • APP_TOMORROW_LABEL=Mañana

Other

  • Clicking on the header will refresh the view.

Tested Devices

I use this app in this setting:

  • Backend: Raspberry pi 4
  • Client: Jailbroken Kindle Touch + KUAL + Weblaunch.

Troubleshooting / Tips

  • In previous versions the page auto refreshed every X seconds. It no longers does so because it froze after some days and, anyway, I didn't want to leave the backend on 24x7. I refresh it manually clicking the header

TODO

  • Make the elements clickable so todoist tasks can be completed.
  • Prettier UI
  • Propper localization

About

Simple Python/Flask app that displays Todoist tasks in a view designed for a Kindle Touch

Resources

Stars

Watchers

Forks

Packages

No packages published