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
nitchflags:
-f --fetch | return fetch about system
-h --help | return help message
-v --version | return version of programnitch is configured through editing source code
nitch
├── LICENSE
├── nitch
├── nitch.nimble
├── README.md
├── src
│ ├── assets
│ │ ├── assets.nim
│ │ └── logos.nim
│ ├── flags
│ │ └── argp.nim
│ ├── funcs
│ │ └── perform.nim
│ ├── nitches
│ │ ├── getDistro.nim
│ │ ├── getHostname.nim
│ │ ├── getKernel.nim
│ │ ├── getPacmanPkgs.nim
│ │ ├── getRam.nim
│ │ ├── getShell.nim
│ │ ├── getUptime.nim
│ │ └── getUser.nim
│ ├── nitch.nim
│ └── nitch.nim.cfg
└── templates
├── data.dat
├── listFiles.nim
├── readLine.nim
├── refTest.nim
├── shellCheck.nim
└── testFile
6 directories, 24 files