Welcome! This repository is a collection of Automatation Scripts. More run-on-cloud Automation Scripts are coming soon 😊
You can follow-back all the users automatically just by running the script followback-all.js 😊
You can unfollow all the users automatically who don't follow you back just by running the script unfollow.js 😁
If they unfollow you; you be like: It's sad to see you go 🥹 I won't Spam you either.
Some of the users in a following list of other users might be real gems 💎🤗
If you're so concerned about others unfollowing you; You can set a sheduled run like this:
Actions > Automate Unfollow Non-Reciprocal Accounts > Run workflow
The job is currently set to occur every 8 Hours, but you can change it in unfollow.yml.
GitHub API has a limit of 5000 API Calls per Hour.
After this limit, a Call will simply return an error.
After crossing a Secondary Limit you will only be able to follow others after a few hours.
git clone https://github.com/khemssharma/Community-bot.git
cd community-bot
GITHUB_USERNAME = your_github_username
GITHUB_TOKEN = your_github_token
TARGET_USERNAME = targeted_username_for_followbyUser
npm install axios dotenv
node followback-all.js
node unfollow.js
node followbyUser.js
Set up your GitHub Secrets for USERNAME, TOKEN and TARGET_USERNAME.
in Settings > Secrets & Variable > Actions
Note: You can generate your github token in your account's settings > developers
Run/Enable workflows in Actions (on navigation bar)
.github/workflows/unfollow.yml will run automatically at scheduled times when enabled.
This repository is licensed under the MIT License. See LICENSE for more details.