Files
nessi 58eab24258 chore: initial project setup with AI usage dashboard for Codex and Devin
Add FastAPI-based monitoring dashboard with support for Codex CLI and Devin API v3 Enterprise consumption tracking. Includes Docker deployment, systemd service configuration, kiosk mode launcher, comprehensive documentation, and demo mode for testing without credentials.
2026-09-18 11:34:33 +02:00

17 lines
550 B
Bash

#!/usr/bin/env sh
set -eu
DASHBOARD_URL="${DASHBOARD_URL:-http://localhost:8080}"
BROWSER=''
for candidate in chromium chromium-browser google-chrome google-chrome-stable; do
if command -v "$candidate" >/dev/null 2>&1; then
BROWSER="$candidate"
break
fi
done
if [ -z "$BROWSER" ]; then
printf '%s\n' 'No supported Chromium browser found (tried chromium, chromium-browser, google-chrome, google-chrome-stable).' >&2
exit 1
fi
exec "$BROWSER" --kiosk --noerrdialogs --disable-infobars --disable-session-crashed-bubble "$DASHBOARD_URL"