retoor cae698fb30 feat: add async task queue and refactor chat broadcast to non-blocking execution
Introduce a lightweight in-process task queue on the Application class with `create_task` and `task_runner` methods, enabling deferred execution of background operations. Refactor `ChatService.send` to enqueue the socket broadcast as a task instead of awaiting it directly, and move the `last_message_on` channel update before the broadcast to ensure timestamp consistency. The return value is simplified from `sent_to_count` to `True` since the broadcast result is no longer synchronously available.
2025-03-27 19:41:04 +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
29 MiB
Languages
Python 60.6%
HTML 19%
JavaScript 17.1%
CSS 3.2%