-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitlaforge.1
More file actions
218 lines (214 loc) · 5.5 KB
/
Copy pathbitlaforge.1
File metadata and controls
218 lines (214 loc) · 5.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
.\" bitlaforge.1 — BitlaForge man page
.\" GNU GPL v3 — see LICENSE
.TH BITLAFORGE 1 "August 2026" "BitlaForge v0.2.1" "User Commands"
.
.SH NAME
bitlaforge \- terminal UI for running solo Bitcoin mining (the lottery)
.
.SH SYNOPSIS
.B bitlaforge
.
.SH DESCRIPTION
.B BitlaForge
is a Catppuccin Mocha\(emthemed terminal UI that wraps
.BR minerd (1)
for
.B solo
Bitcoin mining. Solo mining at the current Bitcoin network difficulty is,
statistically, a
.B lottery
\(em the chance of finding a block on a single CPU in any given minute is
vanishingly small, but if you do hit, you take the full block reward.
BitlaForge is the dashboard you watch while your machine buys lottery tickets
in compute cycles. It launches
.BR minerd ,
parses its stdout, and surfaces pool / wallet / threads / hashrate /
accepted / rejected / uptime so you don't need to keep a terminal window
staring at raw output. It also runs cleanly over SSH, which is the natural
environment for a headless mining rig.
It is part of the
.B Forge
suite for KognogOS \(em alongside
.BR grubforge (1),
.BR alacrittyforge (1),
and nogForge.
BitlaForge writes only to your user-space config at
.IR ~/.config/bitlaforge/config.toml ;
no root privileges are required to run, configure, or mine.
Since v0.2.0 the interface is the shared
.B forgekit
shell: a top menu bar
.RB ( Dashboard
/
.B Log
/
.B Config
/
.B Help
/
.BR Quit )
with underlined accelerator letters, and three sections switchable from the
menu or with the number keys:
.TP
.B 1 \(em Dashboard
Live overview: miner state, pool + port, wallet, algorithm, threads,
hashrate, uptime, shares (accepted / rejected), per-process minerd CPU% and
RAM. Uptime ticks live every second while mining. Two action buttons:
.B Start Miner
(reads
.B Stop Miner
in red while the subprocess runs) and
.B Test Miner
(runs
.B minerd --version
and reports as a toast).
.TP
.B 2 \(em Log
Streaming view of minerd's stdout, line-by-line, in a 5,000-line bounded
buffer with search filter and auto-scroll.
.TP
.B 3 \(em Config
Pool URL, wallet address, miner name (used as Stratum worker label),
algorithm, thread count, niceness.
.PP
The former Setup screen lives on as the
.B Help \(-> Install & Setup
window: system info (CPU model, cores, memory, load average), minerd install
status, AUR install guidance for each cpuminer variant, and paths \(em
rebuilt fresh on every open.
.
.SH KEYBINDINGS
.SS Global (any section)
.TP
.B 1 .. 3
Switch to the corresponding section.
.TP
.B Ctrl+<letter>
Menu-bar accelerators \(em the underlined letter of each menu entry.
Inside an open dropdown, an item's underlined letter selects it.
.TP
.B M
Start / stop the
.B minerd
subprocess. Stop is SIGTERM with a 3-second grace period; falls back to
SIGKILL if minerd ignores it. If minerd is not on PATH, M surfaces
install-guidance instead of attempting to spawn.
.TP
.B T
Test the miner \(em runs
.B minerd --version
and reports the result as a toast (same as the Dashboard's Test Miner
button).
.TP
.B R
Refresh the current section's view (re-read disk, re-poll /proc, etc).
.TP
.B ? (or Ctrl+H)
Toggle the Shortcuts window (press again, or Esc or q, to close).
.TP
.B q
Quit.
.
.SS Log section
.TP
.B /
Focus the search filter input.
.TP
.B C
Clear the log buffer.
.
.SS Config section
.TP
.B E
Focus the first input (begin editing).
.TP
.B S
Save the current values to
.IR ~/.config/bitlaforge/config.toml .
A confirm dialog summarises the changes; Esc cancels, Enter confirms.
.
.
.SH SAFETY
Mining draws real CPU and electricity. BitlaForge is built around
.B opt-in:
.IP \(bu 2
.B Never auto-start.
The miner only runs after an explicit M press.
.IP \(bu 2
.B Always visible.
The Dashboard's "Miner state" header always shows whether minerd is
running.
.IP \(bu 2
.B One-keystroke stop.
M toggles. The Stop path is never more than one key away.
.IP \(bu 2
.B Niceness defaults to 19
(lowest priority). The system stays responsive even while mining \(em
verified live by the Dashboard's minerd CPU% readout (the percentage
visibly drops when other workloads compete for cycles).
.
.SH FILES
.TP
.I ~/.config/bitlaforge/config.toml
Persistent miner configuration (pool, wallet, algorithm, threads, name,
niceness). Created on first save.
.TP
.I /usr/lib/bitlaforge/
Installed Python package + launcher (managed by pacman).
.TP
.I /usr/share/licenses/bitlaforge/LICENSE
GPL v3 license text.
.
.SH DEPENDENCIES
.B Runtime:
.RS
.IP \(bu 2
python \(>= 3.11
.IP \(bu 2
python-textual \(>= 8.2.7
.IP \(bu 2
python-rich
.IP \(bu 2
python-tomli-w
.IP \(bu 2
forgekit \(>= 0.2.0 (the shared Forge Suite TUI shell \(em
https://github.com/jetomev/forgekit)
.RE
.PP
.B Optional (required to actually mine):
.RS
.IP \(bu 2
.B cpuminer
(AUR \(em pooler's original, recommended)
.IP \(bu 2
.B cpuminer-multi
(AUR \(em multi-algo fork)
.IP \(bu 2
.B cpuminer-opt
(AUR \(em heavily optimised variant)
.RE
.PP
All cpuminer variants provide
.IR /usr/bin/minerd .
BitlaForge calls whichever one is on PATH. Open
.B Help \(-> Install & Setup
inside the app to see install guidance.
.
.SH AUTHORS
Co-developed by Javier
.RB ( jetomev )
and Claude (Anthropic). BitlaForge is the fourth tool in the
.B Forge
suite, joining grubForge, alacrittyForge, and nogForge in shipping with
KognogOS \(em a public demonstration that AI is a serious software
collaborator on real, polished, end-user projects.
.
.SH COPYRIGHT
Copyright \(co 2026 Javier (jetomev). License: GNU GPL v3. This is free
software; see the source for copying conditions. There is NO warranty.
.
.SH SEE ALSO
.BR minerd (1),
.BR cpuminer (1),
.BR grubforge (1),
.BR alacrittyforge (1)