How ericerkz/kept works
Kept is a self-hosted notes product: users authenticate, capture and organize notes, then access them online or offline, with reminders, sharing and native-app integrations. The Angular client talks to the Node server; separate MCP entry points expose authenticated agent access. The graph includes documented product branches and sampled runtime connections. Some server routes and unsampled feature wiring are not shown, so those links are omitted or marked unverified.
Main entry points: server.js HTTP server · auth.service.ts Authentication · notes.service.ts Notes API client · reminder.service.ts Reminder service
Components 21
Web experience
- App shell
src/app/app.component.ts - Notes workspace
src/app/components/main/main.component.ts - Note editor
src/app/components/input/input.component.ts - Note cards
src/app/components/notes/notes.component.ts - Account management
src/app/components/auth/user-management/user-management.component.ts - Settings
src/app/components/settings/settings.component.ts
Client services
- Authentication
src/app/services/auth.service.ts - Notes API client
src/app/services/notes.service.ts - Offline cache
src/app/services/offline-store.service.ts - Offline sync
src/app/services/offline-sync.service.ts - Reminder service
src/app/services/reminder.service.ts - Push notifications
src/app/services/push-notification.service.ts
Server runtime
- HTTP server
server/server.js - Reminder recurrence
server/reminder-recurrence.js - Native client support
server/native-client.js - OAuth and MCP bridge
server/oauth-mcp.js
Agent access
- MCP entry point
mcp/index.mjs - MCP tools
mcp/server.mjs - Kept API client
mcp/kept-client.mjs
Other components
- Kept user
- Agent client
Connections 29
- Kept user → App shell: uses
README.md - App shell → Authentication: authenticates with
src/app/app.component.ts - Kept user → Notes workspace: captures notes
README.md - Notes workspace → Note editor: opens editor
- Notes workspace → Note cards: shows notes
- Notes workspace → Notes API client: uses
src/app/components/main/main.component.ts - Account management → Authentication: manages accounts
- Settings → Authentication: loads preferences
- Notes API client → Authentication: adds auth headers
src/app/services/notes.service.ts - Notes API client → Offline cache: caches notes
src/app/services/notes.service.ts - Notes API client → Offline sync: uses sync
src/app/services/notes.service.ts - Offline sync → Offline cache: reads and writes
src/app/services/offline-sync.service.ts - Kept user → Reminder service: sets reminders
README.md - Reminder service → Authentication: adds auth headers
src/app/services/reminder.service.ts - Reminder service → Offline cache: stores reminders
src/app/services/reminder.service.ts - Reminder service → Offline sync: uses sync
src/app/services/reminder.service.ts - App shell → Push notifications: requests permission
src/app/app.component.ts - Notes API client → HTTP server: calls HTTP API
- Authentication → HTTP server: calls HTTP API
- Reminder service → HTTP server: calls HTTP API
- HTTP server → Reminder recurrence: imports
server/server.js - HTTP server → Native client support: imports
server/server.js - HTTP server → OAuth and MCP bridge: imports
server/server.js - Agent client → MCP entry point: connects
README.md - MCP entry point → MCP tools: creates server
mcp/index.mjs - MCP entry point → Kept API client: creates client
mcp/index.mjs - MCP tools → Kept API client: invokes tools
mcp/server.mjs - Kept API client → HTTP server: calls authenticated API
- OAuth and MCP bridge → MCP tools: integrates MCP
server/oauth-mcp.js