"""Merkaba Vessel portal: interactive 3D tetrahedron light-body interface."""
from pathlib import Path
from flask import Flask, render_template_string
import os
app = Flask(__name__)
ROOT = Path(os.getenv("PORTAL_ROOT", Path(__file__).resolve().parent))
PAGE = """
Mer·ka·ba — The Real Vessel
Mer·ka·ba — The Real Vessel
The living chariot. Two counter-rotating tetrahedra. The human spirit vehicle. This is navigable geometry.
"""
@app.get("/")
def index():
return render_template_string(PAGE)
@app.get("/health")
def health():
return {"status":"ok","vessel":"merkaba","mode":"interactive"}
if __name__=="__main__":
app.run(host="0.0.0.0",port=5005)