Skip to content

c-error/fetch-sama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Fetch-Sama

πŸ”₯ Fetch-Sama is a neofetch-like tool for Windows. logo

Features:

  • Fast – written in C to print system info as fast as possible.
  • ASCII - includes 3 different ASCII arts (Evil, Neuro & Windows).
  • RGB - prints RGB color text in the terminal (cmd, PowerShell, etc.) instead of the default ANSI colors.

Demo:

pic1

Usage:

  • Run:
    > fetch.exe [name]
  • Example:
    • evil ➜ fetch.exe evil
    • neuro ➜ fetch.exe neuro
    • default ➜ fetch.exe

Special:

  • Two ASCII arts in this project(Fetch-Sama) are inspired by the Twitch streamer vedal987 (specifically Evil-Neuro & Neuro-sama).

Build:

  • Install Dependencies:

    • Download and install MSYS2.
    • Open the mingw64.exe shell (from the MSYS2 Start Menu).
    • Run the following commands:
      $ pacman -Syu        # Update system packages (MSYS2 may restart)
      $ pacman -Syu        # Run again after restart
      $ pacman -S --needed base-devel mingw-w64-x86_64-toolchain
  • Set Environment Variables:

    • Open the Environment Variables:
      > rundll32.exe sysdm.cpl,EditEnvironmentVariables   # run in Command Prompt
    • Add the following paths to your Path variable:
      C:\msys64\mingw64\bin\
      C:\msys64\usr\bin\
      
  • Verify Installation:

    • Run these commands to confirm:
      > gcc --version
      > g++ --version
      
    • If you see version output, your installation was successful πŸ‘
  • Build the Project:

    • Just run build.bat
    • The file fetch.exe will appear inside the Source folder.

Project Structure:

The project has the following structure:

.
β”‚
β”œβ”€β”€ build.bat
β”œβ”€β”€ banner.png
β”œβ”€β”€ fetch.c
β”œβ”€β”€ icon.ico
β”œβ”€β”€ icon.rc
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”‚
└─── demo
      β”‚
      β”” pic_1.png

Contributing:

Feel free to contribute to this project by submitting pull requests or reporting issues. Your contributions are greatly appreciated!

License:

This project is licensed under the MIT License.

πŸ˜„ Happy coding!