# Alkane Toolkit [![CI](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/next.svg)](https://gitea.bluefla.re/blueflare/alkane-toolkit/actions) ![tests](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/tests.svg) ![coverage](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/coverage.svg) ![bench](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/bench.svg) ![bench coverage](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/bench-coverage.svg) ![lines of code](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/loc.svg) ![code quality](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/quality.svg) ![dependencies](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/dependencies.svg) ![license](https://gitea.bluefla.re/blueflare/alkane-toolkit/raw/branch/ci-badges/badges/license.svg) Desktop fleet discovery and monitoring for ASIC miners. The Rust GUI uses wxWidgets through a patched [wx-rs bridge](thirdparty/wx-rs). Firmware installation is under development. ## Run locally ```sh scripts/build-wx-linux.sh scripts/build-gui-linux.sh ALKANE_FAKE_SCAN=1 ~/.cache/alkane-tk-target/release/alkane-toolkit ``` The first command builds wxWidgets 3.3.3 once. Linux runtime needs GTK 3 (`libgtk-3-0` on Debian/Ubuntu). The fake scan uses offline fixtures and does not contact hardware. Windows and macOS use their respective `scripts/build-gui-*.sh` scripts and platform toolchains. ## Current scope - Discover miners by CIDR or IP range with vendored [asic-rs](vendor/asic-rs), and show model, firmware, health, hashrate, temperatures, fans, PSU, and pool workers. - Filter, sort, and reorder columns in the desktop table. - Probe discovery, telemetry, presets, and write actions with the `miner_probe` CLI. Run it without arguments for the verb list. The installer and some operator actions remain roadmap items; see the [implementation plan](docs/IMPLEMENTATION-PLAN.md) and [firmware parity matrix](docs/aftermarket-parity-roadmap.md). A listed firmware or board is not an install claim. Discovery is read-only. ## Development ```sh export WX_RS_WXCONFIG="$HOME/.cache/wx-3.3.3-linux/bin/wx-config" export CARGO_TARGET_DIR="$HOME/.cache/alkane-tk-target" cargo test -p alkane-gui --offline cargo clippy -p alkane-gui --no-deps --bins -- -D warnings scripts/ui-selftest.sh ci/coverage.sh --summary-only ``` Keep build output off the source share. `main` runs the full CI gate and publishes qualifying releases; `next` builds `-rc` candidates. Badges report host tests and benchmarks, not installation support. Benchmark comparisons require the same CPU class. The code quality letter reports the Clippy gate; the separate coverage badge reports exercised lines. The [benchmark history](https://blueflare.gitea.bluefla.re/alkane-benchmarks/toolkit/) is readable without a Gitea login. ## Firmware safety The [SDK install rules](https://gitea.bluefla.re/blueflare/alkane-sdk/src/branch/main/docs/install-methods.md) require serial and recovery checks for risky writes. Installation must never write the bootloader or secure region, must verify over an independent channel, and must use the packer and boot-switch procedure for the exact board. ## License [MIT](LICENSE). Vendored dependencies keep their own terms.