urbanonymous / python_htmx_websockets_demo

Build a simple web app with HTMX and WebSockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for talk at PyMNtos - Twin Cities Python User Group:

  • Build a simple web app with HTMX and WebSockets

A bookmark app that streams updates to connected clients using WebSockets.

Slides for the talk are here.

HTMX.WebSockets.demo.video.1.mp4

Useful commands

Run (Docker):

docker compose up -d

Run (Poetry):

poetry run uvicorn src.main:app

Lint:

poetry run black . && poetry run ruff . --fix

About

Build a simple web app with HTMX and WebSockets

License:MIT License


Languages

Language:Python 81.0%Language:HTML 9.8%Language:Jinja 7.0%Language:Dockerfile 2.2%