Folding@Home Discord Rich Presence - Monitor GPU folding progress in Discord
Reason this release was yanked:
Still minor issues...
Project description
FAHRPC - Folding@Home Discord Rich Presence
Monitor your Folding@Home GPU progress directly in Discord with real-time status updates, GPU stats, and performance metrics.
Features
- 🎮 Discord Rich Presence - Display folding progress in your Discord status
- 💻 GPU Monitoring - Real-time GPU utilization and temperature tracking
- 🔍 Dual GPU Support - Monitor NVIDIA and AMD GPUs simultaneously
- 📊 Live Stats - Total points earned and work units completed
- 🔄 Auto-Reconnect - Automatic reconnection on disconnect
- 🌡️ Temperature Alerts - Color-coded temperature warnings
- 🎛️ System Tray - Minimize to tray with quick access menu
- ⚡ Lightweight - Minimal CPU and memory usage
- 🔧 Configurable - Full customization via config.json
What You'll See
Your Discord status will display:
- Current project ID and work unit progress
- GPU model, utilization, and temperature
- Total Folding@Home points and completed work units
- Real-time updates every 15 seconds
Requirements
- Windows 10/11 - Windows operating system
- Discord - Running and logged in
- Folding@Home - With web interface enabled (port 7396)
- GPU - NVIDIA or AMD with updated drivers
- Internet - For Discord and FAH stats server
Note: Python is NOT required to be pre-installed. The setup script handles everything automatically using Python 3.12.
⚠️ Important: If you have Python 3.14+ installed, the setup will automatically use Python 3.12 instead to ensure compatibility.
Installation (Zip Download)
Step 1: Download
- Go to the Releases page
- Download the latest
FAHRPC-vX.X.X.zipfile - Extract the zip to your desired location (e.g.,
C:\FAHRPC)
Step 2: Run Setup
- Open the extracted
FAHRPCfolder - Double-click
setup.bat - Wait for setup to complete (first run may take 1-2 minutes)
The setup script automatically:
- Installs the uv package manager (if needed)
- Creates a virtual environment
- Installs all Python dependencies
- Downloads browser components for web scraping
- Generates the
run_fahrpc.batlauncher - Creates a desktop shortcut
- Verifies all dependencies are working
Step 3: Launch
- Double-click
run_fahrpc.bat - Check your Discord status - you should see Folding@Home info!
That's it! 🎉
Usage
Running FAHRPC
Simply double-click run_fahrpc.bat in your FAHRPC folder.
The application will:
- Connect to Discord
- Monitor your Folding@Home progress
- Display stats in your Discord status
- Minimize to system tray
System Tray
Once running, FAHRPC sits in your system tray. Right-click the icon to:
- Show/hide console window
- Restart application
- Exit cleanly
Configuration
Edit the config file to customize:
- Discord client ID
- Folding@Home interface URL (local only)
- Temperature thresholds and colors
- GPU monitoring (NVIDIA/AMD)
- Update interval (default: 15 seconds)
- Display options
Config file location:
- Windows:
%LOCALAPPDATA%\Bandokii\fahrpc\config.json - macOS:
~/Library/Application Support/fahrpc/config.json - Linux:
~/.config/fahrpc/config.json
Folding@Home URL:
- Default:
http://localhost:7396/- Monitors the PC that FAHRPC is running on
Default configuration works out of the box!
Autostart (Optional)
Using Task Scheduler (Recommended)
- Press
Windows+R→ typetaskschd.msc - Click "Create Basic Task"
- Name:
FAHRPC, Trigger:At startup - Action: Start program
- Program:
C:\FAHRPC\run_fahrpc.bat(use your actual path)
Using Startup Folder
- Press
Windows+R→ typeshell:startup - Create a shortcut to
run_fahrpc.batin this folder
Troubleshooting
Discord Not Connecting
- Ensure Discord is running and logged in
- Check Windows Firewall isn't blocking FAHRPC
- FAHRPC auto-retries every 15 seconds
Folding@Home Not Detected
- Ensure F@H is running
- Enable web interface in F@H settings
- Verify it's on
localhost:7396(or update config.json) - Restart both F@H and FAHRPC
GPU Stats Not Showing
- Update GPU drivers (NVIDIA or AMD)
- Check
fah_error_log.txtfor hardware errors - Verify GPU is enabled in
config.json
High CPU Usage
- Increase
update_intervalin config.json - Disable unused GPU type in config.json
- Check web scraper timeouts in error log
Setup Issues
- Ensure stable internet connection
- Run
setup.batagain (safe to run multiple times) - May require 500MB+ free disk space for browser components
Updating
To update FAHRPC:
- Download the latest zip from Releases
- Extract and replace your existing files (keep your
config.jsonif customized) - Run
setup.batagain to update dependencies
Uninstall
To remove FAHRPC:
- Delete the FAHRPC folder - This removes all application files and the virtual environment
Note: The uv package manager will remain on your system. If you don't need it, see the uv uninstallation guide.
Advanced Installation (Optional)
For developers or advanced users who prefer command-line installation:
Global Command Installation
After running setup.bat, you can install FAHRPC as a global command:
uv tool install .
Then run from anywhere with:
fahrpc
Install from PyPI
pip install fahrpc
## Dependencies
All dependencies are automatically installed by `setup.bat`. For reference:
### Python Packages
- **playwright** - Web scraping and browser automation
- **pypresence** - Discord RPC integration
- **platformdirs** - Cross-platform config paths
│ ├── main.py # Entry point
│ ├── config.py # Configuration
├── pyproject.toml # Project metadata
└── run_fahrpc.bat # Launcher (created by setup)
Development
Clone the repository:
git clone https://github.com/Bandokii/FAHRPC.git
cd FAHRPC
Run in development mode:
uv run python -m fahrpc.main
Build distribution:
uv build
License
MIT License - See LICENSE file for details
Credits
Original Creator: Bandokii
AI Collaborator: GitHub Copilot
Refactoring & Modernization: January 2026
Support
- 📖 See this README for detailed documentation
- 🆘 Check the error log for troubleshooting (in your config directory)
- 🐛 Report issues on GitHub Issues
- 💬 Start discussions on GitHub Discussions
FAQ
Q: Do I need Python installed?
A: No! The setup script handles everything automatically, including Python.
Q: Does this work on Linux/macOS?
A: The code is cross-platform-ready, but primary support is Windows due to system tray integration and GPU driver availability. Config paths work on all platforms for users who want to port it.
Q: Can I use custom GPU names?
A: Yes! Edit the hardware.nvidia.strip_prefix and hardware.amd.strip_prefix values in config.json
Q: Does this impact Folding@Home performance?
A: No, FAHRPC only reads data. It has minimal CPU/memory overhead (~50MB RAM).
<<<<<<< HEAD
=======
379b21b740cffe4fc22408c5b86bc1f1e4c1fc74
Q: How do I update FAHRPC?
A: Download the latest zip, extract over your existing folder, and run setup.bat again.
Changelog
Version 1.0.2 (January 2026)
- Fixed Python 3.14 compatibility issue
- Setup now enforces Python 3.10-3.13 via
--python 3.12 - Added
.python-versionfile for uv compatibility - Prevents greenlet build failures on unsupported Python versions
Version 1.0.1 (January 2026)
- Fixed config/log file paths to use platformdirs
- Cross-platform app data directory support
- Added desktop shortcut creation in setup
- Improved error handling in batch launcher
- Updated documentation and references
Version 1.0.0 (January 2026)
- Initial PyPI release
- Modern Python src layout
- Command-line entry point
- Full GPU monitoring
- Discord Rich Presence
- System tray integration
- Comprehensive error logging
Happy Folding! 🏠💪
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fahrpc-1.0.3.tar.gz.
File metadata
- Download URL: fahrpc-1.0.3.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29725b4c3c9ebd3a3cfff6206dfd39053de6f8ac72c47ac28f6e7ce6f51d2359
|
|
| MD5 |
1ac6d86af6a5018f308606710dee7834
|
|
| BLAKE2b-256 |
8dc9562ee534ecf43c48e4fab9871045ef645e12db700a4405ab79f7478049c9
|
File details
Details for the file fahrpc-1.0.3-py3-none-any.whl.
File metadata
- Download URL: fahrpc-1.0.3-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa911a87f0b419a12d44181561f0e888392dea021e8601628548255a1057e522
|
|
| MD5 |
4c3b2146974888e2d02bac01c14f0c52
|
|
| BLAKE2b-256 |
e00526b621069f0331da9ec2bc76dec3b15bdd910c3f704d376ced60448deb5e
|