todoist-random-project
v2.0.1
Published
Connects to your Todoist account and returns a random project
Downloads
6
Readme
todoist-random-project
This is CLI that will connect to your Todoist account and return a random project.
Installation & Setup
- Install the script
npm i -g todoist-random-project
- 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 atTodoist Settings -> Integrations -> API token
.
export TRP_API_TOKEN=abc123thisismyapittoken
- 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.