A fast, lightweight, and customizable system information fetcher for Windows, written entirely in C++. Inspired by tool neofetch, this utility directly utilizes the Windows API to retrieve accurate system metrics without relying on heavy external dependencies.
- Instant Execution: Compiled C++ ensures immediate execution times.
- Accurate Metrics: Fetches OS, Kernel, Uptime, CPU, GPU, RAM, Disk, and Resolution directly from the Windows Registry and System APIs.
- ANSI Styling: Beautiful command-line output with full RGB/ANSI terminal support.
- Live Updating: Operates smoothly in a loop, listening for exit commands gracefully.
You can compile this project using MSVC (Visual Studio), MinGW, or clang.
Example using g++ (MinGW):
g++ main.cpp -o winfetch.exe -lAdvapi32 -lUser32There are two ways to use winfetch:
-
Direct Execution: Simply double-click the compiled
winfetch.exefile. -
Global Command Line Utility (Recommended): To use
winfetchfrom any terminal window (CMD, PowerShell, Git Bash), simply move the compiledwinfetch.exeinto a folder that is part of your system'sPATH.- A quick way to do this is to drop
winfetch.exeintoC:\Windows\System32orC:\Windows. - Open your terminal and simply type
winfetchto see your system stats!
- A quick way to do this is to drop
This project is licensed under the MIT License - see the LICENSE file for details.