Skip to content

A command line tool to display information about remote repositories

License

Notifications You must be signed in to change notification settings

iddev5/scafetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scafetch

CI license zig

Scafetch is a command-line tool to display information about your remote Git repositories in an aesthetic and visually pleasing way.

It currently supports fetching repository information from Github, Gitlab and Codeberg (Gitea).

Installation

Releases

You can get the latest stable release from Github.

Arch Linux (AUR)

Install the community maintained scafetch package.

Usage

You only need Zig master to compile.

Use zig to build:

zig build -Doptimize=ReleaseSafe

(You can optionally install it in a system or user wide directory for easier access, use the -p <prefix> flag for convenience)

Then, run the application:

./zig-out/bin/scafetch ziglang/zig

where ziglang/zig is taken as an example repository address, and the host defaults to Github

It is also possible to explicitly state the host service name using -o <hostname> flag. See --help for more information.

Scafetch can additionally infer the host service from hints present in the given URL:

Host name 1 2 3
Github gh/<author>/<repo> github/<author>/<repo> github.com/<author>/<repo>
Gitlab gl/<author>/<repo> gitlab/<author>/<repo> gitlab.com/<author>/<repo>
Codeberg cb/<author>/<repo> codeberg/<author>/<repo> codeberg.org/<author>/<repo>

Todo

  • More CLI flags, like opt out of coloring, what info to display etc.
  • Authentication support
  • Show an ASCII art of the primary language(?) of the repository

License

scafetch is licensed under MIT License

About

A command line tool to display information about remote repositories

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published