refactor: extract web UI page into webui.html

web.py was 1700 lines, more than half of it a single embedded HTML
string. The page now lives in webui.html (loaded once at startup),
so the frontend gets real syntax highlighting and web.py is pure
Python. Dockerfile copies the new file alongside web.py.

Also: ASCII startup banner (the arrow glyph crashed web.py on Windows
when stdout was redirected to a cp1252 file), and README fixes —
document the ALSA PCM-name device fallback and drop the monitor
device row, which the ALSA backend never supported.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 11:49:35 +02:00
parent 2e3945dfa0
commit 907fd90a5e
4 changed files with 974 additions and 971 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY isr.py web.py ./
COPY isr.py web.py webui.html ./
RUN mkdir -p /recordings