The GitHub Repo Visibility Updater is a web application built with Flask that allows users to change the visibility of all their GitHub repositories to either public or private based on their choice. The app provides a user-friendly interface to manage repository visibility and skips public forks when changing repositories to private.
To get a local copy up and running, follow these simple steps.
- Python 3.x
- GitHub Personal Access Token with
repoandadmin:repo_hookscopes
- Clone the repository:
git clone https://github.com/yourusername/github-repo-visibility-updater.git - Navigate to the project directory:
cd github-repo-visibility-updater
- Set up a virtual environment:
python -m venv venv
source venv/bin/activate
venv\Scripts\activate 4. Install the required Python packages:
pip install Flask PyGithub
-
Usage Replace 'your_token_here' in app.py with your actual GitHub Personal Access Token.
-
Run the Flask app:
python app.py
Open your web browser and navigate to http://127.0.0.1:5000/.