A Windows system information fetch tool written in Krypton — a self-hosting language that compiles to C.
- User — username and hostname
- OS — Windows version, edition, build number, and architecture
- CPU — processor name with core and thread count
- RAM — used / total with percentage and usage bar
- Disk — all drives with used / total and usage bars
- GPU — name and VRAM size (NVIDIA via NVAPI, AMD/Intel via registry)
- Shell — detected shell (PowerShell, cmd, bash, nushell, etc.)
- Term — terminal emulator and console size
- Resolution — primary display resolution
- Uptime — days, hours, and minutes
- Packages — installed package count (winget, scoop, choco)
- Theme — Windows light/dark mode and accent color
- Battery — charge percentage and status (laptops only, hidden on desktops)
- Color palette — 16-color ANSI block palette
Requires GCC for Windows (MinGW). kcc.exe is bundled — no separate Krypton install needed.
kcc.exe run.k > out.c
gcc out.c -o kryofetch.exe -lm -w -lsetupapi -ladvapi32 -lpdhOr just run build.bat.
- Windows 10 / 11
- GCC (MinGW / winlibs)
Written in Krypton — a self-hosting language that compiles to C via kcc. The bundled kcc.exe is all you need to recompile from source. Native Win32 helpers live in kfetch_api.h and are included inline at compile time.