Skip to content

Nynir/trmnl-todoist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRMNL Todoist Plugin

Python License Issues Stars

Todoist Logo

Unofficial Todoist plugin for TRMNL.

Desk picture

Details

This plugin operates using Todoist filters, which may require Todoist pro. You can edit the query run by changing the user_filter_query variable in main.py.

Tasks are sorted in order of Priority, from highest to lowest.

Requirements

This code operates with the Todoist REST API and the TRMNL webhook API. You will have to run this code yourself in some capacity to push updated Todoist task queries to TRMNL at regular intervals.

Setup

  1. In TRMNL go to Plugins -> Private Plugin -> Add New. Give it a name, and select "Webhook" for the Strategy. Hit save.
  2. Collect the Plugin UUID as well as your TRMNL API key.
  3. Download the code and in the same folder as it, create a .env file, and populate like so:
TRMNL_API_KEY="<your api key>"
TODOIST_API="<your api key>"
TRMNL_PLUGIN_ID="<your plugin UUID>"
  1. Take the code in template.html.j2 and add it as the markup for your TRMNL plugin
  2. Run main.py and if it successfully posts to TRMNL you should be set. You can force a refresh in TRMNL to see if the data populates.

From there, you can schedule the code to run at regular intervals to post to TRMNL based on your desired frequency.

Disclaimer

This plugin is an unofficial project and is not affiliated with, endorsed by, or supported by Doist

Buy Me A Coffee