Opta Local Features
Opta Local (1L-Opta-Local) is the web dashboard and chat interface for the LMX inference server.
Chat Interface
- Streaming chat — token-by-token output via SSE
- LMX model selection — choose loaded model from dropdown
- Message history — persistent session conversation view
- Stop generation — cancel in-flight inference
- Code block rendering — syntax-highlighted code in responses
- File attachments — image and document upload
- Multimodal input — paste screenshots for vision models
Dashboard
- LMX connection status — live health indicator
- Throughput metrics — tokens/sec via circular buffer (300 samples)
- Active model display — currently loaded model name and size
- Memory gauge — Metal GPU memory usage from
/admin/health
- Helper node status — embedding and reranking service health
- SSE event stream — real-time dashboard updates from
/admin/events
Session Management
- Session list — browse and resume past sessions
- Session creation — start new sessions with model selection
- Session deletion — remove individual sessions
- Session search — filter by content or date
- Session export — download conversation as Markdown
Authentication Modes
- LAN mode — no auth required on local network
- Cloud mode — Supabase auth via magic link / Google OAuth
- Auth provider —
useAuthSafe() returns null in LAN mode (no-op)
- Sign-in page — redirect flow with sanitized
next param
- Session persistence — Supabase session cookie management
Settings
- General settings — theme and display preferences
- Tunnel configuration — Cloudflare Tunnel URL for remote access
- Account settings — sign in / sign out, plan display
- LMX endpoint override — custom LMX server URL
iOS App
- iOS project foundation — SwiftUI app scaffold
- Chat interface — native SwiftUI chat view
- LMX connection — iOS-to-LAN API client
- Session sync — shared sessions with web
Infrastructure
- Vercel deployment — web app on optalocal.com
- Cloudflare Tunnel — LAN services exposed for cloud access
- Supabase auth — cloud-mode authentication backend
- Service worker — offline capability
Recent Updates
- 2026-02-26 — Production readiness improvements
- 2026-02-25 — Session management and dashboard improvements
- 2026-02-23 — Cloudflare Tunnel config and LAN/cloud mode separation
- 2026-02-19 — Phase 5 sessions implementation complete