Skip to content

:octocat: Tracking my GitHub following and un-following with notifications on Telegram (why not lol)

License

Notifications You must be signed in to change notification settings

plibither8/gh-followers-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

:octocat: GitHub Followers Tracker

Tracking my GitHub following and un-following with notification on Telegram

Note: This is no longer being run via GitHub Actions, its run on a separate DO instance.

Checks every two hours (GitHub Actions, cron-based workflow) and notifies me on my Telgram bot.

Yeah I know this seems a bit creepy but oh well ¯\_(ツ)_/¯.

Usage

Create a Gist, note it's ID. This is where we will store the (old) followers list.

  • Clone this repo.
  • Set GIST_ID and GH_TOKEN environment variables (GitHub Personal Access Token should have gists scope).
  • Install npm dependencies: npm install
  • Make changes to the notify() function
  • Run the script: node index

The notify() function is tailor-made for my use-case only and will surely not come into general-purpose use (it's basically a wrapper I built for accessing all my Telegram bots quickly: tg-bots).

For you to make use of it, make edits to the notify() function how so ever you want to be notified. If it's via Telegram, check their bots API out, (or this).

License

MIT

About

:octocat: Tracking my GitHub following and un-following with notifications on Telegram (why not lol)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published