How hugo-jouffre/memo-book works
MemoBook captures spoken travel memories in its iOS app, turns them into reviewed and structured book content, and generates a shareable or printable PDF. The backend also supports conversation, accounts, payments, notifications, and exports; the repository includes a separate browser-based book-composition generator. The README documents the main product stages and capabilities. Some backend jobs and iOS feature implementations were not sampled, so their internal call relationships are not asserted here.
Main entry points: app.ts HTTP API · MemoBookAPIClient.swift API client · jobs Memo pipeline · context.ts Service context
Components 27
iOS app
- MemoBook app
ios/App/MemoBookApp.swift - Onboarding
ios/Modules/Sources/MemoBookFeature/OnboardingStorage.swift - Voice capture
ios/Modules/Sources/MemoBookFeature/Recording - Memo management
ios/Modules/Sources/MemoBookFeature/MemoDetail - MEMO chat
ios/Modules/Sources/MemoBookFeature/Chat - Book preview
ios/Modules/Sources/MemoBookFeature/BookPreview/BookPreviewFlowView.swift - API client
ios/Modules/Sources/MemoBookNetworking/MemoBookAPIClient.swift
Backend
- HTTP API
backend/src/app.ts - Service context
backend/src/context.ts - Job queue
backend/src/jobs/queue.ts - Media storage
backend/src/services/storage.ts - PostgreSQL
Book production
- Memo pipeline
backend/src/jobs - Transcription
backend/src/services/transcription.ts - Story structuring
backend/src/services/structuring.ts - PDF rendering
backend/src/services/apitemplate.ts
Accounts and services
- Payments and wallet
backend/src/services/payments.ts - Privacy redaction
backend/src/services/redaction.ts - Notifications
backend/src/services/notifications.ts
Browser generator
- Composition tool
MemoBook Generator/public/app.js - Generator server
MemoBook Generator/server.mjs
Other components
- Traveller
- OpenAI
- Anthropic
- APITemplate
- Stripe
- Apple App Store
Connections 25
- Traveller → MemoBook app: uses
README.md - MemoBook app → Onboarding: opens
ios/App/MemoBookApp.swift - Traveller → Voice capture: records memories
README.md - Voice capture → API client: uploads audio
- Memo management → API client: syncs entries
- MEMO chat → API client: sends conversation
- Book preview → API client: requests preview
ios/Modules/Sources/MemoBookFeature/BookPreview/BookPreviewFlowView.swift - API client → HTTP API: sends HTTP requests
ios/Modules/Sources/MemoBookNetworking/MemoBookAPIClient.swift - HTTP API → Service context: uses services
backend/src/app.ts - Service context → Job queue: creates queue
backend/src/context.ts - Memo pipeline → Transcription: transcribes
README.md - Memo pipeline → Story structuring: structures stories
README.md - Memo pipeline → PDF rendering: renders book
README.md - Transcription → OpenAI: uses API
README.md - Story structuring → Anthropic: uses API
README.md - PDF rendering → APITemplate: renders with
README.md - HTTP API → Media storage: stores media
- Service context → PostgreSQL: connects to
backend/src/context.ts - HTTP API → Payments and wallet: serves payments
backend/src/app.ts - Payments and wallet → Stripe: uses payments API
README.md - HTTP API → Privacy redaction: provides redaction
- HTTP API → Notifications: provides notifications
- Traveller → Composition tool: composes books
README.md - Composition tool → Generator server: uses server
- Book preview → Apple App Store: supports subscription
README.md