To compile the FriendNet client, you need the following prerequisites:
- The latest Go compiler
- Node.js 24.0 or higher (unless you skip the web UI)
- Git
On Windows, substitute ./build with build.bat.
First, clone the repository:
git clone https://github.com/termermc/FriendNet.git
Then, compile the client:
./build client
The compiled client will be in the client directory, named something like friendnet-client or
friendnet-client.exe.
If you do not intend to use the web UI (such as for an embedded client with a different frontend), you can run:
./build client-noui
This will build the client only without building the web UI.