Skip to content
Cleans up old and inactive forks on your github account.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/fork-cleaner
.gitignore chore: publish snaps Oct 20, 2018
.travis.yml
Gopkg.lock
Gopkg.toml
LICENSE.md
Makefile
README.md
fork-cleaner.go
goreleaser.yml
snap.login.enc

README.md

fork-cleaner

Release Software License Travis Go Report Card Godoc SayThanks.io 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 repos that:

  • are forks;
  • have no forks;
  • have no stars;
  • have no open pull requests to upstream;
  • had no activity in the last 1 month (customizable via --since);
  • are not private (customizable via --include-private,);
  • are not blacklisted (customizable via --blacklist).

fork-cleaner will list them and ask if you want to remove them! Simple as that.

Install

On macOS:

brew install fork-cleaner

On Linux:

snap install fork-cleaner

Or download one of the archives from the releases page.

You can’t perform that action at this time.