Table/columns: - Fix the "columns shrink to tiny" bug on language change / add / hide (#3, #24): the rebuild-time capped autosize read column widths before GTK's measurement landed. Columns keep their default widths; autosize is on-demand only. - Right-align every column except IP (#21): new alignment param on the bridge append calls; the SegmentRenderer and the tooltip hit-test honour it. - "Auto-size all columns" header menu item; Ctrl+A selects all rows (#4). - Remove the Boards (dots) column (#7). - Split the slash-joined Fan column into per-fan columns Fan 1-4 (#8). - Efficiency: unit moved into the value and made algorithm-aware (J/TH for SHA256 families, J/kSol for Equihash), fixing the blank/garbage figure on non-SHA256 miners (#9, #23). - Pool account column before Worker by default (#22). Scan: - Fast scan (#18): emit a lightweight identity row the instant a miner is identified, then upsert the full telemetry row when get_data completes. - User-adjustable scan concurrency with a bounded max (#25). - Surface more scanned values as columns (#10): current tuning target, accepted / rejected shares + reject %, and per-hashboard hashrate / voltage / frequency. Logs (#11-16): fetch the miner log through asic-rs's per-backend read_logs() instead of the narrow curl paths, fixing Braiins / LuxOS / Z15 / BixBit / stock Antminer; WhatsMiner keeps the fault-code fallback (no API log). Removed the summary tidbits from the log viewer (#13). Misc: fix per-icon health tooltips (advance math matched to the renderer) (#2); paused miners show blue hashboard icons, healthy stays green (#19); state-aware Pause/Resume in the right-click menu (#20); export opens a column-picker dialog (#6) and the default filename carries a UTC timestamp (#5); the scan status bar says "Scan Paused" / "Scan Stopped" and no longer overwrites Stop with paused (#17); the bench badge shows the weighted-average microbench delta vs the previous release (#1). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
alkane-toolkit
A cross-platform desktop toolkit for discovering, monitoring, and re-flashing ASIC miners. It scans a fleet over the network, shows live health and hashrate in a sortable table, and installs stock or alkaneOS firmware onto a control board whatever it currently runs (stock, VNish/AnthillOS, Braiins OS+, LuxOS, ePIC, HiveOn, BixBit, WardenOS).
The core and UI are pure Rust; the native window is wxWidgets driven through a vendored, patched wx-rs bridge, so there is no Electron, no web view, and a single self-contained binary per platform.
What it does
- Discover a fleet by CIDR or IP range and identify each miner's make, model, control board, and firmware (via a vendored asic-rs).
- Monitor hashrate vs. expected, per-board health, chip temperatures, fans, PSU state, and pool workers, with an Excel-style filter and drag-reorderable columns.
- Operate miners from a right-click menu: flash the locate light, pause / resume, restart, set a power or hashrate target, select a firmware profile (LuxOS/VNish presets), configure pools, set the timezone, and change the password -- each action offered only when every selected miner supports it.
- Install firmware: push stock or aftermarket images, or revert an aftermarket miner to stock, behind a typed confirmation.
Discovery and telemetry are read-only and safe to run against any fleet; every mutating action is capability-gated and, where destructive, confirmed.
Build and run (Debian/Ubuntu)
scripts/build-wx-linux.sh # once: builds the vendored wxWidgets 3.3.3 into ~/.cache
scripts/build-gui-linux.sh # cargo build --release -p alkane-gui
~/.cache/alkane-tk-target/release/alkane-toolkit
Runtime needs GTK 3: sudo apt install libgtk-3-0. To explore the UI with no
hardware, run the offline demo fleet:
ALKANE_FAKE_SCAN=1 alkane-toolkit
Windows and macOS share all GUI code; only the C++ bridge and wx build differ
(scripts/build-gui-windows.sh needs an msys2 toolchain, -macos.sh needs a
Mac).
Command-line probe
miner_probe is a headless companion for hardware checks that should not go
through the window event loop -- discovery, telemetry, and each write action:
miner_probe scan 10.0.0.0/24 # discover + telemetry (TSV)
miner_probe presets 10.0.0.5 # list a firmware's selectable profiles
miner_probe setpreset 10.0.0.5 540MHz
Run miner_probe with no arguments for the full verb list.
Development
export WX_RS_WXCONFIG="$HOME/.cache/wx-3.3.3-linux/bin/wx-config"
export CARGO_TARGET_DIR="$HOME/.cache/alkane-tk-target" # keep the target tree off the source share
cargo test -p alkane-gui # unit tests
cargo test -p alkane-gui --release -- --ignored bench_ # microbenchmarks
cargo clippy -p alkane-gui --no-deps --bins -- -D warnings # lint gate
xvfb-run -a env ALKANE_SELFTEST=1 \
"$CARGO_TARGET_DIR/release/alkane-toolkit" # headless UI self-test
ci/coverage.sh --summary-only # coverage (tests + self-test)
CI mirrors these: verify.yml runs the lint, tests, benchmarks, self-test, and
a best-effort dependency audit on every pull request and branch push;
release.yml repeats them on main and cuts an X.Y.Z release with the built
binary attached when the change warrants it. Dependencies are vendored under
vendor/, so builds never touch the network.
Architecture
crates/alkane-gui-- the application: scan engine, data model, wxWidgets UI, and theminer_probeCLI (the othercrates/alkane-*are early scaffolding).vendor/asic-rs-- the miner-discovery and control library, vendored and extended through numbered patches underthirdparty/asic-rs/patches.thirdparty/wx-rs-- the patched wxWidgets bridge (seedocs/adr/0002,0003).
See docs/IMPLEMENTATION-PLAN.md for the roadmap
and docs/aftermarket-parity-roadmap.md
for the firmware config/scan parity work.
Firmware safety rules
Encoded in code, from alkane-sdk docs/install-methods.md:
- Never write the bootloader or secure region.
- Verify on a channel the installer does not control.
- Reboot is root-only; a dropped SSH connection can still be success.
- A packer is per board; never reuse one across boards.
- Boot-switch handling is an explicit, verified step.
License
Licensed under the MIT license.