Through this script you can automate github follow
## Features
- Extract.py: Extracts the usernames of GitHub users following a specific user and saves them to a file.
- Follow.py: Follows the users whose usernames are saved in the file generated by
extract.py
. - unfollow: soon to be added in the future.
- Python 3
- requests
-
Extract.py: Run this script first to extract the usernames of GitHub users. You will be prompted to enter your personal access token and the username of the user from whom you want to extract followers. The extracted usernames will be saved to a file named
users.txt
.python extract.py
-
Follow.py: After running
extract.py
, you can use this script to follow the extracted users. You will again be prompted to enter your personal access token. The script will read the list of usernames fromusers.txt
and follow each user using the GitHub API.python follow.py
- Obtain a personal access token from GitHub with appropriate permissions.
see [DOC](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) to create personal access token
- Ensure that you have a valid GitHub account.
- Keep your personal access token secure and avoid sharing it.
and do not forget give access to your personal token to follow . like this
## Contributors
Feel free to contribute, report issues, or suggest improvements by creating a pull request or opening an issue on GitHub.