osxphotos
PhotoPrism
osxphotos | PhotoPrism | |
---|---|---|
96 | 510 | |
1,699 | 32,687 | |
- | 1.3% | |
9.4 | 9.9 | |
3 days ago | about 18 hours ago | |
Python | Go | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
osxphotos
-
Cleaning up my 200GB iCloud with some JavaScript
> Any method that I've found to clean them up (exporting the originals, deleting them from the library, and then re-importing the JPEGs only seems easiest) will lose all of the years of metadata that I've built up in the library.
The open source tool osxphotos (https://github.com/RhetTbull/osxphotos) can help with this. You can export the JPEG images while preserving metadata using the thrid-party exiftool utility:
`osxphotos export /path/to/export --has-raw --skip-raw --exiftool`
This exports all images that have a raw pair but skips the raw component then uses exiftool (https://exiftool.org/) to write the metadata (keywords, etc.) to the exported JPEG files. You can then re-import these into photos either by dragging them or by running `osxphotos import /path/to/export/*`
Both the export and import commands have many other options for controlling export directory, etc. `osxphotos help export` or `osxphotos docs` to open docs in browser. (Disclaimer: I'm the author of osxphotos)
-
pipx install osxphotos fails
See the issue tracker if you want to follow along. Hopefully this is an easy fix and I can push a patch today.
-
Delete empty albums
In response to a question on the osxphotos GitHub Discussions page, I wrote a quick script to do prune empty albums and folders from Photos that can be run with osxphotos (version 0.65.0 and later). You can run the script directly from GitHub without downloading it first via:
-
Library backup
You could try opening the library with PowerPhotos, a commercial app that can manage multiple Photos libraries, to see if it can read it. You could also try my free open source command line tool, osxphotos. Install it then run this command in the Terminal: osxphotos info --library /path/to/the/library This should print out a list of information about the library: number of photos, number of albums, keywords in the library, etc. If that works, then osxphotos can read the library and can likely export the photos for you so you could re-import into a new library.
-
Exploring EXIF
I'm the author of the osxphotos[0] tool mentioned in the article. For photos in an Apple Photos library, osxphotos gives you access to a rich set of metadata beyond what's in the actual EXIF/IPTC/XMP of the image. Apple performs object classification and other AI techniques on your images but generally doesn't expose this to the user. For example, photos are categorized as to object in them (dog, cat, breed of dog, etc.), rich reverse geolocation info (neighborhood, landmarks, etc.) and an interesting set of scores such as "overall aesthetic", "pleasant camera tilt", "harmonious colors", etc. These can be queried using osxphotos, either from the command line, or in your own python code. (Ref API docs[1])
For example, to find your "best" photos based on overall aesthetic score and add them to the album "Best Photos" you could run:
osxphotos query --query-eval "photo.score.overall > 0.8" --add-to-album "Best Photos"
To find good photos with trees in them you could try something like:
osxphotos query --query-eval "photo.score.overall > 0.5" --label Tree --add-to-album "Good Tree Photos"
There's quite a bit of other interesting data in Photos that you can explore with osxphotos. Run `osxphotos inspect` and it will show you all the metadata for whichever photo is currently selected in the Photos app.
[0] https://github.com/RhetTbull/osxphotos
-
Third Party Apps that work with Apple Photos Library
osxphotos is my own tool for power users to interact with Photos from the command line: export, batch edit, sync metadata, import, etc.
-
Alpha support for macOS Sonoma
osxphotos v0.60.8 adds initial alpha support for macOS Sonoma (macOS 14.0.0 / Photos 9.0). Everything seems to be working but if you are beta testing Sonoma and use osxphotos I'd welcome any feedback you have!
- How can I export my iCloud photo library to Amazon Photos on Mac OS?
-
Shared Library: Albums Arenβt Shared
I'm the author of the free/open source tool osxphotos which provides several utilities fo working with Photos and exporting your photos. You can use the batch-edit feature to automatically add the album name as a keyword and I believe keywords are shared across users. (I don't use shared libraries so can't confirm this). I am working on a feature to then automatically re-create the albums from the keywords on the target library. For now the keywords is a partial work around.
-
any program for MACOS or for Ubuntu that is free that allows you to edit the meta tags of photos en masse. Thanks!
If you want to edit batch metadata of photos that are in the Apple Photos app on a Mac, I'm the author of a free tool, osxphotos that includes a batch-edit command that will edit the metadata in the Photos library.
PhotoPrism
-
Show HN: Memories, FOSS Google Photos alternative built for high performance
I have been using https://www.photoprism.app for a couple of years, and it works better than expected, with the latest updates it's actually quite fast and the face tagging works reasonably well.
-
Ente: Open-Source, E2E Encrypted, Google Photos Alternative
For self-hosting, there's Photoprism[1] as well.
Ente's strength lies in end-to-end encryption[2] and its cloud[3] offering so you don't have to worry about reliability.
So if self-hosting is what you're after, Immich, Photoprism and Damselfly (TIL!) are perhaps better designed to serve your needs.
[1]: https://github.com/photoprism/photoprism
[2]: https://ente.io/architecture
[3]: https://ente.io/reliability
-
Switching to Android Was Easy
For quite a while I'm also in search for a solution which allows me to share galleries with my family, without having to ask them to jump through hoops in order to access them.
After some searching I'm now testing photoprism [1] which is a fantastic application, especially for self-hosting of photos. There's no mobile app for it (yet) and user-management is just starting to get implemented, but it shows alot of promise. Unfortunately not yet enough for putting it on the tablet of my granny but one can hope (and donate!)
Either way, I'm afraid that building a good mobile gallery app is an equally large task, after all the best solution would be to replace the users' native gallery-app with an equivalent that also supports custom Online-Galleries...
[1]: https://www.photoprism.app/
-
I write HTTP services in Go after 13 years (Mat Ryer, 2024)
out of curiosity, why no sort-of-established pkg and internal dirs? What do you think of https://github.com/photoprism/photoprism structure?
-
Escaping Surveillance Capitalism, at Scale
Thank you!
Ente was first a piece of hardware, then a self-host-able project, but we had a hard time monetizing both, which lead to the E2EE pivot.
TIL about TagSpaces, thanks!
Our server can be open-sourced, but we're unsure of the value E2EE will provide, with services like Photoprism[1] and Immich[2] already doing a good job of serving customers who prefer to self host. In this context E2EE might become a constraint, rather than a feature.
[1]: https://github.com/photoprism/photoprism
[2]: https://github.com/immich-app/immich
-
Google Photos alternative with OCR
Ive seen github issues like this one https://github.com/photoprism/photoprism/issues/907 in which it is implied that this is very very difficult.
- New Release 231128-f48ff16ef βοΈπ
-
Photo gallery frontend with encryption and search
Hi. I want to implement an image server similar to Photoprism using ImageAI to tag images based on objects and context. However I don't want to spend to much time working on the frontend, at first I were thinking about using Danbooru and use Flexbooru or the web interface on my phone. But it doesn't have any encryption or password protection (since the purpose of it is to be used as a public image board).
-
Suche Fotoverwaltungssoftware
https://www.photoprism.app in Docker.
-
Ask HN: How do you manage photos, philosophically?
PhotoPrism[0] and some ugly plumbing[1] to semantically tag all images in the gallery.
0: https://github.com/photoprism/photoprism
What are some alternatives?
exiftool - ExifTool meta information reader/writer
Piwigo - Manage your photos with Piwigo, a full featured open source photo gallery application for the web. Star us on Github! More than 200 plugins and themes available. Join us and contribute!
icloud-drive-docker - Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
immich - High performance self-hosted photo and video management solution.
photos_time_warp - Batch adjust the date, time, or timezone of photos in Apple Photos from the Mac command line.
librephotos - A self-hosted open source photo management service. This is the repository of the backend.
icloud_photos_downloader - A command-line tool to download photos from iCloud
Lychee - A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
ipyflow - A reactive Python kernel for Jupyter notebooks.
Photonix - A modern, web-based photo management server. Run it on your home server and it will let you find the right photo from your collection on any device. Smart filtering is made possible by object recognition, face recognition, location awareness, color analysis and other ML algorithms.
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
Photoview - Photo gallery for self-hosted personal servers [Moved to: https://github.com/photoview/photoview]