source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 11m59s
67 lines
3.1 KiB
Markdown
67 lines
3.1 KiB
Markdown
# Alkane Toolkit
|
|
|
|
[](https://gitea.bluefla.re/blueflare/alkane-toolkit/actions)
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
|
|
The code quality grade reports first-party Clippy checks from the last
|
|
successful main build. Test coverage has a separate badge. Formatting is not
|
|
part of the grade yet.
|
|
|
|
Desktop miner discovery and monitoring. The Rust GUI uses wxWidgets through
|
|
a patched [wx-rs bridge](thirdparty/wx-rs). In-app image flashing is disabled
|
|
while that path is reworked.
|
|
|
|
## 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 needs GTK 3. Fake scan
|
|
uses offline fixtures and does not contact hardware. For Windows and macOS,
|
|
use the matching `scripts/build-gui-*.sh` script.
|
|
|
|
## Current scope
|
|
|
|
- Discover miners by CIDR or IP range with vendored [asic-rs](vendor/asic-rs).
|
|
- Show model, firmware, health, hashrate, temperatures, fans, PSU, and workers.
|
|
- Filter and sort the desktop table; inspect probes with `miner_probe`.
|
|
- Use controls supported by the selected firmware and restore supported
|
|
aftermarket firmware to stock.
|
|
|
|
Discovery is read-only. Control and restore actions change miners. Check the
|
|
selected devices before applying them. See the [implementation plan](docs/IMPLEMENTATION-PLAN.md)
|
|
and [firmware matrix](docs/aftermarket-parity-roadmap.md) for planned coverage.
|
|
|
|
## Development
|
|
|
|
```sh
|
|
WX_RS_WXCONFIG="$HOME/.cache/wx-3.3.3-linux/bin/wx-config" \
|
|
CARGO_TARGET_DIR="$HOME/.cache/alkane-tk-target" \
|
|
cargo test -p alkane-gui --offline
|
|
```
|
|
|
|
Keep build output off the source share. `main` runs full CI and publishes
|
|
qualifying releases; `next` builds `-rc` candidates. Badges measure host
|
|
code, not installation support. See the public
|
|
[benchmark history](https://blueflare.gitea.bluefla.re/alkane-benchmarks/toolkit/).
|
|
|
|
## Firmware safety
|
|
|
|
Installation must follow the [SDK install rules](https://gitea.bluefla.re/blueflare/alkane-sdk/src/branch/main/docs/install-methods.md):
|
|
use the exact board's packer and boot-switch procedure, verify through an
|
|
independent channel, and never write bootloader or secure regions.
|
|
|
|
## License
|
|
|
|
[MIT](LICENSE). Vendored dependencies keep their own terms.
|