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

- Python 3.6+
- rich & psutil (
pip install rich psutil
) - Unix‑like OS (Linux)
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 |
chmod +x setup.sh
./setup.sh # Installs c2fetch + dependencies
./setup.sh --uninstall
-
Clone repo
git clone https://github.com/youruser/c2fetch.git && cd c2fetch
-
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
-
-
Alias (optional)
echo "alias c2fetch='python3 $(pwd)/main.py'" >> ~/.bashrc && source ~/.bashrc
-
Run
c2fetch --color cyan
c2fetch [--color COLOR]
--color COLOR
: ASCII art banner color (default:magenta
)
- Thresholds: Edit
temp_style()
inmain.py
. - ASCII art: Replace banner in
create_ascii_art()
.
-
Fork & clone this repository.
-
Create a feature branch:
git checkout -b feat/YourIdea
-
Commit your changes & push:
git commit -am "Add feature" git push origin feat/YourIdea
-
Open a Pull Request on GitHub.