Websocket-only
Mostly JSON-driven
Commands (plain text):
- @iAm
- @joinRoom:room
- anything else is a message
Responses (JSON):
-
{type: "YouAre",client_id: String,room: String,neighbors: List<String> }
-
{type: "ClientConnected",room: String,client_id: String }
-
{type: "ClientDisconnected",room: String,client_id: String }
-
{type: "MessageBroadcast",client_id: String,message: String }
You can download the source code. It's MIT-licensed.
If you’re seeing this, maybe you have found my backend.
Messages aren’t logged and, thus, no history can be retrieved.
Rooms could be listable, but that brings privacy concerns.
CORS policy is “allow-all”.
No rate limits were set.
Please, don’t abuse me.