SafarSoFar / ghfetch

A neofetch-like utility to fetch GitHub info right in terminals.
12 stars 2 forks source link

ghfetch

ghfetch - is an utility to fetch information from GitHub profiles right in terminals.

Example

'Example screenshot'

Build

Build with cargo

cargo build

The executable will be stored in target/debug

Usage

./ghfetch [GITHUB_LOGIN] [GITHUB_TOKEN]
  1. Provide GitHub login as a first argument for user info.
  2. Provide GitHub token as a second argument for repo, activity info. Using GitHub token with only 'read:user, user:follow' is strongly adviced.
  3. You can save login and token in the config file when using the utility. You will be asked 'Save arguments to the config file?'. Type 'y' to confirm or any other key to deny.

Notes

The config file is stored in the utility directory. And I do not collect any data from it.

Requirements

For full information fetch you need to provide GitHub token, that is how GitHub API works.

Known issues

Rust's 'Termion' crate gives 'Terminal Cursor Time Out' exception when using squeezed Kitty terminal emulator window.