Convert documentation to MkDocs with Material theme for GitHub Pages hosting. Includes comprehensive guides for API, CLI, desktop app, and development. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
11 KiB
Desktop Application User Guide
The Mining Platform desktop application provides a native cross-platform experience built with Wails v3 and Angular.
Overview
The desktop app combines the power of the Mining Platform backend with a modern desktop interface, offering:
- Native application performance
- System tray integration
- Auto-start on boot
- Local-first operation
- Embedded web dashboard
- No browser required
Installation
Download Pre-built Application
Download the appropriate version for your platform from the Releases page:
Linux:
mining-dashboard-linux-amd64(standalone binary)mining-dashboard_amd64.deb(Debian/Ubuntu)mining-dashboard_amd64.rpm(Fedora/RHEL)
macOS:
mining-dashboard.dmg(drag and drop installer)mining-dashboard.app.zip(extract and run)
Windows:
mining-dashboard-setup.exe(installer)mining-dashboard-portable.exe(no installation required)
Linux Installation
Using DEB Package
sudo dpkg -i mining-dashboard_amd64.deb
Using RPM Package
sudo rpm -i mining-dashboard_amd64.rpm
Standalone Binary
chmod +x mining-dashboard-linux-amd64
./mining-dashboard-linux-amd64
macOS Installation
- Open the DMG file
- Drag Mining Dashboard to Applications
- Open from Applications folder
- If blocked by Gatekeeper:
- Go to System Preferences → Security & Privacy
- Click "Open Anyway"
Windows Installation
Using Installer
- Run
mining-dashboard-setup.exe - Follow installation wizard
- Launch from Start Menu
Portable Version
- Extract
mining-dashboard-portable.exe - Run directly (no installation needed)
- Settings saved in same folder
First Launch
When you first launch the desktop app:
- Welcome Screen: Brief introduction to features
- Setup Wizard: Optional guided setup
- Install mining software
- Configure first miner
- Select pools
- Main Dashboard: Ready to use
User Interface
Main Window
The main window contains:
Menu Bar (top):
- File: New profile, Import/Export, Preferences, Exit
- Miners: Install, Start, Stop, Update
- View: Refresh, Toggle Fullscreen, Developer Tools
- Help: Documentation, Check for Updates, About
Sidebar (left):
- Dashboard: Overview and quick stats
- Miners: Running and available miners
- Profiles: Saved configurations
- Statistics: Charts and analytics
- Pools: Pool information and recommendations
- Admin: System settings and diagnostics
- Settings: Application preferences
Content Area (center):
- Page-specific content
- Real-time data updates
- Interactive controls
Status Bar (bottom):
- Connection status
- Active miners count
- Total hashrate
- Last update time
System Tray
The app runs in the system tray when minimized:
Tray Icon: Shows mining status
- Green: Mining active
- Gray: Idle
- Red: Error/stopped
Tray Menu (right-click):
- Show/Hide window
- Quick start mining
- Pause all miners
- Exit application
Dashboard Page
The dashboard provides an at-a-glance view:
- Active Miners Card: Count and quick actions
- Hashrate Card: Total and per-miner breakdown
- Shares Card: Accepted/rejected statistics
- Earnings Card: Estimated daily/monthly earnings
- Recent Activity: Timeline of events
- Quick Actions: Common tasks
Miners Page
Manage your mining operations:
Running Miners:
- List of active miners with status
- Real-time hashrate and statistics
- Stop/pause controls
- View detailed logs
Available Miners:
- Installable mining software
- Version information
- Install/update buttons
Actions:
- Add new miner
- Import configuration
- Batch operations
Profiles Page
Save and manage mining configurations:
Profile Cards:
- Profile name and description
- Coin and algorithm
- Pool information
- Quick start button
Profile Actions:
- Create new profile
- Edit existing profile
- Duplicate profile
- Delete profile
- Export/import profiles
Profile Editor:
- Basic settings (name, coin, pool)
- Advanced settings (threads, priority, etc.)
- Test configuration
- Save or cancel
Statistics Page
Detailed performance analytics:
Charts:
- Hashrate over time (line chart)
- Share distribution (pie chart)
- Pool comparison (bar chart)
- Temperature/power (multi-line)
Time Ranges:
- Last hour
- Last 24 hours
- Last 7 days
- Last 30 days
- Custom range
Export:
- Export to CSV
- Export to JSON
- Generate report (PDF)
Pools Page
Mining pool information and management:
Recommended Pools:
- Top pools by reliability
- Fee comparison
- Payout information
- One-click configuration
Pool Testing:
- Test pool connectivity
- Latency measurement
- Difficulty estimation
Custom Pools:
- Add custom pool
- Edit pool details
- Remove pool
Admin Page
System administration and diagnostics:
System Information:
- OS and architecture
- CPU information
- GPU detection (OpenCL/CUDA)
- Memory usage
Miner Management:
- Install/uninstall miners
- Update all miners
- Clear miner data
Diagnostics:
- Run system check
- View logs
- Export diagnostic report
Advanced:
- API endpoint configuration
- Data directory location
- Debug mode toggle
Settings Page
Application preferences:
General:
- Language selection
- Theme (light/dark/auto)
- Auto-start on boot
- Minimize to tray
Notifications:
- Enable desktop notifications
- Sound alerts
- Notification types (start, stop, errors)
Updates:
- Auto-check for updates
- Update channel (stable/beta)
- Auto-install updates
Mining:
- Auto-refresh interval
- Default miner type
- Default CPU threads
- Power saving mode
Advanced:
- Enable developer tools
- API base URL (for custom backend)
- Log level
- Data retention period
Using the Desktop App
Starting Mining
Method 1: Quick Start
- Click "Quick Start" on Dashboard
- Select a profile (or use default)
- Click "Start"
Method 2: From Profile
- Go to Profiles page
- Click "Start" on desired profile
- Miner starts immediately
Method 3: Manual Configuration
- Go to Miners page
- Click "Add Miner"
- Configure settings
- Click "Start Mining"
Monitoring Performance
Real-time View:
- Go to Dashboard
- View live hashrate and shares
- Click miner card for details
Detailed Statistics:
- Go to Statistics page
- Select miner from dropdown
- Choose time range
- View charts and metrics
System Tray:
- Hover over tray icon for quick stats
- Click icon to show/hide window
Managing Profiles
Create Profile:
- Go to Profiles page
- Click "New Profile"
- Enter details:
- Profile name
- Select coin
- Choose pool
- Enter wallet address
- Configure hardware
- Click "Save"
Edit Profile:
- Click "Edit" on profile card
- Modify settings
- Click "Save Changes"
Use Profile:
- Click "Start" on profile card
- Monitor on Dashboard
- Click "Stop" when done
Auto-Start Configuration
To start mining automatically on boot:
- Go to Settings
- Enable "Auto-start on boot"
- Select default profile
- Configure delay (optional)
The app will:
- Launch on system startup
- Wait for configured delay
- Start mining with selected profile
- Minimize to tray
Updating Mining Software
Auto Update (Recommended):
- Go to Settings → Updates
- Enable "Auto-check for updates"
- Updates happen automatically
Manual Update:
- Go to Admin page
- Click "Check for Updates"
- Click "Update All" or select specific miner
- Wait for download and installation
Installing Additional Miners
- Go to Admin page
- Find miner in "Available Miners"
- Click "Install"
- Wait for download
- Miner appears in Miners page
Keyboard Shortcuts
Global shortcuts:
Ctrl+N: New profileCtrl+O: Open profilesCtrl+S: Save current formCtrl+W: Close windowCtrl+Q: Quit applicationCtrl+R: Refresh dataCtrl+,: Open settingsF5: Refresh current pageF11: Toggle fullscreenF12: Open developer tools
Mining shortcuts:
Ctrl+M: Start mining (quick start)Ctrl+Shift+M: Stop all minersCtrl+P: Pause/resume mining
Navigation:
Ctrl+1-7: Switch between pagesCtrl+Tab: Next pageCtrl+Shift+Tab: Previous page
Command Line Arguments
Launch the app with arguments:
# Start minimized to tray
mining-dashboard --minimized
# Start with specific profile
mining-dashboard --profile "XMR Mining"
# Start mining immediately
mining-dashboard --auto-start
# Use custom data directory
mining-dashboard --data-dir ~/my-mining-data
# Enable debug mode
mining-dashboard --debug
Data Storage
Application data is stored in:
Linux:
- Config:
~/.config/lethean-desktop/ - Data:
~/.local/share/lethean-desktop/ - Logs:
~/.local/share/lethean-desktop/logs/
macOS:
- Config:
~/Library/Application Support/lethean-desktop/ - Data:
~/Library/Application Support/lethean-desktop/ - Logs:
~/Library/Logs/lethean-desktop/
Windows:
- Config:
%APPDATA%\lethean-desktop\ - Data:
%LOCALAPPDATA%\lethean-desktop\ - Logs:
%LOCALAPPDATA%\lethean-desktop\logs\
Backing Up Data
To back up your profiles and settings:
Method 1: Export Profiles
- Go to Profiles page
- Click "Export All"
- Save JSON file
- Store file safely
Method 2: Copy Data Directory
# Linux/macOS
cp -r ~/.config/lethean-desktop ~/backup/
# Windows (PowerShell)
Copy-Item -Path "$env:APPDATA\lethean-desktop" -Destination "C:\backup\" -Recurse
Troubleshooting
App Won't Start
Linux:
# Check for errors
./mining-dashboard --debug
# Check permissions
chmod +x mining-dashboard-linux-amd64
macOS:
- Remove from quarantine:
xattr -cr /Applications/Mining\ Dashboard.app
Windows:
- Run as administrator
- Check antivirus isn't blocking
- Install Visual C++ Redistributable if needed
Miner Won't Start
- Go to Admin → Diagnostics
- Click "Run System Check"
- Review errors and warnings
- Follow suggested fixes
High CPU Usage
- Go to Settings → Mining
- Enable "Power Saving Mode"
- Reduce auto-refresh interval
- Close unnecessary pages
Data Not Syncing
- Check internet connection
- Verify API endpoint in Settings
- Restart application
- Clear cache: Settings → Advanced → Clear Cache
Window Won't Restore from Tray
- Right-click tray icon
- Select "Show Window"
- If still hidden, restart application
Uninstalling
Linux
DEB Package:
sudo dpkg -r mining-dashboard
RPM Package:
sudo rpm -e mining-dashboard
Standalone:
rm ~/mining-dashboard
rm -rf ~/.config/lethean-desktop
rm -rf ~/.local/share/lethean-desktop
macOS
- Quit the application
- Move to Trash from Applications
- Delete data (optional):
rm -rf ~/Library/Application\ Support/lethean-desktop
Windows
- Use Programs and Features (Control Panel)
- Or run uninstaller from Start Menu
- Delete data (optional):
- Navigate to
%APPDATA%\lethean-desktop - Delete folder
- Navigate to
Next Steps
- Read the CLI Guide for command-line usage
- Explore the Web Dashboard features
- Review Pool Recommendations
- Check the API Documentation