Three automation bots for GitHub: generate commits, follow users, and unfollow users.
Use at your own risk! These tools interact with GitHub's API to automatically follow/unfollow users. Please be aware that:
- Automated following/unfollowing may violate GitHub's Terms of Service
- Excessive automation could result in account restrictions or suspension
- Always respect rate limits and use reasonable delays
- Consider the ethical implications of automated social interactions
bot/
├── github/ # Main GitHub bots folder
│ ├── commit/ # GitHub Commit Bot (Standalone)
│ │ ├── index.js # Commit bot application
│ │ ├── data.json # Commit data file
│ │ ├── package.json # Commit bot dependencies
│ │ └── README.md # Commit bot documentation
│ │
│ ├── follow/ # GitHub Auto-Follow Bot (Standalone)
│ │ ├── index.js # Follow bot application
│ │ ├── github.js # GitHub API with follow functionality
│ │ ├── config.js # Configuration management
│ │ ├── logger.js # Logging utilities
│ │ ├── progress.js # Progress tracking
│ │ ├── package.json # Follow bot dependencies
│ │ ├── config.json # Follow bot configuration
│ │ ├── run.sh # Follow bot runner (executable)
│ │ ├── .env.example # Environment template
│ │ ├── .gitignore # Git ignore rules
│ │ ├── logs/ # Follow bot logs directory
│ │ └── README.md # Follow bot documentation
│ │
│ └── unfollow/ # GitHub Auto-Unfollow Bot (Standalone)
│ ├── index.js # Unfollow bot application
│ ├── github.js # GitHub API with unfollow functionality
│ ├── config.js # Configuration management
│ ├── logger.js # Logging utilities
│ ├── progress.js # Progress tracking
│ ├── package.json # Unfollow bot dependencies
│ ├── config.json # Unfollow-specific configuration
│ ├── run.sh # Unfollow bot runner (executable)
│ ├── unfollow-run.sh # Alternative runner (executable)
│ ├── .env.example # Environment template
│ ├── .gitignore # Git ignore rules
│ ├── logs/ # Unfollow bot logs directory
│ ├── SUMMARY.md # Quick reference
│ └── README.md # Unfollow bot documentation
│
└── README.md # This file
cd github/commit
node index.js
git push- Setup:
cd github/follow # or github/unfollow
cp .env.example .env.user1
# Add your GitHub token to .env.user1- Run:
./run.sh user1 octocat followers- Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic)
- Click "Generate new token (classic)"
- Give it a name and select the
user:followscope - Copy the token to your
.env.user1file
- Purpose: Creates 10 commits with random past dates
- Usage:
cd github/commit && node index.js && git push - No token required
- Purpose: Follows users from a target account's followers/following
- Usage:
cd github/follow && ./run.sh user1 username followers - Requires GitHub token
- Purpose: Unfollows users from a target account's followers/following
- Usage:
cd github/unfollow && ./run.sh user1 username followers - Requires GitHub token
- Each bot is independent with its own dependencies
- Follow/unfollow bots support multiple users (user1-user4)
- Progress is automatically saved and can be resumed
- Use at your own risk - may violate GitHub ToS