Duskt/tbsp

Websocket data format

Open

#15 opened on Sep 22, 2025

 (1 comment) (0 reactions) (0 assignees)TypeScript (0 forks)auto 404
documentationenhancementhelp wantedsystem

Repository metrics

Stars
 (5 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

We need a consistent protocol for the format of messages across websockets so we can distinguish chat messages, mafia actions, other events etc. I believe this is sometimes referred to as a sub-protocol.

This would ideally include:

  • Protocol version for future backwards compatibility
  • Minification format for efficient transmission

Contributor guide