nimfetch
A small, fastfetch-inspired system information tool written in Nim. It has no
runtime dependencies and uses the normal system utilities available on the host.
Build
nimble build -d:release
./nimfetch
Or compile directly:
nim c -d:release -o:nimfetch src/nimfetch.nim
Usage
nimfetch [--no-logo] [--logo arch|ubuntu|debian|fedora|linux]
[--no-color] [--json] [--version] [--help]
The implementation targets Linux first, with basic macOS and Windows fallbacks.
Missing optional commands such as lspci, ip, or a package manager are shown
as Unknown instead of causing the program to fail.
Test
nimble test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|