How openfotos/openfotos-platform works
OneNodeAI Studio is a photographer-facing desktop and Django service for private wedding-photo ingestion, publication, browsing, and event-scoped face search. The main workflow selects an event sub-event, scans and validates local images, prepares derivatives and face data, transfers originals, then lets the server reconcile contributions and publish a frozen gallery snapshot. Server-side event, access, gallery, and search capabilities are documented, though several corresponding modules were not sampled. The graph uses README and source-index evidence; unsampled internals are represented at their exact existing paths, with uncertain links omitted.
Main entry points: batch_sync.py Batch synchronization · ingestion_services.py Contribution lifecycle · ui.py Studio workflow · face_services.py Face indexing
Components 21
Desktop Studio
- Studio workflow
apps/desktop/src/openfotos_desktop/ui.py - Folder scanner
apps/desktop/src/openfotos_desktop/ingestion/scanner.py - Image validation
apps/desktop/src/openfotos_desktop/ingestion/validation.py - Local checkpoint
apps/desktop/src/openfotos_desktop/ingestion/checkpoint.py - Batch synchronization
apps/desktop/src/openfotos_desktop/batch_sync.py - Derivative generation
apps/desktop/src/openfotos_desktop/derivatives.py - Model download
apps/desktop/src/openfotos_desktop/face_models.py - Server API client
apps/desktop/src/openfotos_desktop/api_client.py - Object transfer
apps/desktop/src/openfotos_desktop/object_transfer.py
Event Server
- Event API
apps/server/src/openfotos_server/events/api.py - Contribution lifecycle
apps/server/src/openfotos_server/events/ingestion_services.py - Event publication
apps/server/src/openfotos_server/events/event_lifecycle.py - Event records
apps/server/src/openfotos_server/events/models.py - Private object storage
packages/storage/src/openfotos_storage/backend.py - Preview services
apps/server/src/openfotos_server/events/derivative_services.py - Gallery and sharing
apps/server/src/openfotos_server/events/gallery_services.py - Face indexing
apps/server/src/openfotos_server/events/face_services.py - Face search
apps/server/src/openfotos_server/events/face_search_services.py
Shared Processing
- Shared API contracts
packages/contracts/src/openfotos_contracts/ingestion.py - Face engine
packages/vision/src/openfotos_vision/engines.py
Other components
- Photographer
Connections 29
- Photographer → Studio workflow: selects photos
- Studio workflow → Folder scanner: starts scan
apps/desktop/src/openfotos_desktop/ui.py - Folder scanner → Image validation: validates files
apps/desktop/src/openfotos_desktop/ingestion/scanner.py - Folder scanner → Local checkpoint: saves inventory
apps/desktop/src/openfotos_desktop/ingestion/scanner.py - Studio workflow → Local checkpoint: uses inventory
apps/desktop/src/openfotos_desktop/ui.py - Studio workflow → Batch synchronization: starts contribution
- Batch synchronization → Image validation: validates inputs
apps/desktop/src/openfotos_desktop/batch_sync.py - Batch synchronization → Derivative generation: creates previews
apps/desktop/src/openfotos_desktop/batch_sync.py - Batch synchronization → Model download: embeds faces
apps/desktop/src/openfotos_desktop/batch_sync.py - Batch synchronization → Object transfer: transfers objects
apps/desktop/src/openfotos_desktop/batch_sync.py - Batch synchronization → Server API client: calls API
- Server API client → Event API: sends requests
- Event API → Contribution lifecycle: dispatches ingestion
- Contribution lifecycle → Event records: updates records
apps/server/src/openfotos_server/events/ingestion_services.py - Contribution lifecycle → Event publication: checks lifecycle
apps/server/src/openfotos_server/events/ingestion_services.py - Contribution lifecycle → Private object storage: stores originals
apps/server/src/openfotos_server/events/ingestion_services.py - Contribution lifecycle → Preview services: coordinates derivatives
apps/server/src/openfotos_server/events/ingestion_services.py - Contribution lifecycle → Face indexing: coordinates indexing
apps/server/src/openfotos_server/events/ingestion_services.py - Preview services → Private object storage: stores previews
apps/server/src/openfotos_server/events/derivative_services.py - Event publication → Event records: transitions event
apps/server/src/openfotos_server/events/event_lifecycle.py - Face indexing → Event records: persists face data
apps/server/src/openfotos_server/events/face_services.py - Face search → Face indexing: uses face index
apps/server/src/openfotos_server/events/face_search_services.py - Face indexing → Face engine: uses face contracts
apps/server/src/openfotos_server/events/face_services.py - Batch synchronization → Shared API contracts: formats requests
apps/desktop/src/openfotos_desktop/batch_sync.py - Contribution lifecycle → Shared API contracts: validates requests
apps/server/src/openfotos_server/events/ingestion_services.py - Photographer → Gallery and sharing: publishes event
- Gallery and sharing → Event records: reads event data
- Gallery and sharing → Private object storage: serves media
- Photographer → Face search: searches photos