-
Notifications
You must be signed in to change notification settings - Fork 0
📨 Simple yet robust TCP chatting server.
License
richburg/ax
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
Repository files navigation
About
=====
Lightweight, easy-to-deploy and hackable TCP chatting server designed for small to medium communities.
Protocol
========
Message formatting is alike both for server and client.
class Payload:
message: str
args: list[str]
Example `payload.message`: INCOMING_MESSAGE
Example `payload.args`: [<author>, <content>]
Server-side payloads
====================
SLOW_DOWN
UNAUTHORIZED
INCOMING_MESSAGE|<author>|<message>
PING
NICK_ALREADY_SET
NICK_INVALID
NICK_TAKEN
USER_NOT_FOUND
NICK_OK|<desired_nick>
LIST_OK|<user1>|<user2>|<user3>|...
WHOAMI_OK|<nick>
TOGGLE_AFK_OK
CHECK_AFK_OK|<given_nick>|<boolean>
TODO
====
[x] Populate server/commands/
About
📨 Simple yet robust TCP chatting server.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published