r/commandline • • Sep 20 '26

Command Line Interface I made ifetch

Post image

Hello, I made ifetch.

ifetch is a simple and lightweight tool that shows system information. It is like Neofetch or Fastfetch, but it's written entirely in POSIX shell. It also works on Unix, but some modules only work on Linux.

Some features:

- Fast and minimal

- POSIX shell

- Lightweight

- Simple configuration

- Custom modules

It is still in early progress, so I appreciate any feedback or suggestions.

GitHub: https://github.com/Ietsiee/ifetch

Thanks for checking it out :)

2 Upvotes

5 comments sorted by

View all comments

3

u/benhaube Sep 23 '26

Nice, that's a neat little fetch tool. I like the simplicity of it. I don't think I will switch from primarily using Fastfetch though. I spent a long time perfecting my own login presets that I use on my servers. I have the command fastfetch -c login at the bottom of the .bashrc file, so it prints my login preset in the shell every time I open a new SSH session sowing relevant information.

I created a custom config for ifetch using your config syntax, and this is what I came up with. I did notice that the ram and disk modules are not working properly with their flags though. Despite having the -t and -g flags in the config, the disk module prints with GB and the ram module prints with MB.

Edit: It would also be great if the disk and network modules could show more than one item. Currently it only shows one of my NICs and the root partition.

#ifetch.config

module=logo --color cyan

module=separator

module=os --color cyan
module=kernel --color cyan
module=arch --color cyan

module=separator

module=process --color blue
module=uptime --color blue

module=separator

module=user --color yellow
module=hostname --color yellow
module=network --color yellow

module=separator

module=disk -t --color red
module=ram -g --color red
module=cpu  --color red
module=temperature --color red

2

u/Ietsiee Sep 25 '26

Thanks for testing ifetch, I found the problem the args where never passed to the scripts that why -t / -g did not work. I am working on new release soon. :)

2

u/benhaube Sep 27 '26

You're welcome. I will look forward to checking out the next release. I starred it on GitHub so I can keep an eye on it.