gateway: add simplex-address helper for onboarding

The daemon does not print its contact address; query /_show_address over the
WebSocket API. scripts/simplex-address.py reads ws_url from config.json and
prints the bot's short/full contact link so a human can add it in their
SimpleX app. bootstrap.sh points at it in the next-steps hint.
This commit is contained in:
Denton Social committed 2026-09-26 17:29:40 -05:00
1 parent 5df560a922
commit 756d4b47b7
3 files changed
+84 -2

No files matched your search

+3 -2
View File
@@ -369,8 +369,9 @@ SimpleX gateway:
'semif-gateway' (agent). Check them with:
systemctl --user status semif-simplex semif-gateway
journalctl --user -u semif-gateway -f
- Add this bot as a contact in your SimpleX app (its address is printed by the
daemon), then put your contactId/display name in config.json
- Show the bot's contact address (add it as a contact in your SimpleX app):
"$PYTHON" scripts/simplex-address.py
- Then put your contactId/display name in config.json
gateway.simplex.allowed_users (discover the id from a 'gateway_denied' trace
event or the daemon's /contacts) and reply. With an empty allowlist the
gateway rejects everyone — that is the safe default.