Note
This project is intended for learning and experimentation. Please use it responsibly and ethically.
This Python script automates the process of unfollowing users on GitHub. It uses the GitHub API to interact with your account, fetch the last 200 users (or a specified limit) you are following, and unfollow them one by one. The script is designed to help you quickly manage your following list on GitHub.
- Automatically unfollows the last 200 users (or a specified limit) you're following on GitHub.
- Uses GitHub API for interaction with your account.
- Implements rate limiting with a 1-second delay between each unfollow request to avoid hitting GitHub's API rate limits.
- Easily customizable to change the number of users to unfollow or add extra features. -Logs unfollowed Users
- Python 3.x
requestslibrary
You can install the required requests library using pip:
pip install requestsBefore running the script, you'll need to configure it with your GitHub account information.
Go to GitHub Personal Access Token Documentation to generate a token.
Replace GITHUB_ACCESS_TOKEN with your generated GitHub token.
Replace GITHUB_USERNAME with your GitHub username in the script.
Clone the repository:
git clone https://github.com/mahmudnibir/CleanUpFollowing.git
cd CleanUpFollowingRun the script:
python script.pyThis will start unfollowing the last 200 users you are following on GitHub.
📝 This project is licensed under the MIT License. See the LICENSE file for details.
Developed by Nibir Mahmud
📧 Email: nibirbbkr@gmail.com
🐦 Github: @mahmudnibir
Note
If you find this project helpful, please consider giving it a star ⭐ on GitHub! It helps others discover the project.
