How sidlnk/lore works
Lore is a self-hosted family photo and video library: paired Android devices upload originals over the home network, then browse and organize the shared catalogue. The graph follows the upload path from app queue through the resumable client to the server API, and includes documented browsing, organization, location, and administration capabilities. Several routes and app pages were not sampled; their inclusion reflects the README and source tree, while uncertain internal call edges are omitted.
Main entry points: LoreApiClient.cs HTTP API client · Program.cs API host and routing · MediaEndpoints.cs Media browsing routes · MediaAssetRow.cs Media catalogue record
Components 29
Android app
- Gallery and viewer
src/Lore.App/Pages/GalleryPage.cs - Timeline and filters
src/Lore.App/Pages/LibraryViewModel.cs - Organize screens
src/Lore.App/Pages/OrganizePages.cs - Places view
src/Lore.App/Pages/PlacesPage.cs - Pairing screen
src/Lore.App/Pages/PairingPage.xaml.cs - Device session
src/Lore.App/Services/Session.cs - Upload coordinator
src/Lore.App/Services/Uploads.cs - Background upload
src/Lore.App/Platforms/Android/UploadService.cs - Phone media access
src/Lore.App/Platforms/Android/DeviceGallery.cs - Free phone space
src/Lore.App/Services/FreeUp.cs - Organization actions
src/Lore.App/Services/Organizer.cs - Save to phone
src/Lore.App/Services/Saves.cs
Client and contracts
- HTTP API client
src/Lore.Client/LoreApiClient.cs - Resumable upload engine
src/Lore.Client/UploadEngine.cs - Persistent upload queue
src/Lore.Client/UploadQueue.cs - Shared DTOs
src/Lore.Contracts/Contracts.cs
Server API
- API host and routing
src/Lore.Api/Program.cs - Pairing and device routes
src/Lore.Api/Endpoints/DeviceEndpoints.cs - Upload routes
src/Lore.Api/Endpoints/UploadEndpoints.cs - Media browsing routes
src/Lore.Api/Endpoints/MediaEndpoints.cs - Organization routes
src/Lore.Api/Endpoints/OrganizeEndpoints.cs - Admin and app updates
src/Lore.Api/Endpoints/AdminEndpoints.cs - App version routes
src/Lore.Api/Endpoints/AppEndpoints.cs
Media and storage
- Media catalogue record
src/Lore.Api/Data/MediaAssetRow.cs - Metadata ingest
src/Lore.Api/Media/Ingest.cs - Thumbnail generation
src/Lore.Api/Media/Thumbnails.cs - Original file storage
src/Lore.Api/Storage/StorageVolume.cs - Database and upload maintenance
src/Lore.Api/Data/MaintenanceService.cs
Other components
- Family member
Connections 37
- Family member → Gallery and viewer: browses
README.md - Family member → Pairing screen: pairs device
README.md - Gallery and viewer → Timeline and filters: opens timeline
src/Lore.App/Pages/GalleryPage.cs - Timeline and filters → HTTP API client: requests media
src/Lore.App/Pages/LibraryViewModel.cs - Organize screens → Organization actions: invokes actions
src/Lore.App/Pages/OrganizePages.cs - Organization actions → HTTP API client: edits catalogue
src/Lore.App/Services/Organizer.cs - Places view → HTTP API client: loads places
- Pairing screen → Device session: pairs device
- Device session → HTTP API client: creates client
src/Lore.App/Services/Session.cs - Gallery and viewer → Upload coordinator: queues media
src/Lore.App/Pages/GalleryPage.cs - Upload coordinator → Persistent upload queue: persists items
src/Lore.App/Services/Uploads.cs - Upload coordinator → Background upload: starts service
src/Lore.App/Services/Uploads.cs - Background upload → Resumable upload engine: drains queue
src/Lore.App/Platforms/Android/UploadService.cs - Resumable upload engine → Persistent upload queue: updates items
src/Lore.Client/UploadEngine.cs - Resumable upload engine → HTTP API client: sends chunks
src/Lore.Client/UploadEngine.cs - HTTP API client → Upload routes: calls upload API
src/Lore.Client/LoreApiClient.cs - HTTP API client → Media browsing routes: calls media API
src/Lore.Client/LoreApiClient.cs - HTTP API client → Organization routes: calls organize API
src/Lore.Client/LoreApiClient.cs - HTTP API client → Pairing and device routes: calls pairing API
- HTTP API client → App version routes: checks app version
src/Lore.Client/LoreApiClient.cs - API host and routing → Pairing and device routes: maps routes
src/Lore.Api/Program.cs - API host and routing → Upload routes: maps routes
src/Lore.Api/Program.cs - API host and routing → Media browsing routes: maps routes
src/Lore.Api/Program.cs - API host and routing → Organization routes: maps routes
src/Lore.Api/Program.cs - API host and routing → Admin and app updates: maps routes
src/Lore.Api/Program.cs - API host and routing → App version routes: maps routes
src/Lore.Api/Program.cs - Media browsing routes → Thumbnail generation: serves derivatives
src/Lore.Api/Endpoints/MediaEndpoints.cs - Media browsing routes → Media catalogue record: uses catalogue record
src/Lore.Api/Endpoints/MediaEndpoints.cs - Organization routes → Media catalogue record: uses catalogue record
src/Lore.Api/Endpoints/OrganizeEndpoints.cs - Metadata ingest → Media catalogue record: populates metadata
src/Lore.Api/Media/Ingest.cs - Thumbnail generation → Media catalogue record: reads media metadata
src/Lore.Api/Media/Thumbnails.cs - Thumbnail generation → Original file storage: reads originals
- Free phone space → Phone media access: checks phone files
src/Lore.App/Services/FreeUp.cs - Free phone space → HTTP API client: verifies originals
src/Lore.App/Services/FreeUp.cs - Save to phone → Phone media access: writes phone media
src/Lore.App/Services/Saves.cs - Admin and app updates → Database and upload maintenance: reports maintenance
src/Lore.Api/Endpoints/AdminEndpoints.cs - Database and upload maintenance → Persistent upload queue: cleans abandoned uploads