- Clone the project to your local environment:
git clone [email protected]:farid-ouachrar/github-bulk-follow.git
- You need to define environment variables in a .env file in the root folder:
GITHUB_PERSONAL_TOKEN
Creating a personal access token tutorial
Note: Make sure to enable user:follow
permission to allow script to run successfully.
Once you have maven installed on your environment, install the project dependencies via:
yarn
To add a custom list of usernames to run the script with, you can either modify or add a new file within the data folder with an array containing usernames.
- data
- example.json
- src
Once you have installed dependencies, this can be run from the terminal by running the following command:
yarn start follow <filename>
If you have any improvement suggestions please create a pull request and I'll review it.
This project is licensed under the MIT License