Skip to main content

🐱 MewFetch

A lightweight system information tool with cat ASCII art

screenshot


AUR License: MIT Python Platform


MewFetch is a minimalist alternative to neofetch and fastfetch written in pure Python 3.
Zero external dependencies. Just a cat and your system. 🐾


✨ Features

  • Zero dependencies — uses only the Python standard library and /proc
  • Parallel data fetching — all fields are gathered concurrently using threading
  • 19 information fields — including GPU, disk, battery, packages, IP, and theme
  • 6 color themes — pink, blue, green, red, cyan, mono
  • 4 cat ASCII art styles — classic, small, sleeping, box
  • Full-featured CLI — --style, --theme, --fields, --json, and more
  • Config file — save preferences in ~/.config/mewfetch/config
  • Custom logo — ASCII art or PNG/JPG via ~/.config/mewfetch/config.json
  • Wayland and X11 support — resolution detection via hyprctl or xrandr
  • JSON output — ready for scripting and piping

📊 Displayed Information

Field Source
OS /etc/os-release
Kernel platform.release()
Hostname platform.node()
Uptime /proc/uptime
CPU /proc/cpuinfo
GPU lspci -mm
RAM /proc/meminfo
Swap /proc/meminfo
Disk os.statvfs("/")
Resolution hyprctl monitors / xrandr
WM environment variables / process list
DE XDG_CURRENT_DESKTOP
Terminal $TERM_PROGRAM, $TERM, /proc
Shell $SHELL
Packages pacman / dpkg / rpm / flatpak / snap
Battery /sys/class/power_supply
IP socket / hostname -I
Theme gsettings / gtk-3.0/settings.ini
Font gsettings / Hyprland config

📦 Installation

Dependencies: chafa or kitty (for image rendering).
Installation on Arch: sudo pacman -S chafa kitty

Arch Linux blocks global pip installs (PEP 668). Use pipx to install MewFetch safely:

sudo pacman -S python-pipx
pipx install mewfetch

From Source (Any distribution)

git clone https://github.com/zagadka298-design/mewfetch.git
cd mewfetch
pip install .

After installation, the mewfetch command will be available globally.

Running without installation

git clone https://github.com/zagadka298-design/mewfetch.git
cd mewfetch
python3 -m mewfetch

From AUR (Arch Linux)

yay -S mewfetch
# or
paru -S mewfetch

🚀 Usage

# Basic run
mewfetch

# Choose cat style
mewfetch --style sleeping

# Choose color theme
mewfetch --theme blue

# Display only specific fields
mewfetch --fields OS,CPU,RAM,GPU,Disk

# Disable colors (useful for pipes/scripts)
mewfetch --no-color

# Hide ASCII art
mewfetch --no-art

# JSON output
mewfetch --json

# Save settings
mewfetch --style sleeping --theme cyan --save-config

# List all styles
mewfetch --list-styles

# List all themes
mewfetch --list-themes

⚙️ Configuration File

Settings are stored in ~/.config/mewfetch/config (created automatically on first launch):

# mewfetch config
style    = classic
theme    = pink
# fields = OS, CPU, RAM, GPU
show_na  = false
no_color = false
no_art   = false

Quickly save configuration via CLI:

mewfetch --style sleeping --theme cyan --save-config

🖼️ Custom Logo (config.json)

In addition to the main config, mewfetch reads ~/.config/mewfetch/config.json to configure the logo or image displayed alongside the system info.

The file is generated automatically on first run:

{
  "logo_path": "",
  "logo_type": "ascii"
}

Options

Option Type Default Description
logo_path string "" Path to the logo file. Empty string → default cat. Supports ~ and environment variables.
logo_type string "ascii" File type: "ascii" for text art, "image" for PNG/JPG.

Example 1: ASCII art from a file

  1. Create a file containing your art, for example ~/.config/mewfetch/mycat.txt:

       /\_____/\
      /  ^   ^  \
     ( ==  v  == )
      )   mew   (
     (__(_____)__)
    
  2. Specify the path in ~/.config/mewfetch/config.json:

    {
      "logo_path": "~/.config/mewfetch/mycat.txt",
      "logo_type": "ascii"
    }
    

Example 2: PNG/JPG image

{
  "logo_path": "~/Pictures/mylogo.png",
  "logo_type": "image"
}

🎨 Themes and Styles

Themes (--theme)

Theme Accent
pink Pink (default)
blue Blue
green Green
red Red
cyan Cyan
mono Monochrome

Cat Styles (--style)

Style Description
classic Three cats in one (default)
small Small and compact
sleeping Sleeping kitty
box In a frame

🔧 Dependencies

Dependency Required Purpose
Python 3.10+ ✅ Runtime interpreter
lspci ⬜ GPU detection
hyprctl ⬜ Screen resolution on Hyprland
xrandr ⬜ Screen resolution on X11
gsettings ⬜ GTK theme and font
chafa / kitty ⬜ Terminal PNG/JPG logo rendering (sudo pacman -S chafa kitty)

All core metrics are read directly from /proc and /etc — no extra packages required.


🖥️ Compatibility

Distribution Status
EndeavourOS ✅
Arch Linux ✅
Manjaro ✅
Ubuntu / Debian ✅
Fedora / openSUSE ✅
Other Linux ✅
macOS / Windows ❌

WM/Compositor:
Hyprland · Sway · i3 · bspwm · Openbox · dwm · xmonad · Awesome · Fluxbox · KWin · Mutter · XFWM4 · Wayfire · River · Niri · labwc


📄 License

Distributed under the MIT License.
Do whatever you want, just keep the copyright notice. 🐱


Made with ♡ and way too much coffee

Metadata

Release files for mewfetch-zagadka 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mewfetch-zagadka 2.1.0
File Size Uploaded Provenance Actions
mewfetch_zagadka-2.1.0.tar.gz 214.9 kB Without provenance Details for mewfetch_zagadka-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mewfetch-zagadka 2.1.0
File Interpreter ABI Platform Actions
mewfetch_zagadka-2.1.0-py3-none-any.whl Python 3 none any Details for mewfetch_zagadka-2.1.0-py3-none-any.whl

Total release size: 240.4 kB

Release files / mewfetch_zagadka-2.1.0.tar.gz

Download URL mewfetch_zagadka-2.1.0.tar.gz
Size 214.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a0ebd8e362c6a95904add2004aa5fec2a0793bb9eb380d7e1b439f0b5d82d987
BLAKE2b-256 checksum
How to use checksums
cdf1e8d59c761e2f3f281e79e2970760d455a8cec3287e43e3d186f6c52efa86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / mewfetch_zagadka-2.1.0-py3-none-any.whl

Download URL mewfetch_zagadka-2.1.0-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2217b236889d70493cec5199d05201a37bda1747d17227dda4c1d50eb1b44069
BLAKE2b-256 checksum
How to use checksums
fd396a45e8460153f6b04ad30662e7140c2013079c754fed9b6623b1a586f64c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for mewfetch-zagadka 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page