Skip to content

sobmachine/fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fetch

Stars License Python

fetch is a lightweight, terminal-based system info and image ASCII art display tool, inspired by Neofetch. It converts any image into colored ASCII art while showing detailed system information in a visually appealing way.

This project is designed to run on Linux, Android (Termux), and other Unix-like environments.


Features

  • Image-to-ASCII Conversion: Converts your wallpapers or images into colorful ASCII art in the terminal, preserving approximate colors from the original image.
  • System Information Displays key system details like:
    • Operating System & Version
    • Kernel Version
    • Device Model / Machine Architecture
    • Processor and CPU Cores
    • RAM Usage
    • Disk Usage
    • Uptime (if available)
    • Python Version
  • Dynamic Coloring: Each ASCII character’s color is derived from the original image, ensuring a vibrant, faithful representation.
  • CLI Friendly: Works directly from the terminal. Simply provide an image path as an argument, or pipe in a path via stdin.

Installation

Using Git

git clone https://github.com/sobmachine/fetch.git
cd fetch
pip install .

This will install "fetch" as a CLI tool accessible from anywhere.


Dependencies

  • Python 3.8+
  • Pillow – for image processing
  • Colorama – for terminal coloring
  • psutil – for system information

All dependencies are included in "requirements.txt" and installed automatically via "pip".


Usage

# Basic usage with an image path
fetch path/to/image.png


# Example
fetch ~/Downloads/wallpaper.jpg

If no path is provided, "fetch" will read the path from standard input:

echo ~/Downloads/wallpaper.jpg | fetch

Output Example

Alt text


Development & Contribution

Contributions are welcome! Feel free to submit pull requests or open issues with feature requests or bug reports.


License

Fetch is released under the GNU GPL v3. You are free to modify and distribute the software, but derivative works must also be licensed under the GPL.

About

A system information fetcher written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published