Add Web UI

This commit is contained in:
Francesco Picone
2025-12-29 11:58:31 +01:00
parent b2fc73e829
commit e93b25ee20
5 changed files with 122 additions and 1 deletions

11
ui/app.py Normal file
View File

@@ -0,0 +1,11 @@
from flask import Flask, render_template
from cloudflare import get_dns_status
app = Flask(__name__)
@app.route("/")
def index():
return render_template("index.html", records=get_dns_status())
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8080)