Skip to content

A CLI that will connect to your Todoist account and return a random project.

Notifications You must be signed in to change notification settings

lhansford/todoist-random-project

Repository files navigation

todoist-random-project

This is CLI that will connect to your Todoist account and return a random project.

Installation & Setup

  1. Install the script
npm i -g todoist-random-project
  1. Add an environmental variable TRP_API_TOKEN with the value set as your Todoist API Token. You can find your token from the Todoist Web app at Todoist Settings -> Integrations -> API token.
  export TRP_API_TOKEN=abc123thisismyapittoken
  1. Optional. Add an environment variable TRP_IGNORED_PROJECTS. The value can be a comma separated list of project IDs to be ignored by the script (IDs can be found in the URL of the project).
  export TRP_IGNORED_PROJECTS=123,456,987

Usage

  todoist-random-project

  > Get fit 💪 (https://todoist.com/showProject?id=2268367228)

Contributing

To contribute to the project, branch off of the development branch and once your changes are complete create a pull request to merge back into the development branch.

Releasing

Releases are automated using Github Actions. To trigger a release, update the package version in develop and then merge develop into the main branch.

About

A CLI that will connect to your Todoist account and return a random project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published