commit b047e03980fef27360d6d83f66504256ad38d6c4 Author: Alkane CI Date: Thu Nov 12 23:53:56 2026 +0000 Publish site for 224b3b37e8 [skip ci] diff --git a/bench/index.html b/bench/index.html new file mode 100644 index 00000000..7960c8e3 --- /dev/null +++ b/bench/index.html @@ -0,0 +1,9 @@ + + + +Benchmarks - Alkane Toolkit + +
+

Alkane Toolkit microbenchmarks

Measured on main CI. Lower ns/op is faster. Runner load affects results. Same inputs marks a repeat of the benchmark source and build settings. A new benchmark has no earlier comparison.

Most recent 45 measured commits. Full per-commit JSON is retained in the private ci-badges branch.

CommitUTCCPUInputsbench_health_diagnostics (ns/op)bench_naming_transforms (ns/op)bench_parse_line_near_max_addrs (ns/op)bench_parse_targets_many_ranges_near_cap (ns/op)bench_render_cells (ns/op)bench_sort_by_each_column (ns/op)bench_targets_to_cidrs_large_range (ns/op)bench_upsert_cold_start_population (ns/op)bench_verify_artifact (ns/op)bench_view_pipeline (ns/op)bench_view_pipeline_default_sort (ns/op)bench_view_pipeline_with_filter (ns/op)
224b3b37e82026-11-12T23:39:17+00:00AMD Ryzen 7 8745H w/ Radeon 780M Graphicschanged inputs17225.000237.000446909.00049953456.0003375293.000408203.000346302.0006338209.000156621.000169986.000207867.000139582.000
50102800a32026-11-12T20:38:34+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs71323.000764.000830828.000113494127.00011520511.000761691.000777129.00015509979.000345115.000295508.000521515.000448970.000
086c883c4a2026-11-04T20:50:12+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs41504.000671.0001128579.000110722378.0008263260.0001426938.000955996.00014057415.000231400.000317977.000512833.000402369.000
de5c1a5a152026-11-04T20:11:32+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs40579.0001018.000732030.00094466864.0007085153.000637484.000554739.00017188092.000377984.000288320.000418440.000332109.000
3d1fd368112026-11-04T17:39:32+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs47611.000988.0001108814.00099582545.0009858396.0001071853.000830943.00012811287.000220792.000286772.000694225.000339542.000
d9dc60918c2026-11-03T22:01:13+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs48450.0001053.0001096792.000124562079.0008515973.0001086721.0001157666.00011484199.000220570.000267912.000496484.000419495.000
b1b7a3dbc02026-11-03T19:45:01+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs35119.000843.000529906.00096687131.0007661409.000969764.000712574.00015386423.000205141.000282417.000500004.000391194.000
36f12d6d4e2026-11-03T18:15:47+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxsame inputs43870.0001182.000877061.000106004212.0009062725.0001431571.000735187.00014805374.000284328.000362835.000670666.000439213.000
d925414bc82026-11-03T17:56:16+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs105969.000814.0001173441.000170423105.00016208072.0001479551.0001051465.00025050809.000482684.000401020.0001119743.000481430.000
ba0c71665a2026-11-03T17:29:36+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs53128.000787.0001176949.000128753097.0006964676.000692127.0001275395.00013608854.000315507.000295039.000433913.000309545.000
0949870a142026-11-03T16:08:38+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs80495.000712.000463750.000109014386.0008167535.000863351.0001258014.00022065597.000476269.000249205.000432689.000360209.000
abad4879ea2026-11-03T14:40:08+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxsame inputs39323.0001196.000695013.00090324476.0006881329.000738357.000714750.00010749899.000250211.000293535.000467861.000305577.000
c06cff966d2026-11-03T03:09:59+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs64043.000620.000695879.00098974083.0008197197.0001098407.0001243064.00022804580.000205600.000247352.000396722.000336975.000
35ea1b6e592026-11-03T01:49:03+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxsame inputs52171.000690.0001093951.00096273203.0007567196.000683139.000779068.00015256877.000216539.000283474.000604442.000341919.000
f2782e7d032026-11-03T01:19:10+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxchanged inputs52290.0001313.0001026106.000101291737.0007779419.000698896.000607801.00014165385.000389967.000314658.000456276.000365940.000
f302de1d032026-10-21T13:07:57+00:00Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHzchanged inputs76337.000670.0001396925.000118287353.0007273172.000806299.0001567283.00017349863.0001055560.000548227.000575808.000540407.000
d07fccd9b12026-10-20T06:38:29+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxsame inputs51891.000853.0001517012.000114922207.0007771762.000753638.000719502.00015443697.000287597.000310825.000436411.000288077.000
3d0cc999362026-10-19T13:42:03+00:00AMD Ryzen 7 8745H w/ Radeon 780M Graphicssame inputs20251.000240.000248233.00054797302.0003315556.000441505.000259588.0006408091.000149123.000173266.000210071.000138017.000
21e3c5fe852026-10-19T13:05:31+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassified64825.0001259.0001010587.000130404975.0008729316.0001016929.000849779.00019092946.000287697.000356335.000822767.000490965.000
9367bacc912026-10-19T12:51:45+00:00AMD Ryzen 7 8745H w/ Radeon 780M Graphicsunclassified26489.000399.000451749.00059691906.0004380129.000444842.000267781.0009773220.000198246.000209086.000330129.000156561.000
efd5f85eb82026-10-19T11:43:33+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassified82637.0001484.0001230688.000210135166.00016634610.0001871825.0001157898.00032961717.000493004.000495008.0001106422.000757315.000
4826f478932026-10-19T07:54:49+00:00AMD Ryzen 7 8745H w/ Radeon 780M Graphicsunclassified18162.000276.000270557.00050420544.0003237480.000403280.000262823.0005761643.000149297.000167669.000187230.000142824.000
e7bb7d13d02026-10-19T03:48:15+00:00AMD Ryzen 7 8745H w/ Radeon 780M Graphicsunclassified26346.000398.000399835.00050695071.0003605323.000411789.000347059.0005831394.000151224.000177420.000194736.000143243.000
664be2304f2026-10-17T15:22:00+00:00AMD Ryzen 7 8745H w/ Radeon 780M Graphicsunclassified22349.000377.000457347.00048664759.0003243855.000402489.000446479.0006920466.000151408.000181864.000227356.000135183.000
190a04d7402026-10-17T13:10:07+00:00AMD Ryzen 7 8745H w/ Radeon 780M Graphicsunclassified17914.000225.000253780.00045754074.0003089940.000404616.000238448.0006819436.000145692.000158400.000173943.000174073.000
aaf18f6d9c2026-10-17T10:05:16+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassified38610.000648.000708841.00098195090.0008644429.0001106075.0001134955.00018903190.000246734.000253698.000443696.000324631.000
589e9333912026-10-17T04:15:42+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassified42443.000562.000744600.000100276723.0007263909.000997910.000617330.00015908355.000211665.000355129.000492829.000330860.000
dd0732454e2026-10-16T12:11:57+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassified35749.000557.0001326819.00096819591.0008670894.000677462.000937425.00011075293.000235497.000313264.000398323.000261174.000
a1f610a3932026-10-16T11:21:01+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassified55682.000657.000724431.000106269799.0008362787.0001205811.0001117471.00013716307.000376947.000271402.000435624.000316096.000
ba782e78952026-10-16T02:42:08+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassified49222.0001040.000712150.00098513838.0007494854.000845325.000535509.00010489144.000273904.000248815.000543384.000307910.000
24fc79025d2026-10-16T02:19:55+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednew767.0001545620.00098663260.0009587436.000949231.000919255.00013731946.000367352.000372242.000489146.000309416.000
2f1a65035b2026-10-16T01:34:08+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednewnew1126873.00091095834.0008142103.0001171404.000645368.00013963726.000346141.000288593.000394582.000271501.000
e609176c662026-10-16T01:13:04+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednewnew1592722.00099469756.0009530209.0001315714.0001072855.00015157985.000218872.000263511.000703491.000392226.000
a604cbf5b52026-10-15T21:06:37+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednewnew718592.00094324631.0007469431.0001068697.0001488755.00017376872.000242202.000262328.000439350.000326119.000
5033c9609d2026-10-15T20:45:20+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednewnew479187.00092440268.0007871919.000590320.000754162.00010892236.000296364.000269610.000378227.000315949.000
8597ae9f9d2026-10-15T18:57:30+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednewnew1247912.000104308299.0007622204.0001043665.000527482.00018272527.000292745.000356502.000567867.000363892.000
89cf01324e2026-10-15T18:01:06+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednewnew933566.00093079826.0008553437.000609435.000740061.00021969970.000242716.000247075.000397949.000310322.000
c6ab7510c82026-10-15T10:18:59+00:00AMD Ryzen 5 3550H with Radeon Vega Mobile Gfxunclassifiednewnew1451641.00091555147.0007788885.000967167.0001168169.00024391329.000205681.000243287.000365244.000323236.000
cb46adada22026-10-15T09:43:24+00:00unknownunclassifiednewnew3900418.000132692428.00010442975.0001488922.0001370620.00052689889.000264623.000644508.000977443.000725578.000
694e2fc7e52026-10-15T04:05:00+00:00unknownunclassifiednewnew3076713.000146216294.00011029261.0002429822.0002406662.00063214191.000365426.000473218.000923022.000968899.000
3846b12d8c2026-10-15T03:43:37+00:00unknownunclassifiednewnew4739934.000131662616.00011094676.0003028466.0002860035.00058684370.000296251.000604581.000741241.000772467.000
bc406af89f2026-10-15T03:28:41+00:00unknownunclassifiednewnew3360049.000138231252.00010075243.0002257556.0001380223.00027099168.000398454.000529723.000893189.000646081.000
9d0ebafece2026-10-15T03:14:02+00:00unknownunclassifiednewnew3804482.000129729098.00010743266.0001613311.0002001242.00039237098.000219022.000541949.000837874.000763250.000
2b96ba495a2026-10-15T02:59:35+00:00unknownunclassifiednewnew4640391.000125437870.00011180890.0002381377.0001895524.00032144464.000384838.000509809.000839787.000868182.000
9d40ff24902026-10-15T02:45:10+00:00unknownunclassifiednewnew3827574.000137639734.00011420892.0001298114.0001840735.00053175458.000new666476.000843599.000794104.000
+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/index.html b/index.html new file mode 100644 index 00000000..ca1bba9f --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ + + + +Overview - Alkane Toolkit + +
+

Alkane Toolkit

+

Desktop discovery and monitoring for ASIC miners on your network: find every +miner in your IP ranges, see hashrate, power, temperatures, fans and hashboard +health at a glance, and run the controls each firmware supports.

+ +

Platforms

+ +

Every release is built, tested and signed by CI from the public source.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/actions.html b/manual/actions.html new file mode 100644 index 00000000..1ab10165 --- /dev/null +++ b/manual/actions.html @@ -0,0 +1,160 @@ + + + +Actions - Alkane Toolkit + +
+

Actions

+

Right-click one or more selected miners for the actions menu. With several +miners selected, labels show the count, for example Restart (12). An action +appears only when every selected miner's firmware supports it, so the menu +changes with the selection.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ActionWhat it doesChanges the miner
Open in browseropens each miner's web pageno
Refreshre-reads just these minersno
Check access (auth)tests whether the saved login is acceptedno
View log (API)...shows the first selected miner's log (WhatsMiner: its active fault codes)no
Restore to stock firmware...removes aftermarket firmware; see Restore to stockyes, reboots
Flash lights / Stop flashing lightslocate light on or offyes, harmless
Pause mining / Resume miningstop or start hashingyes
Set tuning %...tuning level, 0 to 100yes
Set power target...power target in watts; the prompt shows the current value and the allowed rangeyes
Set hashrate target...hashrate target in TH/s, for firmware that tunes by hashrateyes
Set profile...pick a firmware profile or preset (only profiles every selected miner has are listed)yes
Restartrebootyes
Configure pools...set up to three poolsyes
Set timezone...IANA time zone, for example America/Edmontonyes
Change password...new web/API passwordyes
Factory reset...wipes pools, tuning and network settings and reboots; the miner may come back on a new DHCP addressyes, destructive
+

Safety

+
    +
  • Pause, Resume, Restart and Factory reset ask for confirmation. Value prompts + (tuning, targets, timezone, password) apply when you confirm the value.
  • +
  • Actions that change miners do not start while a scan is running, including an + automatic rescan. Wait for it to finish or press Pause. Scans in turn wait + for running actions.
  • +
  • Each changed miner is re-read automatically when the action finishes. Results + and failures appear in the bottom-right corner of the status bar and in + Settings > Logs.
  • +
  • If Change password succeeds on every selected miner, the saved global + login is updated to the new password. If only some succeed, the saved login + is left alone and the log says so.
  • +
+

Configuring pools

+

The pool dialog has three rows: Address, Account, Worker and Password. A row is +used only when it has an address and an account. A blank password becomes x. +The miner's username becomes account.worker.

+

Each field has a + menu with common pool addresses and the values you saved +before (Add new... edits that list). Worker names can use placeholders that +are filled in per miner:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PlaceholderBecomes
{ip1} to {ip4}one octet of the miner's IP
{serial}, {mac}serial number; MAC without colons
{hostname}the miner's hostname
{brand}, {model}, {submodel}make and model
{firmware}, {cpu}, {cb}firmware family, control-board CPU and board
{nameplate-hr}the model's rated hashrate
+

For example, rack3-{ip3}-{ip4} gives rack3-1-50 for 10.0.1.50.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/command-line.html b/manual/command-line.html new file mode 100644 index 00000000..8f91f9f0 --- /dev/null +++ b/manual/command-line.html @@ -0,0 +1,82 @@ + + + +Command line and environment - Alkane Toolkit + +
+

Command line and environment

+

Environment variables

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableEffect
ALKANE_FAKE_SCAN=1demo mode: a built-in sample fleet, no network traffic, simulated actions
ALKANE_APPEARANCE=light or darkforce the light or dark theme
ALKANE_SELFTEST=1run the built-in UI self-test on the sample fleet and exit (prints SELFTEST PASS or FAIL)
ALKANE_ACCESS_PROBE="<ip> <make>"print whether the saved login can change that miner, then exit
ALKANE_LOG_SCAN="<ip> <brand>"fetch that miner's log through its API, print the size, then exit
+

On Windows these one-shot modes print to the Command Prompt they are started +from.

+

miner_probe

+

miner_probe is a command-line companion for scripting and diagnosis. These +commands only read:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CommandPrints
miner_probe scan <cidr> [<cidr>...]discovered miners and their telemetry, as tab-separated values
miner_probe hashrate <cidr>...raw hashrate and algorithm
miner_probe msgs <ip>fault messages and per-board data
miner_probe tune <ip>tuning support and limits
miner_probe presets <ip>available firmware profiles
miner_probe timezone <ip>the current time zone
+

Its other commands change miners. It uses the global login from the settings +folder, or ALKANE_PROBE_USER and ALKANE_PROBE_PASS, and +ALKANE_PROBE_CONCURRENCY (default 128).

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/export.html b/manual/export.html new file mode 100644 index 00000000..164c80e1 --- /dev/null +++ b/manual/export.html @@ -0,0 +1,20 @@ + + + +Export - Alkane Toolkit + +
+

Export

+

Export saves the scan as a CSV file for spreadsheets or other tools.

+
    +
  1. Choose the fields to include (all are ticked by default; All and + None help).
  2. +
  3. Pick where to save. The suggested name is alkane-export-YYYYMMDD-HHMMSS.csv.
  4. +
+

The export contains every scanned miner, not just the rows the current +filter shows. Per-board temperatures, fan speeds, board status and pools +become numbered columns (board_temp_1_c, fan_2_rpm, pool_1_url, ...).

+

Values that start with =, +, - or @ are prefixed with ' so a +spreadsheet treats them as text, not formulas.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/getting-started.html b/manual/getting-started.html new file mode 100644 index 00000000..604fb522 --- /dev/null +++ b/manual/getting-started.html @@ -0,0 +1,109 @@ + + + +Getting started - Alkane Toolkit + +
+

Getting started

+

Alkane Toolkit finds the ASIC miners on your network and shows them in one +table: model, firmware, hashrate, power, temperatures, fans and the health of +every hashboard. From the same table you can run the controls each miner's +firmware supports, such as pausing, restarting or changing pools.

+

Download

+

Get the latest release from the +downloads page.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
PlatformFileNotes
Windows 10 and 11 (x86_64)alkane-toolkit-vX.Y.Z-windows-x86_64.zipOne signed alkane-toolkit.exe; nothing to install
Linux (x86_64)alkane-toolkit-vX.Y.Z-linux-x86_64.tar.gzOne binary; needs GTK 3 (sudo apt install libgtk-3-0)
macOS 11 or later (Apple Silicon and Intel)alkane-toolkit-vX.Y.Z-macos-universal.zipOne app; not notarized, so confirm the first launch
+

Windows

+
    +
  1. Download the zip, right-click it, choose Properties, tick Unblock if + it is shown, then extract it.
  2. +
  3. Run alkane-toolkit.exe. Windows shows BlueFlare Energy Solutions Inc. as + the verified publisher. To check the signature yourself, right-click the exe, + choose Properties and open Digital Signatures.
  4. +
+

macOS

+
    +
  1. Download the zip and open it; drag Alkane Toolkit to Applications.
  2. +
  3. Open it. The app is not notarized, so macOS blocks the first launch:
  4. +
  5. macOS 15 or later: open System Settings > Privacy & Security and + choose Open Anyway for Alkane Toolkit.
  6. +
  7. macOS 11 to 14: Control-click the app, choose Open, then Open.
  8. +
  9. When asked, allow it to find devices on your local network. Scanning + needs this.
  10. +
+

Linux

+
tar xzf alkane-toolkit-vX.Y.Z-linux-x86_64.tar.gz
+./alkane-toolkit-vX.Y.Z-linux-x86_64/alkane-toolkit
+
+

First run

+

The toolkit starts a scan as soon as it opens. Set your own ranges first with +Scan ranges (see Scanning); until you do, it scans +192.168.1.0/24, the usual router subnet.

+

To look around without touching any miner, start it in demo mode. It shows a +built-in sample fleet and simulates every action:

+ + + + + + + + + + + + + + + + + +
PlatformCommand
Windows (Command Prompt)set ALKANE_FAKE_SCAN=1 && alkane-toolkit.exe
LinuxALKANE_FAKE_SCAN=1 ./alkane-toolkit
+

Where settings are kept

+ + + + + + + + + + + + + + + + + +
PlatformFolder
Windows%APPDATA%\alkane-toolkit
Linux~/.config/alkane-toolkit
+

See Settings and credentials for the files in that folder. +Deleting the folder resets the toolkit to its defaults.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/health.html b/manual/health.html new file mode 100644 index 00000000..1dfeefe0 --- /dev/null +++ b/manual/health.html @@ -0,0 +1,77 @@ + + + +Health, access and light - Alkane Toolkit + +
+

Health, access and light

+

The Health column

+

Each miner gets a row of icons, always in the same order, so problems line up +across the table:

+
    +
  1. Bolt: the power supply
  2. +
  3. Brain: the control board
  4. +
  5. Fan: one icon per fan
  6. +
  7. Chip: one icon per hashboard
  8. +
+

Hover over any icon to see its details: PSU voltage and current, the fan speed, +or a hashboard's actual and expected hashrate, frequency and voltage, and any +fault message with its code.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ColourMeaning
Greenhealthy
Amberworking but below par (a slow board, a fan well below the others, a PSU fault while still mining)
Reddetected but down (a faulted board, a stopped fan, a PSU that is not delivering)
Greyexpected but not detected or not reachable
Bluethe miner is paused, so its boards and stopped fans are idle on purpose
+

How each part is judged:

+
    +
  • Power is green when the miner draws power, its PSU fan turns or it is + mining; a reported PSU fault makes it amber (still mining) or red.
  • +
  • Control board is red for a control-board fault and amber for a + miner-wide warning such as a high ambient temperature.
  • +
  • Fans are red at 0 rpm and amber below half the speed of the fastest fan.
  • +
  • Hashboards follow the status the miner reports for each board. When the + firmware names the failing boards, only those turn red. A board the miner + cannot see is grey.
  • +
+

While an action runs on a miner, its Health cell shows progress such as +restarting... or refreshing....

+

Access

+

The padlock shows whether the toolkit can change the miner:

+
    +
  • green, open: changes are possible with the saved credentials;
  • +
  • red, closed: view only;
  • +
  • blank: not known yet.
  • +
+

After a scan the padlock is an estimate from what the firmware offers. Use +Check access (auth) in the right-click menu for a real, read-only login +test.

+

Light

+

A flashing green-over-red dot means the miner's locate light is on. Turn it on +or off with Flash lights / Stop flashing lights.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/index.html b/manual/index.html new file mode 100644 index 00000000..901c6a2e --- /dev/null +++ b/manual/index.html @@ -0,0 +1,9 @@ + + + +Manual - Alkane Toolkit + +
+

Manual

Start with Getting started.

  1. Getting started
  2. Scanning
  3. The table and header
  4. Health, access and light
  5. Actions
  6. Settings and credentials
  7. Restore to stock firmware
  8. Export
  9. Command line and environment
  10. Troubleshooting
+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/restore.html b/manual/restore.html new file mode 100644 index 00000000..2292300e --- /dev/null +++ b/manual/restore.html @@ -0,0 +1,43 @@ + + + +Restore to stock firmware - Alkane Toolkit + +
+

Restore to stock firmware

+

Restore to stock firmware... removes aftermarket firmware and returns the +miner to the manufacturer's firmware it keeps on board. Nothing is uploaded. +The miner reboots, and some firmwares come back on a new address.

+

It is offered when the selection includes a supported firmware, and asks for +confirmation with the list of miners first.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
FirmwareHow it is removedLogin used
VNish (and builds based on it)web API: unlock, then remove firmware; reboots in secondsthe VNish row in Credentials, else admin
LuxOSminer API: log on, then uninstallnone
Braiins OSSSH: runs the firmware's own uninstall.shthe SSH row in Credentials (see Settings)
+

Miners are restored one at a time. A dropped connection after the command is +sent counts as success, because that is the reboot. A refused login counts as +a failure and leaves the miner unchanged.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/scanning.html b/manual/scanning.html new file mode 100644 index 00000000..441fde8f --- /dev/null +++ b/manual/scanning.html @@ -0,0 +1,97 @@ + + + +Scanning - Alkane Toolkit + +
+

Scanning

+

Discovery is read-only: a scan asks each address what it is and records what +it reports. It never changes a miner.

+

Scan ranges

+

Click Scan ranges to edit the addresses to scan. Put one entry per line; +blank lines and lines starting with # are ignored.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FormExampleScans
Single address192.168.1.50that address
CIDR block192.168.1.0/24the whole block
Full range192.168.1.10-192.168.2.40every address between the two, inclusive
Short range192.168.1.10-90.10 to .90 within the same /24
Per-octet ranges10.1-4.0-1.1-255every combination (10.1.0.1 ... 10.4.1.255)
+

Commas or spaces between several entries on one line are not accepted; use one +line each. Duplicates are removed automatically. One line, and all lines +together, may cover at most 1,000,000 addresses.

+

Apply saves the ranges and starts a scan. A mistake keeps the dialog open +and the status bar explains it, for example invalid range: bad octet range.

+

The same dialog has three numbers:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
FieldMeaningDefault
Rescan (s)seconds between automatic rescans; 0 turns auto-rescan off300
Timeout (s)how long to wait for one miner (scans, refreshes, actions and log fetches)10
Concurrencyhow many addresses are probed at once (8 to 256); higher is faster but slow miners may report fewer values128
+

When the ranges change, miners outside the new ranges leave the table at the +next scan.

+

Running, pausing and stopping

+

The three buttons next to Scan ranges control scanning:

+
    +
  • Play (green) turns auto-rescan on and starts a scan now if none is running.
  • +
  • Pause (amber) turns auto-rescan off and lets the current scan finish.
  • +
  • Stop (red) turns auto-rescan off and cancels the current scan.
  • +
+

While a scan runs, a progress bar spans the top of the table and the status bar +shows progress such as 1935/4590 - scanning 192.168.1.86 (92 found). Afterwards +it shows the count and the time to the next scan, for example +245 miners - next scan in 4m 12s.

+

Actions that change miners wait for the scan to finish; see +Actions.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/settings.html b/manual/settings.html new file mode 100644 index 00000000..ed2a22ec --- /dev/null +++ b/manual/settings.html @@ -0,0 +1,142 @@ + + + +Settings and credentials - Alkane Toolkit + +
+

Settings and credentials

+

Settings opens a menu with Credentials, Language and Logs.

+

Credentials

+

Miners need a login for anything beyond basic discovery: for some details, and +for every action. The Credentials dialog has three parts:

+
    +
  • All firmwares at the top: one username and password tried on every miner. + The saved password is never shown; leave the field blank to keep it. Blank + username and password clear it.
  • +
  • SSH (restore): the control-board SSH login used to restore Braiins OS to + stock (see SSH login).
  • +
  • One row per firmware, pre-filled with that firmware's factory default. + Change a row to override the login for that firmware only.
  • +
+

The toolkit tries, in order, the firmware's own row, then the global login, +then the firmware's built-in default.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FirmwareFactory default (user / password)
AntMiner Stockroot / root
WhatsMiner Stockadmin / admin
Braiinsroot / root
VNish(none) / admin
LuxOSroot / root
UMC OS(none) / letmein
Marathonroot / root
VolcMiner Stockroot / ltc@dog
Elphapex Stockroot / root
FutureBit Stockfuturebit / futurebit123
SealMiner Stockseal / seal
Auradine Stockadmin / admin
+

Reset to defaults clears every override, the global login and the SSH +login at once.

+

Logins are stored as plain text in the settings folder, readable only by your +user account (Linux file mode 0600; on Windows, your profile folder's +permissions).

+

SSH login

+

Restoring Braiins to stock runs a command over SSH, using the system ssh +client (built into Windows 10/11). Set its login in the SSH (restore) row +of the Credentials dialog. The username defaults to root. As with the global +login, the saved password is never shown and a blank password keeps it.

+

Language

+

English, Chinese, Russian, French, Spanish and Portuguese. The toolbar, cards +and column headers switch immediately; menus and dialogs not yet translated +stay in English.

+

Logs

+

An activity log of scans, actions, errors and exports, newest last, kept for +the current session (the last 2000 lines). Times are shown in UTC.

+

Files in the settings folder

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileHolds
scan-ranges.txtscan ranges, one per line
auto-rescan-secs.txt, scan-timeout-secs.txt, scan-concurrency.txtthe three scan numbers
scan-credentials.txtglobal login
firmware-credentials.txtper-firmware logins
ssh-credentials.txtSSH login
presets.jsonsaved views
language.txtUI language
pool-addresses.txt, pool-accounts.txt, pool-workers.txt, pool-passwords.txtsaved pool values
+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/the-table.html b/manual/the-table.html new file mode 100644 index 00000000..9f2c62e5 --- /dev/null +++ b/manual/the-table.html @@ -0,0 +1,132 @@ + + + +The table and header - Alkane Toolkit + +
+

The table and header

+

Summary cards

+

The cards at the top count the miners currently shown (after any filter). +Each miner is in exactly one status: slow, paused, hashing or not hashing.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CardCountsClick
Totalrows in the view-
Hashing (green rabbit)mining at 80% of expected hashrate or moreshow only these; click again to clear
Slow (amber turtle)mining below 80% of expected hashrateshow only these
Not hashing (red glass)answering but not miningshow only these
Paused (blue otter)stopped on purpose (paused, stopped, suspended)show only these
SHA-256 Hashratetotal hashrate, per algorithmswitch algorithm when the fleet runs more than one
Est. powertotal reported power draw-
+

On a narrow window the hashrate and power cards are hidden.

+

Columns

+

IP is always the first column. The default view shows Model, Health, +Hashrate, Power, Chip temp, Firmware, CPU, Access and Light. More than seventy +other columns are available, grouped as Identity, Firmware and board, Health +and status, Performance, Temperature, Cooling, Hardware and Pools.

+
    +
  • Columns opens a checklist: tick to show, drag to reorder, or sort the list + alphabetically or by category. Hide columns with no scanned values hides + columns that are empty for every miner (it resets when the app restarts).
  • +
  • Drag a column header to move it.
  • +
  • Right-click a header to sort by it, auto-size one or all columns, hide it, or + open the column chooser.
  • +
+

Some values worth knowing:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ColumnShows
Hashrateactual/expected, for example 95.0T/96.0T; the actual part is red at 50% of expected or less, amber around 75%, green at 100%
Chip temphottest chip on each hashboard, for example 77 / 64 / 74; blue when cool, red at 90 C and above
Firmwarethe firmware family, coloured (Braiins purple, LuxOS gold, VNish green, ePIC light blue, Hiveon orange, Bixbit pink); stock firmware uses the normal text colour
Pool account / Workerthe pool user split at the first dot
Board HR / V / freqper-hashboard hashrate, voltage and frequency
+

A blank cell means the miner did not report that value.

+

Sorting

+

Click a header to sort ascending, again for descending, again to clear.

+
    +
  • Hashrate also sorts by relative hashrate (actual as a share of + expected), shown as %^ and %v in the header.
  • +
  • Health sorts by overall health, then by power (Pwr), fans (Fan) and + hashboards (Brd). Ascending puts the most broken miners first.
  • +
+

Selecting miners

+

Click a row to select it; Ctrl-click and Shift-click add to the selection, and +you can drag across rows to select a block. The selection follows miners by IP, +so it survives rescans. Double-click a row (or press Enter) to open the miner's +web page in your browser. Right-click the selection for actions.

+

Filters and presets

+

Filter keeps only the rows that match. Pick a column, then:

+
    +
  • for numbers: between, =, !=, >, >=, < or <= (blank cells never match);
  • +
  • for text: is any of (tick values; (blank) matches empty cells), contains, + does not contain, begins with, ends with or equals (case does not matter).
  • +
+

Filters on different columns must all match. Reset clears them. Clicking a +status card is a quick filter of its own.

+

Presets saves and loads whole views: column order and visibility, sort and +filters. Default is built in and cannot be deleted; saving under an existing +name replaces it.

+

Zoom and theme

+

The slider in the bottom-right corner zooms the table: text, icons and column +widths scale together. The window follows the system light or dark theme.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/manual/troubleshooting.html b/manual/troubleshooting.html new file mode 100644 index 00000000..ba858b32 --- /dev/null +++ b/manual/troubleshooting.html @@ -0,0 +1,44 @@ + + + +Troubleshooting - Alkane Toolkit + +
+

Troubleshooting

+

Windows says "Windows protected your PC". SmartScreen warns about new +downloads until a certificate has built up reputation. The publisher shown +should be BlueFlare Energy Solutions Inc.; click More info, then Run +anyway. If no publisher is shown, do not run the file and download it again +from the releases page.

+

A miner is missing. Check that its address is inside the scan ranges and +that it answers on its web page from this computer. On busy or slow networks, +raise Timeout or lower Concurrency in the Scan ranges dialog.

+

An action is missing from the right-click menu. Actions appear only when +every selected miner supports them. Select fewer miners, or only miners with +the same firmware.

+

An action does nothing and the status says a scan is in progress. Changes +wait for scans. Press Pause, let the scan finish, then try again.

+

Check access says locked. The saved login is not accepted. Set the right +password in Settings > Credentials, either for all firmwares or for that +firmware's row.

+

Values are blank. The firmware did not report them, or it needs a login to +report them. Try Check access and the Credentials dialog.

+

The window is too small or too large. It opens at most as large as your +screen's work area. Use the zoom slider in the status bar to scale the table.

+

Reporting a problem

+

Bug report in the toolbar, between Export and Settings, files a bug or a +feature request with the developers. Choose the type (Bug, UI change or +Feature request) and describe it; the first line becomes the title. Send +shows the issue number when it is filed, and Open issue opens it in the +browser. If it was not sent, the reason is shown and the text stays in the +box.

+

A report includes the app version, the operating system, the light or dark +appearance, the language and the window size. Include the recent activity +log adds the newest lines of the Settings > Logs page, with passwords, +tokens and similar values removed first; untick it to leave the log out. +Reports become public issues on +gitea.bluefla.re, +so do not put passwords or customer details in the text. A computer can send +five reports an hour.

+
Built from 224b3b37e8. Alkane Toolkit is MIT licensed.
diff --git a/quality/index.html b/quality/index.html new file mode 100644 index 00000000..9a1167d2 --- /dev/null +++ b/quality/index.html @@ -0,0 +1,20 @@ + + + +Code quality - Alkane Toolkit + +
+

Code quality

+

Measured by main CI on every build (this page: 224b3b37e8): +unit tests, line coverage (unit tests plus the headless UI self-test), Clippy with +warnings as errors, and rustfmt. Windows builds run the same tests under Wine and +on real Windows 11.

+
CQuality grade
200Tests passing
48.4%Line coverage
7.6%Benchmark coverage
cleanClippy (warnings are errors)
cleanrustfmt
30,918Lines of Rust
349Crates in Cargo.lock
-Benchmarks vs previous
+

How the grade is set

The grade is F if Clippy or rustfmt fails on main. Otherwise it is the line-coverage band: A at 80% or more, B at 60% or more, C at 40% or more, D at 20% or more, and F below that. The coverage badge uses the same bands for its colour, so the two never disagree.

+

Coverage by crate

CrateLine coverageCovered linesLines of Rust
alkane-access66.4%
95 / 143219
alkane-artifacts65.2%
810 / 1,2431,780
alkane-cli0.0%
0 / 1,0111,226
alkane-core89.1%
49 / 55151
alkane-discovery--1
alkane-flash57.9%
3,816 / 6,5879,442
alkane-gui44.9%
5,027 / 11,18418,099
+

Coverage by file

File (least covered first)CoverageUncovered linesLines
crates/alkane-cli/src/main.rs0.0%1,0111,011
crates/alkane-gui/src/logs.rs0.0%2828
crates/alkane-gui/src/stock_ops.rs2.2%178182
crates/alkane-flash/src/stock_firmware.rs8.2%178194
crates/alkane-flash/src/stock.rs12.0%4450
crates/alkane-flash/src/transport.rs16.0%421501
crates/alkane-gui/src/access_probe.rs16.1%193230
crates/alkane-gui/src/i18n.rs17.1%6882
crates/alkane-gui/src/ui.rs24.5%3,1484,167
crates/alkane-gui/src/restore.rs26.4%271368
crates/alkane-gui/src/pool_prefs.rs27.6%7198
crates/alkane-gui/src/scan.rs30.0%1,3271,896
crates/alkane-flash/src/stock_method.rs38.1%1,2201,971
crates/alkane-gui/src/main.rs41.5%3865
crates/alkane-flash/src/boards/a113d.rs53.8%252546
crates/alkane-artifacts/src/fetch.rs54.5%117257
crates/alkane-gui/src/log_scan.rs59.1%1844
crates/alkane-flash/src/install.rs60.8%277707
crates/alkane-flash/src/preflight.rs64.3%99277
crates/alkane-artifacts/src/afw.rs65.1%281806
crates/alkane-access/src/lib.rs66.4%48143
crates/alkane-gui/src/bug_report.rs73.0%76281
crates/alkane-gui/src/model.rs74.7%5612,215
crates/alkane-gui/src/askpass.rs76.8%1669
crates/alkane-gui/src/alkane_detect.rs77.6%49219
crates/alkane-artifacts/src/lib.rs80.6%35180
crates/alkane-gui/src/export.rs81.3%55294
crates/alkane-gui/src/presets.rs82.8%1693
crates/alkane-flash/src/boards/am335x.rs83.9%2381,480
crates/alkane-core/src/platform.rs89.1%655
crates/alkane-gui/src/naming.rs89.4%35331
crates/alkane-flash/src/boards/zynq.rs91.9%19235
crates/alkane-flash/src/lib.rs95.2%14290
crates/alkane-gui/src/credentials.rs96.2%8213
crates/alkane-flash/src/boards/cv1835.rs96.6%9268
crates/alkane-gui/src/fixtures.rs99.7%1309
crates/alkane-flash/src/md5.rs100.0%068
+

The dependency count is every package in Cargo.lock, direct and +transitive. Lines of Rust count every .rs line under crates/, +tests included.

+
diff --git a/style.css b/style.css new file mode 100644 index 00000000..83ffa3b0 --- /dev/null +++ b/style.css @@ -0,0 +1,38 @@ +:root { --bg:#ffffff; --fg:#1f2328; --muted:#59636e; --line:#d1d9e0; --card:#f6f8fa; + --accent:#d9822b; --link:#0969da; --good:#1a7f37; --warn:#9a6700; --bad:#cf222e; } +@media (prefers-color-scheme: dark) { :root { --bg:#0d1117; --fg:#e6edf3; --muted:#9198a1; + --line:#30363d; --card:#151b23; --link:#4493f8; --good:#3fb950; --warn:#d29922; --bad:#f85149; } } +* { box-sizing: border-box; } +body { margin:0; background:var(--bg); color:var(--fg); + font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,sans-serif; } +a { color:var(--link); text-decoration:none; } a:hover { text-decoration:underline; } +header { border-bottom:1px solid var(--line); } +header .bar, main { max-width:1040px; margin:0 auto; padding:0 16px; } +header .bar { display:flex; align-items:center; gap:24px; height:56px; flex-wrap:wrap; } +header .brand { font-weight:700; color:var(--fg); display:flex; gap:8px; align-items:center; } +header .brand i { width:20px; height:20px; border-radius:5px; background:var(--accent); display:inline-block; } +header nav { display:flex; gap:18px; flex-wrap:wrap; } +header nav a { color:var(--muted); } header nav a.on { color:var(--fg); font-weight:600; } +main { padding:28px 16px 64px; } +h1 { font-size:1.9rem; margin:.2em 0 .4em; } h2 { margin-top:1.8em; border-bottom:1px solid var(--line); padding-bottom:.25em; } +code { background:var(--card); border:1px solid var(--line); border-radius:5px; padding:.1em .35em; font-size:.92em; } +pre { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:12px; overflow:auto; } +pre code { border:0; padding:0; } +table { border-collapse:collapse; width:100%; margin:1em 0; display:block; overflow-x:auto; } +th, td { border:1px solid var(--line); padding:6px 10px; text-align:left; vertical-align:top; } +th { background:var(--card); } +td.num, th.num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; } +.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; margin:1.2em 0; } +.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:14px; } +.card b { display:block; font-size:1.6rem; } .card span { color:var(--muted); font-size:.9rem; } +.good { color:var(--good); } .warn { color:var(--warn); } .bad { color:var(--bad); } +.bar-cell { min-width:120px; } .meter { height:8px; background:var(--line); border-radius:4px; overflow:hidden; } +.meter i { display:block; height:100%; } +.layout { display:grid; grid-template-columns:220px 1fr; gap:32px; } +.layout aside ol { padding-left:1.2em; margin:0; } .layout aside li { margin:.3em 0; } +.layout aside a.on { font-weight:600; color:var(--fg); } +@media (max-width:760px) { .layout { grid-template-columns:1fr; } } +.buttons a { display:inline-block; margin:4px 8px 4px 0; padding:8px 14px; border-radius:8px; + border:1px solid var(--line); background:var(--card); color:var(--fg); } +.buttons a.primary { background:var(--accent); border-color:var(--accent); color:#fff; } +footer { color:var(--muted); font-size:.85rem; margin-top:48px; }