Brian Hung
Palate
An iPhone app that turns your photos and screenshots into a private map of places, with a concierge that plans around them.
Reading a photo
Cloudevery photoPOST /v1/photos/upload/v1/sync/changesbelow 0.80.8 or moreNew photospicker, share, screenshotOCR and resolveVision, /extract-placesSuggestionDbPhotoPlaceSuggestionImageUploaderbackground URLSessionPhotoAppliercaption, tags, placesprismcaption, tags, storefrontreconcileEnrichmentcron, plus GPS nearbyLinked placeDbPlacePhotoEnrichment comes back through sync, so the places reach every device, not only the one that uploaded.
Syncing the library
iPhonetaste-apiWorker and Postgresoutbox, once signed inack clears pendingOpIdchanges since cursoroptimisticupsertappendread in orderSyncEngine.writedomain row + OutboxItemLocal SQLiteGRDB, what the UI readsEntityApplierskips un-acked rowsapplyMutationsPOST /v1/sync/mutationssync_logPostgres, ordered by seqgetChangesGET /v1/sync/changesSync runs on launch and after every write. Pulls run for everyone; the outbox waits for a real account.
Asking Atlas
iPhonetaste-apiCloudflare Workerturn, tool resultsevents, client-tool-callstreamTexttext, tool callssendPushDevice toolsGPS, calendar, my placesRemoteChatClient/v1/chat/connect socketPush notificationreply arrives via syncServer toolsweb_search, search_placesChatAgenta Durable Object per chatBackground researchDO alarm, no devicegemini-3.7-flashAI SDK streamTextDevice tools run on the phone mid-turn. Research runs later, with no phone, and pushes the answer.