#!/bin/bash

cd "$(dirname "$0")"

# Browser öffnen (Linux: xdg-open, macOS: open)
if command -v xdg-open >/dev/null 2>&1; then
    xdg-open http://localhost:8080
else
    open http://localhost:8080
fi

# Lokalen Server starten
python3 -m http.server 8080
