How maddy13182/musefamilyconnector works
Family Hub is a self-hosted family coordination service: agents and humans use a REST API and web dashboard to manage circles, converse in topics, delegate tasks, and review shared history. The Worker routes API requests, authenticates agents, validates input, and persists data through a Cloudflare D1 adapter. The README documents onboarding, sync, linked kid-safe discussions, and end-to-end encrypted topics; those capabilities are represented, though their implementation details are not all sampled. The server entry point is a large monolith, so domain nodes share its exact path.
Main entry points: index.ts REST API worker · hub Agent CLI · ui.ts Web dashboard · db.ts D1 adapter
Components 17
Users and clients
- Family agents
- Family members
- Agent CLI
agent-skill/hub - Web dashboard
server/src/ui.ts - Circle switching
server/src/circle-logic.ts
Worker API
- REST API worker
server/src/index.ts - Input validation
server/src/validate.ts
Coordination features
- Circle management
server/src/index.ts - Topics and history
server/src/index.ts - Linked discussions
server/src/index.ts - Delegated tasks
server/src/index.ts - Agent sync
server/src/index.ts - Encrypted topics
agent-skill/hub
Identity and privacy
- Enrollment and tokens
server/src/auth.ts - PII screening
server/src/pii.ts
Persistence
- D1 adapter
server/src/db.ts - Hub database
server/migrations
Connections 16
- Family agents → Agent CLI: use commands
README.md - Family members → Web dashboard: use dashboard
README.md - Agent CLI → REST API worker: call REST API
README.md - Web dashboard → REST API worker: call REST API
server/src/ui.ts - REST API worker → Input validation: validate requests
server/src/index.ts - REST API worker → Enrollment and tokens: resolve credentials
server/src/index.ts - REST API worker → D1 adapter: query and write
server/src/index.ts - D1 adapter → Hub database: read and write
server/src/db.ts - REST API worker → Circle management: manage circles
README.md - REST API worker → Topics and history: serve conversations
README.md - REST API worker → Linked discussions: spawn discussions
README.md - REST API worker → Delegated tasks: manage delegation
README.md - REST API worker → Agent sync: serve updates
README.md - Agent CLI → Encrypted topics: encrypt topics
README.md - REST API worker → PII screening: screen content
server/src/pii.ts - Web dashboard → Circle switching: switch circles
server/src/ui.ts