7 releases

0.3.3 Oct 6, 2022
0.3.2 Jan 4, 2022
0.3.0 Sep 30, 2020
0.2.1 Sep 11, 2020
0.1.0 Aug 17, 2020

#2820 in Command line utilities

26 downloads per month

MIT/Apache

27KB
668 lines

repofetch

Crates.io Crates.io CI

Fetch details about your remote repository

Screenshot

NOTE This screenshot is only an example, and does not accurately represent output. This screenshot lacks ASCII art, some new stats, and some changes to how some stats are formatted.

screenshot

Installation

Latest Release from Crates.io

cargo install repofetch

Latest Commit from this repo

cargo install --git https://github.com/spenserblack/repofetch.git

Configuration

The first time you execute repofetch, it will create a repofetch.yml file in your default config folder. You can edit this file to change repofetch's output.

You can find where repofetch.yml is saved by default by executing repofetch --help and viewing the help for the <config> option.

Config File Contents

  • emojis

    These configuration settings lets you control which emojis display for each stat

    Example

    created: 🎉
    
  • ascii

    This configuration setting lets you change the ASCII art that is displayed

  • labels

    This configuration setting lets you rename the labels used for certain stats

    Example

    good first issue: easy
    
  • GITHUB TOKEN

    If you run repofetch multiple times in a short span of time, you may max out the amount of queries you can make to GitHub's search API. This will result in some stats being ???. If you set the GITHUB TOKEN config option to a personal access token, repofetch can use this value to query GitHub's search API more often.

Dependencies

~32–48MB
~1M SLoC