Skip to content

Yet another system fetch that is minimal and customizable

License

Notifications You must be signed in to change notification settings

deepjyoti30/yaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yaf - Yet Another Fetch

yaf

Brief

Yet Another Fetch is a tool that fetches system information and shows it in a beautiful way for some extra upvotes on r/unixporn. It is extremely minimal and customizability is it's strong feature. Don't want to show your disk usage? Hide it with the exclude flag. Want to change the separator between the os and Arch Linux field? Use separator flag.

yaf is written in Golang. (Because everyone is writing a fetch in some language, why not Go then?)

Installation

Binary

Get the latest release binary from GitHub and use it on your system. Yes, as simple as that.

Arch Linux

yaf is available on AUR here and can be installed with:

yay -S yafetch

or

paru -S yafetch

NOTE: yaf was taken so had to publish with yafetch name.

Gentoo Linux

You can install yaf, by adding the overlay to layman with this command

sudo layman -a thamognya

and then you can do

sudo emerge -a yaf

It will ask you to unmask it, as it is still testing for bugs (this is standard procedure for new ebuilds) hence you can unmask it by doing

sudo emerge yaf --autounmask && dispatch-conf

then type u

and then emerge it with the following command

sudo emerge -a yaf --autounmask

and then install the package how you would normally.

Manual

If you wish, you can install the package manually using the following:

  • Clone the repo: git clone [email protected]:deepjyoti30/yaf.git
  • Cd into the repo and use make to install the package: cd yaf && make install

NOTE: You might want to use the mighty sudo with the make command above.

Usage

Usage of yaf:
  -exclude disk os
    	Exclude the passed fields from output. Values should be space separated, eg: disk os (default "username hostname")
  -key-prefix string
    	Prefix to be set before the key is printed (default "▪ ")
  -no-color
    	Disable showing colors in the output
  -separator string
    	Separator to be used between the key and the value (default "  ")

Support

If you like this package and my other works, your support would be appreciated!

undefined undefined undefined

Contribution

Your contribution would be appreciated. Consider taking a look at the guidelines before opening a PR. If you just want a new feature added, you can open a feature request!