hoesler / fork-cleaner

Quickly clean up unused forks on your github account.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fork-cleaner

Release Software License Travis Go Report Card Godoc Powered By: GoReleaser

Cleans up old and inactive forks on your GitHub account.

You'll need to create a personal access token with repo and delete_repo permissions.

Then, download the latest release and execute the binary as in:

./fork-cleaner --token "my github token"

Fork-Cleaner will show you all your forks, you can then check which you want to delete or not on a TUI:

Screen Recording

Install

homebrew:

brew install caarlos0/tap/fork-cleaner

snap:

snap install fork-cleaner

apt:

echo 'deb [trusted=yes] https://repo.caarlos0.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list
sudo apt update
sudo apt install fork-cleaner

yum:

echo '[caarlos0]
name=caarlos0
baseurl=https://repo.caarlos0.dev/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/caarlos0.repo
sudo yum install fork-cleaner

deb/rpm/apk:

Download the .apk, .deb or .rpm from the releases page and install with the appropriate commands.

manually:

Download the pre-compiled binaries from the releases page or clone the repo build from source.

Stargazers over time

Stargazers over time

About

Quickly clean up unused forks on your github account.

License:MIT License


Languages

Language:Go 95.4%Language:Makefile 4.6%