retoor 0a1b1f7186 feat: add CSP nonce support and channel clear admin RPC endpoint
- Inject CSP nonce into request context via middleware and pass to templates for script integrity
- Refactor CSP policy to inline nonce generation and update allowed sources (umami, stricter style/img/connect rules)
- Fix editor.js import path from `/njext.ks` to `/njet.js`
- Add `clear` method to ChannelService to reset `history_from` timestamp
- Add `clear_channel` RPC handler for admin users to purge channel history via `ChannelMessageService.clear`
- Insert `asyncio.sleep(0)` in BaseMapper retry loop to yield control during exception handling
2025-06-14 10:34:26 +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%