Here, I implemented the examples from https://htmx.org/examples/ as a Flask app.
Most of the backend code is implemented using Blueprints and found in the
examples/blueprints directory.
For each example, there is a Python file in that directory, and a folder in the
examples/templates directory for the HTML.
poetry installRun the server (with auto reload and debugging):
poetry run server --debugThe server will run on http://127.0.0.1:5000.