diff --git a/docs/server.html b/docs/server.html index e2e5c36832..ded819b888 100644 --- a/docs/server.html +++ b/docs/server.html @@ -2656,6 +2656,65 @@ sudo -E simplex-servers-update +
You can locally reproduce server binaries, following these instructions.
+You must have:
+x86-64 architecturedocker, curl and gitDownload script:
+curl -LO 'https://raw.githubusercontent.com/simplex-chat/simplexmq/refs/heads/master/scripts/reproduce-builds.sh'
+
+Make it executable:
+chmod +x reproduce-builds.sh
+
+Execute the script with the required tag:
+./reproduce-builds.sh 'v6.3.0'
+
+This will take a while.
+After compilation, you should see the following folders:
+ls out*
+
+out-20.04:
+ntf-server smp-server xftp xftp-server
+
+out-20.04-github:
+ntf-server smp-server xftp xftp-server
+
+out-22.04:
+ntf-server smp-server xftp xftp-server
+
+out-22.04-github:
+ntf-server smp-server xftp xftp-server
+
+out-24.04:
+ntf-server smp-server xftp xftp-server
+
+out-24.04-github:
+ntf-server smp-server xftp xftp-server
+
+Compare the hashes from github release with locally build binaries:
+sha256sum out*-github/*
+
+sha256sum out*[0-9]/*
+
+You can safely delete cloned repository:
+cd ../ && rm -rf simplexmq
+
+To configure the app to use your messaging server copy it's full address, including password, and add it to the app. You have an option to use your server together with preset servers or without them - you can remove or disable them.
It is also possible to share the address of your server with your friends by letting them scan QR code from server settings - it will include server password, so they will be able to receive messages via your server as well.