Symple Console
March 26, 2026 ยท View on GitHub
Interactive console client for the Symple real-time messaging protocol. Connects to a Symple server over WebSocket and provides a command-line interface for sending messages, joining/leaving rooms, and listing online contacts.
User input is read on a separate thread and dispatched to the libuv event loop via an IPC sync queue, keeping the networking thread non-blocking.
Build
Built automatically when -DBUILD_SAMPLES=ON is passed to CMake. Requires the symple module.
Usage
./sympleconsole -host localhost -port 4500 -token <token> -user <userid> -name <displayname>
Options:
-host- Symple server hostname or IP-port- Symple server port-token- authentication token-user- user ID to register with-name- display name-type- user type (optional)-help- print help
Quick Local Flow
- start a Symple server
- run one console as
alice - run another as
bob - join the same room from both clients
- send direct and room messages from the interactive prompt
That is enough to prove:
- auth and presence
- room joins and leaves
- direct messaging
- room fanout
Interactive commands once connected:
M- compose and send a messageJ- join a roomL- leave a roomC- list online contactsQ- quit
Set USE_SSL to 1 in the source to use SSL/TLS transport.
See Also
- Symple guide
- WebRTC guide if you are using Symple for call signalling