Skip to content

quietpulse/c2fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C2fetch

Lightweight real‑time CPU temperature monitor 🌡️ with customizable ASCII art, powered by psutil and rich.


🧩 Requirements

  • Python 3.6+
  • rich & psutil (pip install rich psutil)
  • Unix‑like OS (Linux)

🚀 Quick Start

Method Command Notes
Arch (Auto) chmod +x setup.sh && ./setup.sh Installer tested on Arch only
Ubuntu/DNF ./main.py (see manual install below) Requires manual deps installation
Manual python3 main.py [--color COLOR] No setup script

🔧 Automated (Arch Linux)

chmod +x setup.sh
./setup.sh        # Installs c2fetch + dependencies
./setup.sh --uninstall

🛠️ Manual (Ubuntu, Fedora, etc.)

  1. Clone repo

    git clone https://github.com/youruser/c2fetch.git && cd c2fetch
  2. Install dependencies

    • Debian/Ubuntu:

      sudo apt update && sudo apt install -y python3-pip
    • Fedora:

      sudo dnf install -y python3-pip
    • Arch (alternative):

      sudo pacman -Sy python-pip
    • Install Python packages:

      pip3 install --user rich psutil
  3. Alias (optional)

    echo "alias c2fetch='python3 $(pwd)/main.py'" >> ~/.bashrc && source ~/.bashrc
  4. Run

    c2fetch --color cyan

🎨 Usage & Options

c2fetch [--color COLOR]
  • --color COLOR: ASCII art banner color (default: magenta)

🛠️ Customization

  • Thresholds: Edit temp_style() in main.py.
  • ASCII art: Replace banner in create_ascii_art().

🤝 Contributing

  1. Fork & clone this repository.

  2. Create a feature branch:

    git checkout -b feat/YourIdea
  3. Commit your changes & push:

     git commit -am "Add feature"
     git push origin feat/YourIdea
  4. Open a Pull Request on GitHub.


Designed and Crafted with ❤️ & ✨ by ~ @quietpulse

About

A sleek CPU temperature monitor based by psutil. 🌡️

Topics

Resources

Stars

Watchers

Forks