/org-todoist

Sync TODOs between emacs org-mode files and Todoist

Primary LanguageRubyMIT LicenseMIT

org-todoist

Sync TODOs between a emacs org-mode file and Todoist.

Todoist limit some APIs for only premium user, So you should have premium account.

How it works

org-todoist sync your org-mode file and Todoist tasks by following steps.

  1. Pull all Todoist tasks
  2. Parse the org-mode file
  3. Update Todoist tasks by org-mode tasks
  • Find a org-mode task by ID (in the PROPERTIES section)
  • Update the Todoist task by the org-mode task
  1. Push changed tasks to Todoist
  2. Export org-mode file

Install gems

  1. Install Ruby 2.0 or later
  2. gem install bundler
  3. Checkout this repository
  4. bundle install

Configuration

  1. Find your API token from your account page.
  2. Write a configration file
  • cp sample.env .env
  • Edit .env file

Backup

Please backup your org-mode files and Todoist project before sync.

Run

ruby ./sync.rb sample.org updated_sample.org