Project Awesome project awesome

todoist-box

Update a pinned gist to contain your Todoist productivity stats

Package 7 stars GitHub

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

  1. Create a new public GitHub Gist (https://gist.github.com/)

  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)

  3. Create a Todoist account (https://todoist.com/users/showregister)

  4. In your Todoist account settings, copy your existing API Token (https://app.todoist.com/app/settings/integrations/developer)

  5. 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.

    Creating a Todoist app

Project setup

  1. Generate a repo from this template by clicking here
  2. Fill in the details and click Create repository from template
  3. Go to the repo Settings > Secrets
  4. 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.

License

Originally created by: Yogi Maintained by: joshghent

Back to Pinned Gists