GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - S33G/github-fork-manager: TUI for listing your GitHub forks, multi-selecting, and safely bulk-deleting with confirmation and logging

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmd/github-fork-manager
cmd/github-fork-manager
 
 
internal
internal
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
PLAN.md
PLAN.md
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 

Repository files navigation

GitHub Fork Manager · TUI cleanup for your forks (and repos)

Release Build License Go Version

Terminal-native, fast, and deliberate. Multi-select, confirm, delete — with logs and hyperlinks you can Ctrl/Cmd-click.


⚠️ Danger zone: This tool deletes repositories you select. Double-check selections and scopes on your GITHUB_TOKEN.


Features at a glance

  • 🔍 Fuzzy-ish filter by name/owner/language with live narrowing.
  • ✅ Multi-select with space/a; batch delete with inline progress + logging to ~/.github-fork-manager/actions.log.
  • 🔗 Clickable repo names (hyperlinks) to open in your terminal.
  • 🌐 GitHub.com or custom API base (GHE).
  • 🔄 --non-forks mode to manage your owned repos too.

Install quickly

curl -fsSL https://raw.githubusercontent.com/S33G/github-fork-manager/main/scripts/install.sh | bash
# optional: VERSION=v0.1.0 INSTALL_DIR=/usr/local/bin bash install.sh

Manual:

chmod +x github-fork-manager-linux-amd64
mv github-fork-manager-linux-amd64 ~/.local/bin/github-fork-manager

Configure once

  • Export GITHUB_TOKEN (classic/PAT with delete_repo + repo).
  • Optional config file ~/.github-fork-manager/config.json:
    { "token": "ghp_xxx", "api_base": "https://api.github.com", "log_path": "~/.github-fork-manager/actions.log" }
  • Helper: ./scripts/setup-config.sh prompts and writes the file.

Run

github-fork-manager          # forks view
github-fork-manager --non-forks  # manage owned repos

From source:

go run ./cmd/github-fork-manager
# or
make build && ./github-fork-manager

Keys you’ll use

  • j/k or arrows: move
  • space: toggle selection
  • a: select/deselect all visible
  • /: filter (Enter apply, Esc clear)
  • d: delete selected (requires typing <username> approves)
  • r: refresh · q/Ctrl+C: quit · ?: help blurb

Safety + logging

  • Confirmation gate: type <github-username> approves before deletion runs.
  • Sequential deletes to stay gentle on rate limits; inline errors per repo.
  • Actions logged to ~/.github-fork-manager/actions.log.

Release pipeline

  • Tag v* → GitHub Actions builds Linux/macOS/Windows binaries + checksums.
  • Assets: github-fork-manager-{os}-{arch}, checksums.txt.

Dev

  • Go 1.22+; make build, make test, make build-all, make release VERSION=vX.Y.Z.
  • Core code: cmd/github-fork-manager, internal/gh, internal/config.

About

TUI for listing your GitHub forks, multi-selecting, and safely bulk-deleting with confirmation and logging

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.