How mengmengcode/vocat works
VoCat is a web control panel and engineering toolkit for cellular modems. An operator signs in, uses the React interface to request device, radio, SMS, eSIM, or network operations, and receives live status and persisted results from the Go service. The backend also supports WiFi Calling, proxy routing, scheduled tasks, notifications, extensions, and operational controls. The README documents these capabilities; source excerpts establish selected frontend calls and routing, while several backend connections below are documented behavior rather than inspected call sites.
Main entry points: server.go HTTP API · App.tsx Application routes · api.ts API client · device_api.go Device operations
Components 23
Web interface
- Application routes
web/src/App.tsx - Auth state
web/src/store/auth.tsx - API client
web/src/api.ts - Device console
web/src/pages/DevicesPage.tsx - eSIM controls
web/src/components/devices/DeviceEsimTab.tsx - Task console
web/src/pages/AutomaticTasksPage.tsx - SMS console
web/src/pages/SmsPage.tsx - Settings console
web/src/pages/SettingsPage.tsx
Service and device
- HTTP API
internal/server/server.go - Device operations
internal/server/device_api.go - Modem management
internal/device/manager.go - Modem discovery
internal/modem/discovery.go - eSIM management
internal/device/esim.go - Scheduled tasks
internal/server/automatic_tasks.go
Communications
- SMS service
internal/server/sms_api.go - WiFi Calling
internal/vowifi/orchestrator.go - Proxy routing
internal/exportproxy/manager.go
State and operations
- SQLite state
internal/store/store.go - Authentication
internal/auth/service.go - Extensions
internal/extensions/manager.go - Logs and audit
internal/loghub/hub.go - Notifications
internal/server/sms_notifications.go
Other components
- Operator
Connections 26
- Operator → Application routes: uses
README.md - Application routes → Auth state: provides auth
web/src/App.tsx - Application routes → Device console: routes to
web/src/App.tsx - Application routes → Task console: routes to
web/src/App.tsx - Application routes → SMS console: routes to
web/src/App.tsx - Application routes → Settings console: routes to
web/src/App.tsx - Device console → API client: requests data
web/src/pages/DevicesPage.tsx - Task console → API client: manages tasks
web/src/pages/AutomaticTasksPage.tsx - SMS console → API client: requests SMS
- Settings console → API client: updates settings
- eSIM controls → API client: requests profiles
- API client → HTTP API: calls API
README.md - HTTP API → Authentication: authenticates
- HTTP API → Device operations: routes operations
- Device operations → Modem management: controls modem
- Modem management → Modem discovery: discovers hardware
- Device operations → eSIM management: manages profiles
- HTTP API → Scheduled tasks: runs schedules
- Scheduled tasks → SQLite state: persists tasks
- HTTP API → SMS service: handles messaging
- SMS service → Notifications: forwards inbound
README.md - Modem management → WiFi Calling: supports calling
README.md - HTTP API → Proxy routing: configures routing
README.md - HTTP API → SQLite state: persists state
README.md - HTTP API → Extensions: manages extensions
README.md - HTTP API → Logs and audit: emits operational logs
README.md