Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🚧 Updates README with Todoist Stats of a user

License

NotificationsYou must be signed in to change notification settings

abhisheknaiidu/todoist-readme

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚧 Todoist Stats

⚡️📌 Update your Todoist Stats ✅


Setup

Prep work

  1. You'll need a Todoist API Token. You can get that fromhere
    • if you're new to Todoist, then you can referhere.
  2. You need to save the Todoist API Token in the repository secrets. You can find that in the Settings of your Repository. Be sure to save those as the following.
    • TODOIST_API_KEY = <your todoist API token>
  3. You need to update the README file(README.md) with 2 comments. You can referhere for updating it.

Update your README

Add a comment to yourREADME.md like this:

#Todoist Stats<!-- TODO-IST:START--><!-- TODO-IST:END-->

These lines will be our entry-points for the todoist stats.

New to Todoist

Todoist gives you the confidence that everything’s organized and accounted for, so you can make progress on the things that are important to you.

  • Create a Todoist account fromhere
  • Get your Todoist API Key from yourhere

Repository Workflow For Non-Premium Users

Please follow the steps below:

  1. Go to your<username>/<username>/actions, hitNew workflow,set up a workflow yourself, delete all the default content github made for you.
  2. Copy the following code and paste it to your new workflow you created at step 1:
name:Todoist Readmeon:workflow_dispatch:schedule:# Runs every minute    -cron:"* * * * *"jobs:update-readme:name:Update todoist statsruns-on:ubuntu-lateststeps:      -uses:actions/checkout@v2      -uses:abhisheknaiidu/todoist-readme@masterwith:TODOIST_API_KEY:${{ secrets.TODOIST_API_KEY }}PREMIUM:""
  1. Go to your repo secrets by hittingSettings => Secrets tab in your profile repo. You can also enter the urlhttps://github.com/USERNAME/USERNAME/settings/secrets . Please replace theUSERNAME with your own username.
  2. Create a newSecret.Name:TODOIST_API_KEY,Value: Paste the Todoist API Token here. If you don't know what is the token, please go tohere to find your API Key there.
  3. Add a comment to yourREADME.md like this:
#Todoist Stats<!-- TODO-IST:START--><!-- TODO-IST:END-->
  1. Go to Workflows menu (mentioned in step 1), clickTodoist Readme, and clickRun workflow.
  2. Go to your profile page. you will be able to see it.

Repository Workflow For Premium Users

Please follow the steps below:

  1. Go to your<username>/<username>/actions, hitNew workflow,set up a workflow yourself, delete all the default content github made for you.
  2. Copy the following code and paste it to your new workflow you created at step 1:
name:Todoist Readmeon:workflow_dispatch:schedule:# Runs every minute    -cron:"* * * * *"jobs:update-readme:name:Update todoist statsruns-on:ubuntu-lateststeps:      -uses:actions/checkout@v2      -uses:abhisheknaiidu/todoist-readme@masterwith:TODOIST_API_KEY:${{ secrets.TODOIST_API_KEY }}PREMIUM:true
  1. Remaining Steps will be same as Non-Premium Users.

License

CC0

To the extent possible under law,Abhishek Naidu has waived all copyright and related or neighboring rights to this work.

Inspired byyg/todoist-box

Inspired bygautamkrishnar/blog-post-workflow


[8]ページ先頭

©2009-2025 Movatter.jp