An intelligent animated penguin that lives in your system tray and reacts emotionally to your system's health!
From calm dancing when your system is idle to frantic running when resources are stressed β your penguin companion understands your computer better than anyone.
| Emotion | Trigger | Animation | System State | 
|---|---|---|---|
| π Calm | All resources low | Dancing peacefully | System at rest | 
| πΆ Active | Normal activity | Casual walking | Regular computing | 
| π Busy | Single resource high | Running at normal pace | Focused workload | 
| π° Stressed | Multiple resources strained | Running frantically | Heavy multitasking | 
| π₯΅ Overloaded | Critical system stress | Collapsing from exhaustion | System at breaking point | 
Example Scenarios:
CPU 15%, RAM 25%, Network 10 KB/s  β π CALM (dancing)
CPU 45%, RAM 50%, Network 200 KB/s β πΆ ACTIVE (walking)  
CPU 80%, RAM 80%, Network 600 KB/s β π° STRESSED (frantic running)
CPU 95%, RAM 40%, Network 100 KB/s β π₯΅ OVERLOADED (collapsing)
- π§ Advanced Emotion System: 5-state intelligent monitoring (NEW!)
 - Real-time System Monitoring: CPU, RAM, and network usage tracking
 - Reactive Animations: Penguin behavior changes based on system load
 - Multiple Animation Modes:
- π Emotion Mode (NEW!): Multi-resource emotional intelligence
 - π₯οΈ CPU Mode: Penguin speed reflects CPU usage
 - πΎ RAM Mode: Animation responds to memory consumption
 - π Network Mode: Activity based on network throughput
 
 - Smart Thresholds: Configurable thresholds for all monitoring modes
 - System Tray Integration: Native system tray with context menu
 - Real-time Tooltips: Hover to see current system stats and stress levels
 
- High-Quality Animations: Smooth frame-based penguin animations
 - Customizable Skins: Support for multiple penguin themes
 - Configurable Settings: Adjustable polling intervals and thresholds
 - Native Integration: Works seamlessly with your desktop environment
 
- Modular Architecture: Clean separation of concerns
 - Configuration Management: JSON-based settings with live updates
 - Signal Handling: Graceful shutdown on system signals
 - Cross-Platform Support: Linux and Windows compatibility
 
- Language: Python 3.10+
 - GUI Framework: PySide6 (Qt6)
 - System Monitoring: 
psutil - Image Processing: 
Pillow - Packaging: 
PyInstaller - Architecture: Event-driven with Qt signals/slots
 
# Install system dependencies
sudo apt update
sudo apt install python3-pip python3-venv libxcb-cursor0
# For system tray support (if not already installed)
sudo apt install libappindicator3-1sudo dnf install python3-pip python3-virtualenv libxcb-cursor# Clone the repository
git clone https://github.com/mfscpayload-690/TuxTray.git
cd TuxTray
# Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run TuxTray
python3 main.py# Install in development mode
pip install -e .
# Or install normally
pip install .
# Run from anywhere
tuxtrayComing soon - check the Releases page for pre-built executables
TuxTray comes with lightweight placeholder animations. For the full premium experience with high-quality penguin animations:
# Download premium assets (46MB)
git clone https://github.com/mfscpayload-690/TuxTray-Assets.git
# Copy to your TuxTray installation
cp TuxTray-Assets/*.gif TuxTray/assets/
# Restart TuxTray to enjoy premium animations!Premium Assets Include:
- π High-quality AI-generated penguin animations
 - π¬ Smooth frame transitions and realistic movements
 - π Multiple animation states (idle, walk, run, overload)
 - π¨ Professional quality suitable for daily use
 
# Start TuxTray
python3 main.py
# Or if installed via setup.py
tuxtrayRight-click the penguin icon in your system tray to access:
- Animation Modes: Switch between CPU, RAM, and Network monitoring
 - Skins: Change penguin appearance (when multiple skins are available)
 - Settings: Configure thresholds and polling intervals
 - About: View version and information
 - Quit: Exit TuxTray
 
Ctrl+Cin terminal: Graceful shutdown
TuxTray/
βββ assets/                     # Animation assets and configuration
β   βββ skins/                  # Penguin skin directories
β   β   βββ default/           # Default penguin skin
β   β       βββ idle/          # Idle animation frames
β   β       βββ walk/          # Walking animation frames
β   β       βββ run/           # Running animation frames
β   βββ config.json            # Animation and threshold configuration
βββ src/                       # Source code modules
β   βββ main.py               # Application entry point
β   βββ config_manager.py     # Configuration management
β   βββ system_monitor.py     # System resource monitoring
β   βββ animation_engine.py   # Animation frame management
β   βββ tray_manager.py       # System tray integration
β   βββ utils/                # Utility modules
βββ build_scripts/            # Build and packaging scripts
βββ main.py                   # Main application launcher
βββ setup.py                  # Installation script
βββ requirements.txt          # Python dependencies
βββ test_tuxtray.py          # Unit tests
βββ stress_test.py           # Performance testing
TuxTray uses a JSON configuration file at assets/config.json. Key settings include:
{
  "thresholds": {
    "cpu": { "idle": 30, "walk": 80 },
    "ram": { "idle": 40, "walk": 85 },
    "network": { "idle_kbps": 100, "walk_kbps": 1000 }
  }
}{
  "settings": {
    "poll_interval_ms": 500,
    "animation_mode": "cpu",
    "current_skin": "default",
    "tray_icon_size": 32
  }
}# Run unit tests
python3 -m pytest test_tuxtray.py
# Run stress test to simulate high system load
python3 stress_test.py
# Debug animation performance
python3 debug_animation.pyContributions are welcome! Please feel free to submit pull requests, create issues, or suggest new features.
git clone https://github.com/mfscpayload-690/TuxTray.git
cd TuxTray
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 main.py- Follow PEP 8 style guidelines
 - Add tests for new features
 - Update documentation as needed
 - Test on multiple platforms when possible
 
MIT License - see LICENSE for details.
Copyright Β© 2025 Aravind Lal
Free to use, modify, and distribute. Made with β€οΈ for the Linux community and system monitoring enthusiasts.
- Penguin animations generated with AI assistance
 - Built with the excellent PySide6 framework
 - System monitoring powered by psutil
 - Inspired by the Linux penguin mascot Tux