Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rednafi/github-follow-bot
Bot that follows everyone who follows the target user(s)
https://github.com/rednafi/github-follow-bot
bot github python python3 selenium selenium-python selenium-webdriver
Last synced: 20 days ago
JSON representation
Bot that follows everyone who follows the target user(s)
- Host: GitHub
- URL: https://github.com/rednafi/github-follow-bot
- Owner: rednafi
- License: mit
- Created: 2020-07-18T08:47:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T09:34:03.000Z (over 4 years ago)
- Last Synced: 2024-12-28T10:50:33.423Z (about 1 month ago)
- Topics: bot, github, python, python3, selenium, selenium-python, selenium-webdriver
- Language: Python
- Homepage: https://rednafi.github.io/digressions/
- Size: 131 KB
- Stars: 19
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Follow Bot
## What Does it Do?
Follows Github users and also their followers from a user provided list of Github handles.
## Installation
* Clone the repo.
* Create a Python virtual environment.
* Install the dependencies:```
pip install -r requirements.txt
```* Download compatible [Chrome Driver](https://chromedriver.chromium.org/downloads) for your OS.
* Provide your Chrome Driver path, credentials and the target users' Github usernames:
```python
CHROME_DRIVER_PATH = "./chromedriver_linux64/chromedriver"# Put your github username and password here
YOUR_NAME = "yourname"
YOUR_PASS = "yourpass"# List of people's github usernames whose followers you want to follow
# This could be even yourself
TARGET_NAMES_LIST = ["rednafi", "gvanrossum"]
```* Run the bot and let it do its work:
```
python -m followbot.bot
```## Development & Contribution
* After cloning the repo, activate python environment and run:
```
pip install -r requirements-dev.txt && pip install -r requirements.txt
```* Make your proposed changes
* Before sending a PR, lint the code with:```
make pylinter
```* To upgrade the dependencies and sync your environment, run:
```
make pyupgrade
```## Disclaimer
I created this just to fiddle with some [selenium](https://selenium-python.readthedocs.io/). The code could be polished. Moreover, it's debatable whether you should use a bot to follow people or not. Also, there is a high chance that Github will flag you as a spam user and ban your public profile. Use at your own risk 🤷♂️