Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
/ gofork Public archive

Gofork is a CLI tool to find forks that are ahead of a github repository.

License

Notifications You must be signed in to change notification settings

Syycorax/gofork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

As github is now allows the sorting of forks, I'm now archiving this repo.

Gofork

Presentation

Gofork is a CLI tool to find forks that are ahead of a github repository.

Usage

$ gofork --help
usage: gofork [-h|--help] -r|--repo "<value>" [-b|--branch "<value>"]
              [-v|--verbose] [-p|--page <integer>] [-s|--sort "<value>"]
              [-d|--deleteconfig]

              CLI tool to find active forks

Arguments:

  -h  --help          Print help information
  -r  --repo          Repository to check
  -b  --branch        Branch to check. Default: repo default branch
  -v  --verbose       Show deleted and up to date repositories
  -p  --page          Page to check (use -1 for all). Default: 1
  -s  --sort          Sort by (stars, ahead, lastUpdated). Default: ahead
  -d  --deleteconfig  Delete the config file

Roadmap

  • Print the results in table
  • Add support for branches (with the default being the repo default branch)
  • Use terminal colors
  • Verbose flag for private/even forks
  • Loading bar
  • Flag to sort output
  • Add branches to output
  • Flag to uninstall gofork
  • Fix the sorting algorithm

Built with

Built with love using Golang, Github API and akamensky's argparse, gookit's color, jedib0t's go-pretty, schollz's progressbar libraries.

License

License: GPL v3

About

Gofork is a CLI tool to find forks that are ahead of a github repository.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages