Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/plibither8/gh-followers-tracker
:octocat: Tracking my GitHub following and un-following with notifications on Telegram (why not lol)
https://github.com/plibither8/gh-followers-tracker
followers github-actions github-followers
Last synced: about 1 month ago
JSON representation
:octocat: Tracking my GitHub following and un-following with notifications on Telegram (why not lol)
- Host: GitHub
- URL: https://github.com/plibither8/gh-followers-tracker
- Owner: plibither8
- License: mit
- Created: 2020-04-21T14:53:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-04T09:44:44.000Z (about 2 years ago)
- Last Synced: 2024-05-02T02:43:24.051Z (8 months ago)
- Topics: followers, github-actions, github-followers
- Language: TypeScript
- Homepage:
- Size: 43.9 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :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](https://github.com/plibither8/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)](https://github.com/plibither8/tg-bots/blob/master/index.js#L27).
## License
[MIT](LICENSE)