start webui

This commit is contained in:
Abel Luck 2026-03-30 11:42:13 +02:00
parent 40da4384b2
commit 4b376c54a2
7 changed files with 678 additions and 206 deletions

27
repub/web.py Normal file
View file

@ -0,0 +1,27 @@
from __future__ import annotations
from quart import Quart
def create_app() -> Quart:
app = Quart(__name__)
@app.get("/")
async def index() -> str:
return """<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Republisher</title>
</head>
<body>
<main>
<h1>Hello, world!</h1>
<p>Republisher web UI is starting here.</p>
</main>
</body>
</html>
"""
return app