Files
chat_grid/README.md
2026-02-20 08:16:43 -05:00

927 B

Chat Grid

Realtime spatial chat grid with:

  • client/ TypeScript web app
  • server/ Python websocket signaling server

Local Run

  1. Start server
cd server
cp config.example.toml config.toml
uv run python main.py --config config.toml
  1. Start client
cd client
npm install
npm run dev -- --host 0.0.0.0 --port 5173
  1. Open http://localhost:5173

Production Deploy (quick path)

Use deploy/README.md.

Summary:

  1. Copy repo to /home/bestmidi/chgrid.
  2. Build client and publish client/dist/ to /home/bestmidi/public_html/chgrid/.
  3. Configure server config.toml and run it via systemd.
  4. Add Apache /ws websocket proxy from deploy/apache/chgrid-vhost-snippet.conf.

Key Paths

  • Client version: client/public/version.js
  • Client sounds: client/public/sounds/
  • Server config template: server/config.example.toml
  • Server runtime items: server/runtime/items.json