retoor 8cc207d592 fix: replace direct ws.send_json calls with _send_json and add error handling in RPCView
The diff replaces all direct `self.ws.send_json()` calls with `self._send_json()` which serializes JSON using `json.dumps` with `default=str` for non-serializable objects. Additionally, the `rpc()` call in the message handler is wrapped in a try-except block that logs exceptions and deletes the websocket connection on failure. A new `_send_json` async method is introduced to centralize JSON sending logic.
2025-01-31 11:49:47 +00:00

Snek

Slack like chat application with focus on performance

This is a slack like chat application with focus on performance. Other slack-like applications became too heavy. My RocketChat just had an 'frontend' crash. Just an error from the system itself like it's the most normal thing in the world.

Running

At this point, there's nothing officially running but what you can do:

  • Install the project: make install
  • Run part of the project: ./venv/bin/python -m snek.app
  • Run other part of the project: ./venv/bin/python -m snek.models
S
Description
Chat for snek people made by snek people.
Readme
58 MiB
Languages
Python 51.8%
HTML 28%
JavaScript 15.5%
CSS 4.6%