retoor 942098583d feat: add XSS sanitization to channel message rendering and refactor sanitize_html with BeautifulSoup
Add sanitize_html calls in ChannelMessageService for both render and save paths to strip script, iframe, object, embed tags and event handler attributes from rendered HTML templates. Refactor sanitize_html in template.py to use BeautifulSoup for tag removal and attribute cleaning, replacing the previous bleach-only implementation with a new sanitize_html2 function retained for compatibility.
2025-07-25 15:17:45 +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%