-
-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Description
Description & Checkpoints
I've implemented a comprehensive Photos module that enables users to access and search their Apple Photos library, with special focus on finding screenshots.
-
New Photos Module:
- Created a new
utils/photos.ts
module that interfaces with Apple Photos via JXA - Added type definitions, error handling, and comprehensive methods for working with photos
- Created a new
-
Core Photo Search Functionality:
getAllAlbums
: Lists all photo albums in the librarygetPhotosFromAlbum
: Retrieves photos from a specific albumsearchPhotosByText
: Searches photos by text across filenames, descriptions, and keywordssearchPhotosByDateRange
: Finds photos within a date rangegetFavoritePhotos
: Returns favorite/starred photosgetMemories
: Accesses memory collections (trips, events, etc.)getRecentPhotos
: Gets most recent photosgetPeople
: Lists recognized people in PhotosgetPhotosByPerson
: Finds photos of specific people
-
Screenshot-Specific Features:
- Added a dedicated
findScreenshots
function that uses multiple methods to identify screenshots:- Filename patterns (Screenshot, Screen Shot)
- Album membership (Screenshots albums)
- Keywords
- File types (PNG) with screenshot metadata
- Created a specialized
screenshots
operation that offers a more seamless user experience
- Added a dedicated
-
Photo Management:
exportPhoto
: Export photos to a specific locationopenPhoto
: Open a photo in the Photos app
This implementation enables Claude users to easily work with their Photos library, with particular emphasis on finding screenshots across their devices.
Metadata
Metadata
Assignees
Labels
No labels