Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
/ ghbot Public archive

🤖 Github Follow Bot in Python.

License

Notifications You must be signed in to change notification settings

Clivern/ghbot

Repository files navigation

PyPI-Server Build Status

Github Bot

Github Follow Bot in Python

To Use the bot, follow the following steps

  1. Create a Python virtual environment
$ python3 -m venv venv
$ source venv/bin/activate
  1. Install ghbot package with pip
$ pip install ghbot
  1. Create access token https://github.com/settings/tokens/new with required user permissions (read:user, user:email, user:follow)
  2. Run the bot with the access token and the number of followers.
$ python -m ghbot.cli follow $access-token-here --c 3000 -v &>out.log &
  1. Then wait or run as a background process.
  2. To unfollow users that didn't follow you.
$ python -m ghbot.cli clean $access-token-here -v