7ce11f323e8ab2114b3a25cb971560c639acedef
Add `time_cache_async` decorator to `render_template` in `Application` class for 60-second caching of rendered templates. Refactor `render_markdown` to use a synchronous `@functools.cache` wrapper `render_markdown_sync` to avoid redundant `MarkdownRenderer` instantiation. Remove debug `print` statements from `Validator` and `BaseModel` in `model.py`. Rename form endpoints from `/login-form.json` and `/register-form.json` to `/login.json` and `/register.json` respectively, updating corresponding template references. Inject inline `<style>{{ highlight_styles }}</style>` into `base.html` for syntax highlighting CSS. Append extensive internal documentation to `about.md` covering user registration, encryption, view creation, and form handling.
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
Languages
Python
51.8%
HTML
28%
JavaScript
15.5%
CSS
4.6%