#repo #github-repository #github-token #ui #bulk-delete

app ghune

Bulk-delete Github repos from the terminal

3 releases (breaking)

0.4.0 Jan 4, 2026
0.3.0 Dec 31, 2025
0.2.0 Dec 30, 2025

#14 in #github-token

MIT license

3MB
1.5K SLoC

ghune

Cleaning up repos from the Github UI is tedious. Bulk-delete GitHub repos from the terminal instead!

ghune demo

Install

cargo install ghune

Setup

Create a GitHub token at https://github.com/settings/tokens/new with repo and delete_repo scopes. The tool prompts for it on first run and stores it in your OS keychain.

Usage

ghune            # interactive mode
ghune --dry-run  # test without deleting
ghune --logout   # clear stored token

Keybindings

Search mode:

  • C-j/k or arrows — navigate
  • Enter — stage repo for deletion
  • <Tab> — switch to staging mode
  • C-p — filter private only
  • C-f — filter forks only
  • C-s — cycle sort (updated/created/name/stars)
  • C-r — refresh
  • Type to fuzzy search

Staging mode:

  • C-j/k — navigate
  • Backspace — unstage repo
  • Enter — delete staged repos
  • <Tab> or Esc — back to search

License

MIT

Dependencies

~31–50MB
~700K SLoC