GUI
The GUI is a thin desktop wrapper around the same node package used by the CLI.
What it does
Section titled “What it does”- opens a window titled
FGov P2P Network - lets you enter a node name
- starts and stops the node with a button
- shows whether the node is running
- lists connected peers
- shows a placeholder apps panel
How it starts
Section titled “How it starts”The GUI reads bs-nodes from the working directory if the file exists. If a bootstrap node has already written that file, the GUI can join the same network without extra setup.
Build and run
Section titled “Build and run”From Network/:
go build -o gui ./cmd/gui./guiOn Windows, the release binary is gui-v1.1.exe.
How the UI maps to the code
Section titled “How the UI maps to the code”The GUI uses the shared Node type:
Turn Oncallsnode.NewNode(...)Turn OffcallsClose()on the nodeRefreshrebuilds the peer view fromGetPeersSnapshot()
What the GUI is not yet
Section titled “What the GUI is not yet”It is not a separate protocol implementation. It is a front-end for the same bootstrap, discovery, and name-sync logic used by the CLI.
Next pages
Section titled “Next pages”- How to Use - command-line flow
- Services - the shared node behavior
- Downloads - current GUI binary