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.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user