Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khemssharma/community-bots
Automation Scripts
https://github.com/khemssharma/community-bots
api-automation bot follower-tracker node-js
Last synced: 24 days ago
JSON representation
Automation Scripts
- Host: GitHub
- URL: https://github.com/khemssharma/community-bots
- Owner: khemssharma
- Created: 2024-11-20T13:19:58.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-05T19:42:40.000Z (29 days ago)
- Last Synced: 2024-12-10T07:08:31.200Z (24 days ago)
- Topics: api-automation, bot, follower-tracker, node-js
- Language: JavaScript
- Homepage:
- Size: 109 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Community Bot
## Overview
Welcome! This repository is a collection of Automatation Scripts. More run-on-cloud Automation Scripts are coming soon π## Key Features
### Automatic Follow Back:
You can follow-back all the users automatically just by running the script followback-all.js π
### Automatic Unfollow Non-reciprocal Accounts:
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.
### Automatically Follow All the users from the Following List of another user :
Some of the users in a following list of other users might be real gems ππ€### Scheduled Runs:
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βs Rate Limits:
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.## How to Use ##
### Clone the repository:
```
git clone https://github.com/khemssharma/Community-bot.git
cd community-bot
```### Create a .env file with your GitHub username and token:
```
GITHUB_USERNAME = your_github_username
GITHUB_TOKEN = your_github_token
TARGET_USERNAME = targeted_username_for_followbyUser
```### Install the necessary packages (axios and dotenv):
```
npm install axios dotenv
```### Run the bot to follow/unfollow users:
```
node followback-all.js
node unfollow.js
node followbyUser.js
```### Running Automatically (via GitHub Actions)
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.## License
This repository is licensed under the MIT License. See LICENSE for more details.