Skip to content

Practical pinned gist which show your latest medium stat πŸ“Œ

License

Notifications You must be signed in to change notification settings

Nextdrive-CarlosLi/medium-stat-box

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

screenshot

πŸ“Œ Medium Stat Box

Show your medium stat 😁
Including followers count and the title and claps of your latest articles

This project is inspired by many projects collected in awesome-pinned-gists

You can see example in my github pinned projects

Overview

This project uses Medium RSS API to get personal profile data and uses cheerio to crawl more details such as follower count and claps of articles. The following details will be displayed in pinned gist:

  • Medium username and number of followers
  • Latest 3 articles and their claps count

warning: medium articles with no categories will be filtered

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)

Project setup

  1. Fork this repo

  2. Go to the repo Settings > Secrets

  3. Add the following environment variables:

  4. Pin your gist

  5. Wait for it to update (the github aciton cron job will run every 8 hours), or you can manually push the repo to trigger the action.

About

Practical pinned gist which show your latest medium stat πŸ“Œ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%