todoist-box
Update a pinned gist to contain your Todoist productivity stats
todoist-box
⚡️📌 Update a pinned gist to contain your Todoist stats
📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists
Setup
Prep work
Create a new public GitHub Gist (https://gist.github.com/)
Create a token with the
gistscope and copy it. (https://github.com/settings/tokens/new)Create a Todoist account (https://todoist.com/users/showregister)
In your Todoist account settings, copy your existing API Token (https://app.todoist.com/app/settings/integrations/developer)
Register a new Todoist app in the App Management Console to obtain a Client ID and Client Secret. These are required because the Todoist API v1 uses OAuth authentication. The app will automatically migrate your personal token on each run.
Project setup
- Generate a repo from this template by clicking here
- Fill in the details and click
Create repository from template - Go to the repo Settings > Secrets
- Add the following environment variables:
- GH_TOKEN: The GitHub token generated above.
- GIST_ID: The ID portion from your gist url:
https://gist.github.com/username/a582ad10a45dc17815feea6018223880. - TODOIST_CLIENT_ID: The Client ID from your registered Todoist app.
- TODOIST_CLIENT_SECRET: The Client Secret from your registered Todoist app.
- TODOIST_API_KEY (recommended): Personal API token from Todoist settings. The action migrates it to an OAuth access token each run.
- TODOIST_AUTH_CODE (optional alternative): OAuth authorization code if you prefer OAuth code exchange instead of using
TODOIST_API_KEY.