How sureshmagix/remote-care works
Remote Care Monitor is a local-first desktop and headless monitoring application. Users configure monitors and settings in the dashboard; the monitor engine runs checks, records status transitions and history locally, and presents alerts. The app also supports authentication, reports, webhooks, and optional cloud publishing and history sync. The graph includes these documented branches, though some implementations are unsampled and are represented only at their existing source directories. Edges reflect calls visible in excerpts or capabilities and relationships documented in the README.
Main entry points: index.js Headless daemon · database.js SQLite store · app.js Desktop app · monitor-engine.js Monitor engine
Components 18
Desktop interface
- Desktop app
src/main/app.js - Dashboard
src/renderer/app.js - Authentication
src/main/auth.js - Sign-in launch
src/main/autostart.js - Desktop alerts
src/main/notification-center.js - Alert renderer
src/renderer/notification.js
Monitoring
- Monitor engine
src/main/monitor-engine.js - Monitor checks
src/main/checks.js - Headless daemon
src/daemon/index.js
Local data
- SQLite store
src/main/database.js - History and reports
src/main/database.js
External delivery
- Webhook delivery
src/main/webhooks.js - Cloud publisher
src/main/cloud-publisher.js - Device heartbeat
src/main/heartbeat.js - History sync
src/main/history-sync.js
Other components
- Operator
- Webhook endpoint
- Cloud endpoint
Connections 26
- Operator → Dashboard: uses
README.md - Dashboard → Desktop app: sends actions
- Desktop app → Authentication: verifies credentials
src/main/app.js - Desktop app → SQLite store: reads and writes
src/main/app.js - Desktop app → Monitor engine: starts monitoring
src/main/app.js - Desktop app → Desktop alerts: dispatches alerts
src/main/app.js - Desktop app → Sign-in launch: registers launch
README.md - Monitor engine → Monitor checks: executes checks
src/main/monitor-engine.js - Monitor engine → SQLite store: records results
src/main/monitor-engine.js - Monitor engine → Desktop alerts: signals transitions
- SQLite store → History and reports: stores history
README.md - Desktop alerts → Alert renderer: sends alert data
src/main/notification-center.js - Headless daemon → Monitor engine: starts monitoring
src/daemon/index.js - Headless daemon → SQLite store: opens local store
src/daemon/index.js - Headless daemon → Webhook delivery: dispatches events
src/daemon/index.js - Webhook delivery → Webhook endpoint: posts alerts
src/main/webhooks.js - Headless daemon → Cloud publisher: starts publishing
src/daemon/index.js - Headless daemon → Device heartbeat: starts heartbeat
src/daemon/index.js - Headless daemon → History sync: starts sync
src/daemon/index.js - Cloud publisher → SQLite store: reads queued events
src/main/cloud-publisher.js - Cloud publisher → Cloud endpoint: posts batches
src/main/cloud-publisher.js - Device heartbeat → SQLite store: queues telemetry
src/main/heartbeat.js - Device heartbeat → Cloud publisher: triggers publish
src/main/heartbeat.js - History sync → SQLite store: reads history
src/main/history-sync.js - History sync → Cloud endpoint: sends history
src/main/history-sync.js - Dashboard → History and reports: views and exports
README.md