Apple Photos sync pipeline #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Set up a way to get photos from Apple Photos / iCloud into the photo server on the NAS.
Recommended approach: iOS Shortcut on the Share Sheet
Select photos in Photos.app → tap Share → tap "Send to Frame" → done. No app to install, no sync to configure.
Shortcut steps:
https://photos.haunt.house/api/upload, headerAuthorization: Bearer <key>)Auth challenge: The upload endpoint is behind Google OAuth, and iOS Shortcuts can't easily do OAuth flows. Options:
/api/uploadfrom Traefik OAuth, server checksAPI_KEYenv var.nas.home.network:8473directlyRecommendation: API key auth on
/api/uploadand/api/photos/<name>(DELETE). AddAPI_KEYenv var to the photo server. Exempt those paths from Traefik OAuth with a priority router (like we do for/photoand/heartbeat). Shortcut sends the key as a bearer token.Other options evaluated
Implementation plan
API_KEYenv var to photo server, check on mutating endpoints/api/uploadand/api/photos/*from OAuth (with API key check instead)