jcwillox / nfetch

A modern neofetch alternative

Repository from Github https://github.comjcwillox/nfetchRepository from Github https://github.comjcwillox/nfetch

Nfetch

GitHub go.mod Go version GitHub

This project is still in active development don't expect everything to be working fully, and there will likely be breaking changes.

Nfetch is modern alternative to neofetch and winfetch, it's written in Go with a focus on performance, it's faster than both neofetch and winfetch and has no external dependencies.

example

asciicast

Installation

You can download prebuilt binaries as well as OS packages (e.g. .deb) from the latest release, otherwise you can use the installer script. Note: the installer script does not install completions, you can generate them using nfetch completion <shell>.

sh -c "$(curl -fsSL tinyurl.com/nfetch-sh)"
iwr -useb tinyurl.com/nfetch-ps1 | iex

Usage

$ nfetch

You can also access more detailed information or use nfetch in script with the raw command which will output JSON formatted data.

$ nfetch raw host
{
  "hostname": "ubuntu-server",
  "uptime": 15382701,
  "bootTime": 1627190085,
  "procs": 296,
  "os": "linux",
  "platform": "ubuntu",
  "platformFamily": "debian",
  "platformVersion": "20.04",
  "kernelVersion": "5.4.0-80-generic",
  "kernelArch": "x86_64",
  "virtualizationSystem": "kvm",
  "virtualizationRole": "guest",
}

Compatability

Support for more platforms will be added, but it's partly limited by what systems I can test on.

Platform x64 x86 ARM ARM64 Distros
Linux ✔️ ✔️ ⚠️ ✔️ Debian, Alpine, Kali, Proxmox, Slackware, AsusWRT
Windows ✔️ ✔️ Win10

✔️— Supported & Tested, ⚠️— Untested, ❌— Not supported

Contributing

Rewriting neofetch is no small task so any help with that would be appreciated. You can also help by contributing to the upstream repositories that this project uses such as shirou/gopsutil.

About

A modern neofetch alternative

License:MIT License


Languages

Language:Go 56.3%Language:Shell 35.4%Language:PowerShell 7.8%Language:Python 0.5%