Skip to content

marpit19/RepoReaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Repo Reaper

Send unwanted repos to hell 😈πŸ”₯

Overview

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.

Features

  • 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.

Installation

  1. Clone the repository:

    git clone https://github.com/marpit19/RepoReaper.git
    cd RepoReaper
  2. 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
  3. 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.

  4. Add the config.json file to .gitignore:

    echo "config.json" >> .gitignore
  5. Build and run the CLI:

    go run cmd/main.go

About

sends unwanted repos to hell 😈πŸ”₯

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages