Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhisheknaiidu/todoist-readme
π§ Updates README with Todoist Stats of a user
https://github.com/abhisheknaiidu/todoist-readme
github-actions github-readme time-tracker todoist todoist-api todoist-tasks
Last synced: 4 days ago
JSON representation
π§ Updates README with Todoist Stats of a user
- Host: GitHub
- URL: https://github.com/abhisheknaiidu/todoist-readme
- Owner: abhisheknaiidu
- License: cc0-1.0
- Created: 2020-08-07T10:17:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T14:58:26.000Z (over 1 year ago)
- Last Synced: 2024-11-24T17:09:18.243Z (2 months ago)
- Topics: github-actions, github-readme, time-tracker, todoist, todoist-api, todoist-tasks
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/todoist-readme
- Size: 246 KB
- Stars: 152
- Watchers: 4
- Forks: 55
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-profile - Todoist Stats in Readme - Daily Todoist Stats on your Profile Readme (Tools)
- fucking-awesome-github-profile-readme - Todoist Stats in Readme - Daily Todoist Stats on your Profile Readme (Tools)
- awesome-github-profile-readme - Todoist Stats in Readme - Daily Todoist Stats on your Profile Readme (Tools)
- awesome-ubc-profile-readme - Todoist Stats in Readme - Daily Todoist Stats on your Profile Readme (Tools)
- awesome-github-profile - Todoist Readme
- jimsghstars - abhisheknaiidu/todoist-readme - π§ Updates README with Todoist Stats of a user (JavaScript)
README
π§ Todoist Stats
β‘οΈπ Update your Todoist Stats β
---
## Setup
### Prep work
1. You'll need a Todoist API Token. You can get that from [here](https://beta.todoist.com/prefs/integrations)
- if you're new to Todoist, then you can refer [here](#new-to-todoist).
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 = `
3. You need to update the README file(README.md) with 2 comments. You can refer [here](#update-your-readme) for updating it.## Update your README
Add a comment to your `README.md` like this:
```markdown
# Todoist Stats```
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 from [here](https://todoist.com/users/showregister)
- Get your Todoist API Key from your [here](https://beta.todoist.com/prefs/integrations)### Repository Workflow For Non-Premium Users
Please follow the steps below:
1. Go to your `//actions`, hit `New 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:```yml
name: Todoist Readmeon:
workflow_dispatch:
schedule:
# Runs every minute
- cron: "* * * * *"jobs:
update-readme:
name: Update todoist stats
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: abhisheknaiidu/todoist-readme@master
with:
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
PREMIUM: ""
```3. Go to your repo secrets by hitting `Settings => Secrets` tab in your profile repo. You can also enter the url https://github.com/USERNAME/USERNAME/settings/secrets . Please replace the `USERNAME` with your own username.
4. Create a new `Secret`. `Name`: `TODOIST_API_KEY`, `Value`: Paste the Todoist API Token here. If you don't know what is the token, please go to [here](https://beta.todoist.com/prefs/integrations) to find your API Key there.
5. Add a comment to your `README.md` like this:```markdown
# Todoist Stats```
6. Go to Workflows menu (mentioned in step 1), click `Todoist Readme`, and click `Run workflow`.
7. 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 `//actions`, hit `New 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:```yml
name: Todoist Readmeon:
workflow_dispatch:
schedule:
# Runs every minute
- cron: "* * * * *"jobs:
update-readme:
name: Update todoist stats
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: abhisheknaiidu/todoist-readme@master
with:
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
PREMIUM: true
```3. Remaining Steps will be same as Non-Premium Users.
## License
[![CC0](https://licensebuttons.net/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/)
To the extent possible under law, [Abhishek Naidu](https://abhisheknaidu.tech/) has waived all copyright and related or neighboring rights to this work.
_Inspired by [yg/todoist-box](https://github.com/yg/todoist-box)_
_Inspired by [gautamkrishnar/blog-post-workflow](https://github.com/gautamkrishnar/blog-post-workflow)_