Simple CLI to sync a project's Todoist tasks to a Git repository.
- Get a Todoist API token from the integration settings.
- Open Todoist, navigate to the desired project, and determine the project ID from the browser adress bar:
https://todoist.com/app/project/<PROJECT_ID>
- Prepare a
config.yaml
like this:gitRepositoryUrl: [email protected]:doe/example.git gitName: John Doe gitEmail: [email protected] todoistToken: 1234556789abcdef0123456789abcdef01234567 todoistProjectId: 1234567890 exportPath: roadmap.md commitMessage: "Update roadmap"
- Install Python 3, pipx, and Pipenv.
- Run
pipenv install
- Run
pipenv run python -m todoist_git_sync
.