FolloGit is a fast and aggressive CLI tool that synchronizes your followers and following list on GitHub.
Built for people who prefer automation over wasting time.
✔ Automatic follower synchronization
✔ Smart pagination support
✔ HTTP/2 optimized requests
✔ Connection pooling
✔ Retry system for network errors
✔ Rate-limit aware
✔ Fast execution
✔ Clean CLI output
✔ Token based authentication
Built using the GitHub REST API.
Clone the repository.
git clone https://github.com/yourname/follogit
cd follogitInstall dependencies.
pip install -r requirements.txt- Python 3.10+
- A valid GitHub Personal Access Token
Create environment variables.
export GITHUB_TOKEN=your_token_here
export GITHUB_USERNAME=your_username$env:GITHUB_TOKEN="your_token_here"
$env:GITHUB_USERNAME="your_username"Run the tool.
py main.pyExample output:
[*] Synchronizing followers...
[*] Fetching data from: https://api.github.com/users/username/following
[*] Fetching data from: https://api.github.com/users/username/followers
[+] You follow: 201
[+] They follow you: 208
[+] Followed: user1
[+] Followed: user2
[+] Followed: user3
[*] Sync completed in 4.31 seconds.
FolloGit performs three main steps.
GET /users/{username}/following
GET /users/{username}/followers
The tool calculates:
followers − following
Every user in that difference gets followed automatically.
PUT /user/following/{username}
Handles:
- pagination
- synchronization logic
- response parsing
Handles:
- HTTP clients
- retries
- rate-limit handling
- connection pooling
FolloGit uses:
- HTTP/2
- connection pooling
- keep-alive
- compressed responses
- aggressive timeouts
Example run:
Followers: 208
Following: 201
Sync actions: 7
Execution time: 4.31s
The GitHub API allows:
5000 requests per hour
FolloGit includes retry logic for:
- network failures
- temporary rate limits
- connection errors
Your token is never stored.
It is read only from:
GITHUB_TOKEN
environment variable.
This tool performs real follow actions on your account.
If you run it:
- you will follow people automatically
- the API will execute the action
Use responsibly.
Future improvements may include:
- unfollow automation
- follower pruning
- follow back filters
- CLI flags
- parallel follow engine
- token rotation
- rate-limit dashboard