• Stars
    star
    131
  • Rank 266,860 (Top 6 %)
  • Language
    JavaScript
  • License
    Creative Commons ...
  • Created almost 4 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚧 Updates README with Todoist Stats of a user

🚧 Todoist Stats

βš‘οΈπŸ“Œ Update your Todoist Stats βœ…


Setup

Prep work

  1. You'll need a Todoist API Token. You can get that from here
    • if you're new to Todoist, then you can refer here.
  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 refer here for updating it.

Update your README

Add a comment to your README.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 from here
  • Get your Todoist API Key from your here

Repository Workflow For Non-Premium Users

Please follow the steps below:

  1. Go to your <username>/<username>/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:
name: Todoist Readme

on:
  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: ""
  1. 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.
  2. 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 to find your API Key there.
  3. Add a comment to your README.md like this:
# Todoist Stats

<!-- TODO-IST:START -->
<!-- TODO-IST:END -->
  1. Go to Workflows menu (mentioned in step 1), click Todoist Readme, and click Run 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, 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:
name: Todoist Readme

on:
  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
  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 by yg/todoist-box

Inspired by gautamkrishnar/blog-post-workflow

More Repositories

1

awesome-github-profile-readme

😎 A curated list of awesome GitHub Profile READMEs πŸ“
21,885
star
2

abhisheknaiidu

πŸ‘€
391
star
3

a-pop

🎢 HD Music Streaming and Sharing Web App
JavaScript
69
star
4

dsa

My Codes and Solutions to coding interview problems on LeetCode, AlgoExpert, Educative and other interview preparation websites
C++
65
star
5

shortski

Mac OS Keyboard substitution's for most useful thing's
51
star
6

hacktoberfest2020

Submit Just 4 PRs to earn SWAGS πŸ”₯
JavaScript
44
star
7

frontend-interview

Everything about Frontend Interviews 🎊
JavaScript
33
star
8

javascript30

30 Days JS Challenge
JavaScript
31
star
9

iiitdmj-gpa

GPA Calculator + Quiz Bot for IIITDM Jabalpur
Vue
21
star
10

abhisheknaidu-cli

The Abhishek Naidu CLI
JavaScript
15
star
11

quarantine-days

Check it out at https://quarantine-days.now.sh/
JavaScript
12
star
12

abhisheknaiidu.github.io

Simple and Interactive Portfolio
CSS
10
star
13

arm

Management for users, to upload,download and manage important documents of a particular discipline. We'll be maintaining our Database on CRUD Functionalities.
JavaScript
10
star
14

BONGS

App for some of the best Restuarants of Jabalpur,India. This App is being internationized in 2 languages i.e English and Arabic.
JavaScript
9
star
15

Amazon-Floatify

Python script, written so that when a desired product hits a lower price than a desired price, then we'll get a push notification! so that the deal cannot be missed.
Jupyter Notebook
9
star
16

niets

🌱
JavaScript
8
star
17

class-karona

JavaScript
8
star
18

nads

A curated list of my GitHub stars!!
8
star
19

Food_Classification

Food Image Recognition with Deep Convolutional features of Deep Learning
Jupyter Notebook
7
star
20

graphql-todo

A Simple CRUD To-Do Application built using GraphQL and Apollo Client!
JavaScript
7
star
21

github-circles

TypeScript
6
star
22

dotfiles

A collection of my dotfiles
Shell
5
star
23

spin-wheel

JavaScript
5
star
24

Dev-s-Blog

Developer's Blog, built in semantic ui to enhance UI and UX capability.It has CRUD functionalities.
HTML
4
star
25

image-creator

Vue
4
star
26

Mitra

Web App Built for Business-Hackathon
CSS
4
star
27

Zoomout

Online Store For Photographs
HTML
3
star
28

superfluid-integration-app

TypeScript
3
star
29

startup-frontend

🚧 WIP
JavaScript
2
star
30

startup-backend

WIP 🚧
TypeScript
1
star
31

open-sauced-goals

1
star