File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 11## Silly comments
22
3- Comment system for your website
4- Using * flask * and * htmx * to create and serve comments .
3+ Webpage comment system, built on * Flask * and * HTMX * . Silly simple, bare
4+ bones, minimal... well except it's Python .
55
66Why silly? Because this implementation is as naive as I could make it.
77Comments are just files. I use [ ULID] ( https://github.com/ulid/spec )
88for the comments' file names (they're unique and encode the creation
99timestamp).
1010
1111I want this application to be simple enough that anyone can start it,
12- without asking for a Docker image. Low bar, I know.
12+ without needing a Docker image. Low bar, I know.
13+
14+ If you want to host it on your VPS, you can use the ` silly_app.conf `
15+ file as a start for your NGINX configuration.
16+
17+ You can start it with:
1318
1419``` sh
1520python3 -m venv my_venv
1621source my_venv/bin/activate
1722python3 -m pip install -r requirements.txt
1823./cmd.sh run
1924```
25+
26+ Or go with the [ uv] ( https://docs.astral.sh/uv/ ) :
27+
28+ ``` sh
29+ uv sync
30+ uv run flask --app sillysimple.py -p 32168
31+ ```
You can’t perform that action at this time.
0 commit comments