How silentprovider423/homeroll works
HomeRoll is a native iOS client for a self-hosted Immich photo server. The primary flow is sign-in, load and cache a photo timeline, then browse or search assets, view them, and optionally edit or share them. Separate product branches cover collections and memories, device-to-server backup and verified space freeing, and widget/share-extension support. Edges follow excerpted calls, SOURCE INDEX references, or README statements; some feature internals were not sampled, so their links are limited to documented or indexed relationships.
Main entry points: ImmichClient.swift Immich API client · RootView.swift App navigation · ViewerView.swift Photo and video viewer · CollectionDetail.swift Collection detail
Components 30
App shell
- App navigation
App/RootView.swift - Sign-in and SSO
App/Login/LoginView.swift - Immich API client
App/API/ImmichClient.swift
Library and viewing
- Offline timeline
App/Library/TimelineStore.swift - Photo library grid
App/Library/LibraryView.swift - Grid rendering
App/Library/PhotoGrid.swift - Photo and video viewer
App/Viewer/ViewerView.swift - Video playback state
App/Viewer/VideoState.swift
Collections and discovery
- Live search
App/Search/SearchView.swift - Collections browser
App/Collections/CollectionsView.swift - Collection detail
App/Collections/CollectionDetail.swift - Smart categories
App/Collections/SmartAlbums.swift - Locked folders
App/Collections/LockedFolder.swift - Memories
App/Collections/Memories.swift - Memory player
App/Collections/MemoryPlayer.swift
Editing and sharing
- Photo editor
App/Editor/EditModel.swift - Markup editor
App/Editor/MarkupEditor.swift - Video trim
App/Editor/VideoTrimView.swift - Asset actions
App/Core/AssetActions.swift - File sharing
App/Core/ShareService.swift - Share links
App/Core/ShareLinkSheet.swift
Backup and integrations
- Backup controls
App/Backup/BackupView.swift - Backup engine
App/Backup/BackupEngine.swift - Background uploader
App/Backup/BackgroundUploader.swift - Verified space freeing
App/Backup/FreeUp.swift - Share extension
Share/ShareViewController.swift - App group storage
Shared/AppGroup.swift - Memories widget
Widget/FotosWidget.swift
Other components
- iPhone user
- Immich server
Connections 44
- iPhone user → App navigation: uses
README.md - App navigation → Sign-in and SSO: presents
App/FotosApp.swift - Sign-in and SSO → Immich API client: authenticates with
App/Login/LoginView.swift - Immich API client → Immich server: sends requests
README.md - App navigation → Photo library grid: routes to
App/RootView.swift - App navigation → Collections browser: routes to
App/RootView.swift - App navigation → Live search: routes to
App/RootView.swift - App navigation → Photo and video viewer: opens
App/RootView.swift - App navigation → Memory player: opens
App/RootView.swift - Photo library grid → Offline timeline: reads timeline
App/Library/LibraryView.swift - Photo library grid → Grid rendering: renders grid
App/Library/LibraryView.swift - Offline timeline → Immich API client: loads buckets
App/Library/TimelineStore.swift - Grid rendering → Immich API client: loads previews
App/Library/PhotoGrid.swift - Photo and video viewer → Offline timeline: reads assets
App/Viewer/ViewerView.swift - Photo and video viewer → Video playback state: delegates playback
App/Viewer/ViewerView.swift - Photo and video viewer → Photo editor: opens editor
App/Viewer/ViewerView.swift - Photo and video viewer → Video trim: opens trim
App/Viewer/ViewerView.swift - Photo and video viewer → Asset actions: invokes actions
App/Viewer/ViewerView.swift - Live search → Immich API client: searches assets
App/Search/SearchView.swift - Live search → Collection detail: shows results
App/Search/SearchView.swift - Collections browser → Collection detail: opens detail
App/Collections/CollectionsView.swift - Collection detail → Offline timeline: reads assets
App/Collections/CollectionDetail.swift - Collection detail → Smart categories: uses categories
App/Collections/CollectionDetail.swift - Collection detail → Immich API client: fetches collection data
App/Collections/CollectionDetail.swift - Collections browser → Memories: offers memories
App/Collections/CollectionsView.swift - Memories → Memory player: opens player
App/Collections/Memories.swift - Memories → Immich API client: loads memory assets
App/Collections/Memories.swift - App navigation → Locked folders: routes locked folders
App/RootView.swift - Locked folders → Immich API client: loads protected assets
App/Collections/LockedFolder.swift - Photo editor → Immich API client: saves edits
App/Editor/EditModel.swift - Photo editor → Markup editor: uses markup
- Video trim → Immich API client: saves video edits
App/Editor/VideoTrimView.swift - Asset actions → Immich API client: updates assets
App/Core/AssetActions.swift - Asset actions → File sharing: starts sharing
App/Core/AssetActions.swift - File sharing → Immich API client: downloads originals
App/Core/ShareService.swift - Share links → Immich API client: manages links
App/Core/ShareLinkSheet.swift - App navigation → Backup controls: opens backup
- Backup controls → Backup engine: controls backup
App/Backup/BackupView.swift - Backup engine → Immich API client: uploads originals
App/Backup/BackupEngine.swift - Backup engine → Background uploader: schedules uploads
App/Backup/BackupEngine.swift - Backup controls → Verified space freeing: offers space freeing
README.md - Share extension → App group storage: reads shared access
Share/ShareViewController.swift - App navigation → App group storage: writes widget snapshot
Shared/AppGroup.swift - Memories widget → App group storage: reads snapshot
Shared/AppGroup.swift