← Back to Chat
System Stats
Real-time metrics for this interview bot — built with observability in mind.
Architecture
- RuntimeNode.js + raw HTTP server
- AI ModelClaude Sonnet 4 (Anthropic API)
- StreamingServer-Sent Events (SSE)
- DatabaseSQLite (better-sqlite3)
- Reverse ProxyNginx + Let's Encrypt SSL
- Process Managersystemd
- InfrastructureDigitalOcean Ubuntu 24.04
- FrontendVanilla JS — no build step, no framework
- MonitoringSQLite chat log, token tracking, Discord webhooks
- SecurityPassphrase gate, rate limiting, message caps
Design Decisions
- Context StrategyFull resume in system prompt (no RAG needed at this scale)
- State ManagementClient-side conversation history, server-side persistence via SQLite
- Cost ControlsSession limits, global cap, rate limiting, token tracking
- Conversation ResumelocalStorage session ID + server-side conversation storage
- DeploymentBuilt and deployed in one session with Claude Code CLI