/gitfetch

A tool to fetch repository and user info

Primary LanguageGoMIT LicenseMIT

gitfetch

Gitfetch is a command-line utility which fetches information about users and repositories from different hosts.

Github User



Github Repo



Gitlab Repo



Usage

Only go is needed compile. There is no other dependencies.

Install:

go install github.com/SynAcktraa/gitfetch@master

Build:

go build .

Help:

gitfetch help

Run:

gitfetch golang/go

If host is not specified, it defaults to github.


Host 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>
Gitea gt/<author>/<repo> gitea/<author>/<repo> gitea.com/<author>/<repo>

Checklist

  • Github Support
  • Fetches Gitlab repository info but still doesn't support user info
  • Gitea Support
  • Authentication support
  • Display repo stats according to language color (Github only)
  • Display user profile picture in terminal
  • Add rest of the language color code


A tool inspired from iddev5/scafetch


License

Copyright for portions of project gitfetch are held by [Github Account SynAcktraa Owner, 2022] as part of project gitfetch

All other copyright for project gitfetch are held by [Github Account SynAcktraa Owner, 2022].

Check the LICENSE for more details.