Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.48 KB

File metadata and controls

32 lines (23 loc) · 1.48 KB

Winfetch (C++)

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.

Features

  • 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.

Compilation

You can compile this project using MSVC (Visual Studio), MinGW, or clang.

Example using g++ (MinGW):

g++ main.cpp -o winfetch.exe -lAdvapi32 -lUser32

Installation & Usage

There are two ways to use winfetch:

  1. Direct Execution: Simply double-click the compiled winfetch.exe file.

  2. Global Command Line Utility (Recommended): To use winfetch from any terminal window (CMD, PowerShell, Git Bash), simply move the compiled winfetch.exe into a folder that is part of your system's PATH.

    • A quick way to do this is to drop winfetch.exe into C:\Windows\System32 or C:\Windows.
    • Open your terminal and simply type winfetch to see your system stats!

License

This project is licensed under the MIT License - see the LICENSE file for details.