Yaf - Yet another system fetch that is minimal and customizable

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.

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!

Owner
Deepjyoti Barman
I build Production level API's and integrate them with awesome web apps. Backend @appbaseio
Deepjyoti Barman
Comments
  • yaf on Gentoo, formatting problem with /etc/os-release

    yaf on Gentoo, formatting problem with /etc/os-release

    `❯ ./build/yaf

    pac@descartes ━━━━━━━━━━━━━

    ▪ memory 19% of 49419m ▪ disk 31 GB / 67 GB ▪ os Gentoo LinuxANSI_COLOR=1;32HOME_URL=https://www.gentoo.org/SUPPORT_URL=https://www.gentoo.org/support/BUG_REPORT_URL=https://bugs.gentoo.org/VERSION_ ▪ kernel 5.15.16-gentoo-x86_64 ▪ shell zsh ▪ uptime 24h 30m`

    Screenshot here for further clarity.

  • [Feature Request]: Gentoo Ebuild

    [Feature Request]: Gentoo Ebuild

    I would like to ask for permission to develop and later on add an ebuild for Gentoo users to install this fetching app. This would allow Gentoo users to install this fetching package from their portage package manager instead of building it from source by themselves.

  • enhancement: choosing the install directory

    enhancement: choosing the install directory

    As of today, it's not possible to change the install directory except from manually modifying the Makefile.

    I propose to add the DESTDIR variable set with /usr/bin by default. Therefore, to change it, a user will simply have to set the variable while calling make if he desires to.

    Example :

    make install DESTDIR="/home/user/.local/bin"
    
  • Support for Gentoo

    Support for Gentoo

    These are the instructions to install yaf for Gentoo. I have put the instructions in README.md. The ebuilds are still under testing but it should work. I have also put a link for the users to put an issue to the ebuild.

  • Yaf on windows can't read kernel

    Yaf on windows can't read kernel

    When i run yaf it says : couldn't read kernel version error occurred while reading uptime file couldn't read the memory file

    @PowerEdgeT100 ━━━━━━━━━━━━━━

    ▪ kernel not found ▪ shell ▪ uptime ▪ memory ▪ disk ▪ os windows

    This happens even if i give it "-exclude kernel"

    https://user-images.githubusercontent.com/75418838/150651464-cae9d1db-5ff2-4b75-a21f-1af07583d02b.mp4

Yet another Yogurt - An AUR Helper written in Go
Yet another Yogurt - An AUR Helper written in Go

Yay Yet Another Yogurt - An AUR Helper Written in Go Help translate yay: Transifex Features Advanced dependency solving PKGBUILD downloading from ABS

Jan 3, 2023
Yet another emojify command written in Go 🍜
Yet another emojify command written in Go 🍜

go-emojify Yet another emojify command written in Go ?? Installation $ go get github.com/yusukebe/go-emojify/cmd/go-emojify Usage $ go-emojify "I lov

Nov 7, 2021
Feb 12, 2022
Highly customizable and lightweight Go CLI app framework 👌
Highly customizable and lightweight Go CLI app framework 👌

Nice ?? Nice is a highly customizable and lightweight framework for crafting CLI apps. Nice respects idiomatic Go code and focuses to be clear, effici

Dec 30, 2022
The extremely customizable and themeable shell prompt.

kitch-prompt Kitch-prompt is a cross-platform tool for displaying a shell prompt, which can be extensively customized both in terms of what is shown,

Dec 28, 2022
Fetch All Links And Compare From Prior Fetches For golang

Fetch All Links And Compare From Prior Fetches This program can be run with go r

Jan 1, 2022
Go-api-cli - Small CLI to fetch data from an API sync and async

Async API Cli CLI to fetch data on "todos" from a given API in a number of ways.

Jan 13, 2022
progress_bar creates a single customizable progress bar for Linux terminal.
progress_bar creates a single customizable progress bar for Linux terminal.

progress_bar Go Progress Bar Features progress_bar creates a single customizable progress bar for Linux terminal. Installation go get -u github.com/er

Aug 12, 2022
Github user stats fetch written in golang
Github user stats fetch written in golang

TACOMA It's like neofetch, but for github users. I saw something similar on reddit and decided to recreate it using only golang. Original inspiration:

Dec 24, 2021
🏗️ Fetch a specific commit without any history (shallow depth w/o cloning)

shallow-fetch-sha ??️ For a given git repository and commit, fetch and checkout just that commit without any history. This can be extremely useful in

Nov 27, 2021
Pi-fetch - get a summary of your pi-hole stats from your terminal

pi-fetch get a summary of your pi-hole stats from your terminal _ ___ _ _ ___|_|___| _|___| |_ ___| |_ | . | |___| _| -_| _

Jan 9, 2022
Shelby is a fast ⚡️ , lightweight ☁️ , minimal✨, shell prompt written in Go.
Shelby is a fast ⚡️ , lightweight ☁️ , minimal✨,  shell prompt written in Go.

Shelby is a fast ⚡️ ,lightweight ☁️ ,minimal ✨ , shell prompt written in Pure Go. Installation Follow the steps below(Linux and macOS), and Post Insta

Dec 3, 2022
A minimal CLI tool to enable (or disable) dependabot for all your repositories

Enable Dependabot A minimal CLI tool to enable (or disable) dependabot for all your repositories. Installation Install via Go go get -v github.com/RiR

Feb 10, 2022
Portal is a quick and easy command-line file transfer utility from any computer to another 🖥️ 🌌 💻
Portal is a quick and easy command-line file transfer utility from any computer to another 🖥️ 🌌 💻

Portal is a quick and easy command-line file transfer utility from any computer to another ??️ ?? ??

Dec 27, 2022
Esdump is a migration CLI written in Go for migrating index mapping and data from one elasticsearch to another.

esdump Introduction esdump is a migration CLI written in Go for migrating index mapping and data from one elasticsearch to another. Compatibility Elas

Jul 23, 2022
remindme is a simple application to set reminders from the CLI that integrates with your system's notification system.
remindme is a simple application to set reminders from the CLI that integrates with your system's notification system.

remindme remindme is a simple application to set reminders from the CLI that integrates with your system's notification system. Examples Once the serv

Nov 24, 2022
Jsos - A operating system that runs system-level javascript, based on the Linux kernel

JsOS ?? An linux-based operating system that runs Javascript code at the system-

Jan 6, 2023
Another CLI framework for Go. It works on my machine.
Another CLI framework for Go. It works on my machine.

Command line interface framework Go framework for rapid command line application development

Dec 30, 2022
Another Go shellcode loader designed to work with Cobalt Strike raw binary payload.
Another Go shellcode loader designed to work with Cobalt Strike raw binary payload.

Bankai Another Go shellcode loader designed to work with Cobalt Strike raw binary payload. I created this project to mainly educate myself learning Go

Dec 29, 2022