Files
pablorevilla-meshtastic a676db2921 Initial Jinja ESP32 collector
2026-03-18 14:28:04 -07:00
..
2026-03-18 14:28:04 -07:00
2026-03-18 14:28:04 -07:00
2026-03-18 14:28:04 -07:00
2026-03-18 14:28:04 -07:00

Basic Jinja Project

Small starter project that renders HTML with Jinja using Python's built-in HTTP server.

Run

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 collector.py

Open http://127.0.0.1:8000/.

Files

  • collector.py starts the server and renders templates.
  • templates/base.html is the shared layout.
  • templates/index.html is the page template.