#!/usr/bin/env python3 """tools/gen_ui.py - compile src/ui.html into src/ui.html.h. The page lives in one readable file (src/ui.html) so it can be diffed and reviewed like any other source. This script turns it into a single C string constant with two control-character placeholders: 0x01 -> the bot theme prepaint script +