CLI & Web GUI Reference
DodaRig gives you both a lightweight command-line interface and a live Web GUI powered by the exact same Rust backend.
Choosing Your Mode
Headless CLI Mode (Default)
Best for dedicated Linux rigs, SSH sessions, and background services:
dodarig -o stratum+ssl://pool.supportxmr.com:443 -u YOUR_WALLET -p rig1Or simply dodarig if you have configured default_profile in config.toml (see Multi-Coin Profiles).
Web GUI Mode (--gui)
Best for desktop users who want live charts, per-thread hashrates, and visual profile/fleet management:
dodarig --profile monero --guiPassing --gui automatically enables the HTTP API server and opens http://127.0.0.1:8080 in your default web browser.
Complete CLI Flags
| Flag | Description |
|---|---|
--setup | Launch the interactive setup wizard to create/update config.toml |
--profile <NAME> | Mine using a saved [profiles.<NAME>] from config.toml |
--list-profiles | Display all configured coin/wallet profiles and exit |
--gui | Enable the HTTP API/dashboard and auto-open your browser |
--bench | Run a 30-second offline RandomX benchmark (ignores pool config) |
-c, --config <PATH> | Path to a custom TOML config file (defaults to ./config.toml if present) |
-o, --url <URL> | Pool URL (stratum+ssl://, tls://, stratum+tcp://, or host:port) |
-u, --user <WALLET> | Wallet address / pool username |
-p, --pass <PASS> | Worker name or pool password |
-t, --threads <N> | CPU mining threads (0 = auto-detect from CPU/L3 topology) |
--randomx-mode <MODE> | fast (full ~2 GB dataset, default) or light (~256 MB cache) |
--huge-pages <BOOL> | Enable/disable huge pages (true / false) |
--tls <BOOL> | Enable TLS encryption for Stratum V1 (true / false) |
--stratum-version <VER> | auto (try Stratum V2, fallback to V1), v1, or v2 |
--api-enabled <BOOL> | Enable HTTP API & Web Dashboard (true / false) |
--api-address <IP> | Bind address for API/dashboard (default 127.0.0.1) |
--api-port <PORT> | Port for API/dashboard (default 8080) |
--api-access-token <TOK> | Bearer token protecting /api/config, /api/profiles (POST), /api/stop, /api/restart |
--proxy-enabled <BOOL> | Run in Stratum Proxy mode (true / false) |
--proxy-listen <ADDR> | Downstream proxy listen address |
--proxy-upstream <URL> | Primary upstream pool for proxy mode |
--proxy-backup-upstream <URL> | Backup failover pool for proxy mode |
--fleet-enabled <BOOL> | Enable multi-rig fleet polling (true / false) |
--fleet-alert-webhook <URL> | Webhook URL for low-hashrate, offline, and high-temp alerts |
Related Documentation
- Getting Started — 5-minute beginner walkthrough.
- HTTP API, Metrics & Fleet — All dashboard & REST endpoints.
- Windows 10/11 & Linux Tuning — Hardware optimization flags.