Send unwanted repos to hell ππ₯
Repo Reaper is a CLI tool designed to simplify the process of deleting multiple GitHub repositories. With an intuitive interface and interactive prompts, you can quickly and securely manage your repositories.
- Easy to Use: Simple CLI interface for quick repository deletion.
- Secure: Uses GitHub App authentication for fine-grained permissions.
- Interactive: Provides real-time feedback with emojis for success and failure.
-
Clone the repository:
git clone https://github.com/marpit19/RepoReaper.git cd RepoReaper
-
Install dependencies:
go get github.com/google/go-github/v62/github go get github.com/urfave/cli/v2 go get github.com/dgrijalva/jwt-go
-
Create a configuration folder (
Config
) and file (config.json
):{ "app_id": "YOUR_APP_ID", "installation_id": "YOUR_INSTALLATION_ID", "private_key_path": "path/to/your/private-key.pem" }
or
{ "github_token": "YOUR_GITHUB_TOKEN", "github_username": "YOUR_USERNAME" }
Replace the placeholder values with your actual GitHub App ID, installation ID, and the path to your private key file.
-
Add the
config.json
file to.gitignore
:echo "config.json" >> .gitignore
-
Build and run the CLI:
go run cmd/main.go