Skip to content

🔧Automated GitHub unfollow script to manage your following list!

License

Notifications You must be signed in to change notification settings

mahmudnibir/CleanUpFollowing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Unfollow Script

GitHub Repo stars GitHub forks GitHub contributors GitHub issues GitHub last commit GitHub license GitHub Pull Requests GitHub Code Size Platform


Note

This project is intended for learning and experimentation. Please use it responsibly and ethically.


📚 Table of Contents

Overview

project image

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.

Features

  • 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

Prerequisites

  • Python 3.x
  • requests library

Install Python Dependencies

You can install the required requests library using pip:

pip install requests

Configuration

Before running the script, you'll need to configure it with your GitHub account information.

Generate a GitHub Personal Access Token:

Go to GitHub Personal Access Token Documentation to generate a token.

Update the script:

Replace GITHUB_ACCESS_TOKEN with your generated GitHub token.

Replace GITHUB_USERNAME with your GitHub username in the script.

Running the Script

Clone the repository:

git clone https://github.com/mahmudnibir/CleanUpFollowing.git
cd CleanUpFollowing

Run the script:

python script.py

This will start unfollowing the last 200 users you are following on GitHub.

License

📝 This project is licensed under the MIT License. See the LICENSE file for details.


Contact

Developed by Nibir Mahmud

📧 Email: nibirbbkr@gmail.com
🐦 Github: @mahmudnibir


Support

Note

If you find this project helpful, please consider giving it a star ⭐ on GitHub! It helps others discover the project.


About

🔧Automated GitHub unfollow script to manage your following list!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages