nitch
is a small and incredibly fast system fetch written fully in nimπ
without any dependencies, on my pc
it executes in around 1.70 miliseconds.
The source code of nitch
is highly documented and I hope it will act as a learning resource for nim
and linux systems architecture
If anything in the source code is unclear or is lacking in its explanation, open an issue. Sometimes you get too close to something and you fail to see the "bigger picture"!
btw written in nimπ
why nimπ
? because it's fast and simple
Requirements:
- nim
- nimble (usually included with your nim installation)
git clone https://github.com/arashi-software/nitch && cd nitch
make changes to src/funcs/drawing.nim
if desired; then compile/install nitch with
nimble install
There are also binaries availble on the release page
nitch
flags:
Usage:
nitch
nitch -h|--help
nitch -v|--version
Options:
-h, --help Show help message
-v, --version return version of program
-a, --ascii return fetch with ascii art
-s, --square return fetch with square corners
nitch
βββ LICENSE
βββ nitch
βββ nitch.nimble
βββ README.md
βββ setup.sh
βββ src
β βββ assets
β β βββ assets.nim
β β βββ logos.nim
β βββ flags
β β βββ args.nim
β βββ funcs
β β βββ drawing.nim
β β βββ getDistroId.nim
β β βββ packages
β β β βββ getDpkgPkgs.nim
β β β βββ getPacmanPkgs.nim
β β β βββ getPortagePkgs.nim
β β β βββ getRpmPkgs.nim
β β β βββ getXbpsPkgs.nim
β β βββ perform.nim
β βββ nitches
β β βββ getDistro.nim
β β βββ getHostname.nim
β β βββ getKernel.nim
β β βββ getLogo.nim
β β βββ getPkgs.nim
β β βββ getRam.nim
β β βββ getShell.nim
β β βββ getUptime.nim
β β βββ getUser.nim
β βββ nitch.nim
β βββ nitch.nim.cfg
βββ templates
βββ bfetch
βββ cfgParser.nim
βββ colorTest.nim
βββ data.dat
βββ echo.sh
βββ listFiles.nim
βββ readLine.nim
βββ refTest.nim
βββ rxfetch
βββ shellCheck.nim
βββ slice.nim
βββ test.cfg
βββ testCounter.nim
βββ testFile
βββ testProc.nim
βββ tupleTest.nim
8 directories, 43 files