A lightning-fast system fetch utility written in Nim that displays your system information alongside a customizable logo in the terminal. Optimized for performance without any dependencies.
- Customizable: Easy to modify and extend
- Cross-platform: Works on most Unix-like systems
- Lightning fast: Compiled with maximum optimizations
- Low memory footprint: Minimal resource usage
- No external dependencies: Standalone binary
- Nim (version 2.2.6 or higher)
This will automatically compile and install the binary.
nimble install https://github.com/gabrielcapilla/nitch.gitgit clone https://github.com/gabrielcapilla/nitch.git
cd nitchBuild with hard speed optimizations.
nimble releaseInstall the binary in your local installation directory
mv nitch $HOME/.local/binnitch -f --fetch | return fetch about system
-n --nologo | return fetch without logo
-h --help | return help message
-v --version | return version of program| Command | Description |
|---|---|
nimble release |
Build with hard speed optimizations (recommended) |
nimble benchmark |
Run performance benchmark and keep the fastest binary |
Nitch includes an automated benchmark tool that measures execution speed of different compilation variants and automatically keeps the fastest one:
nimble benchmarkThis will:
- Compile all 3 variants (debug, standard, optimized)
- Run performance tests on each
- Identify the fastest variant
- Automatically remove slower variants
- Keep only the fastest binary
Running benchmark
Variant | Total Time | Average | Min | Max
----------------------|-------------|-------------|-------------|-----------
Debug | 0.392411s | 7848.22μs | 7642.60μs | 8293.32μs
Standard (-d:release) | 0.101966s | 2039.31μs | 1942.88μs | 2226.64μs
Optimized (Custom) | 0.095052s | 1901.04μs | 1842.65μs | 2010.93μs
Fastest variant: optimized (avg: 1901.04μs)
Slowest variant: debug (avg: 7848.22μs)
Improvement: 412.84% faster
Binary sizes:
debug : 373712 bytes
standard : 207728 bytes
optimized : 105032 bytes
System optimization...
Cleaning up...
- Removed: nitch_debug
- Removed: nitch_standard
- Kept: nitch (renamed from nitch_optimized)
Done! The 'nitch' binary is now the fastest version.- GitHub: gabrielcapilla/nitch
- Nostr: @gabrielcapilla
