PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow
-
-
Interesting. It’d be good to have a modern photo app on Cloudron. I wonder, with all that Google technology, how much does it call home.
-
AFAIK, I think it's all done locally (it's just using Google' libraries). Atleast, their demo looks really nice. It categorizes pictures by photos and location.
-
@yusf said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
how much does it call home
I'm not a dev but a simple search showed me this apps call at least google maps
-
@JOduMonT I see. No surprise an app built with Google tech leaks, I guess.
It makes me want security profiles of all the apps in regards to homephoning etc…
-
@yusf said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
It makes me want security profiles of all the apps in regards to homephoning etc…
I don't really understand what you try to say but for me, even I try to stay far from the GAFAM, I just feel it's normal than Google use and promote Google Products such as Golang and Google Maps.
-
Go and TensorFlow are things that were/are built by Google, but it not a "Google Product" in the way that most think about. They are Open Source projects that Google contributes to. They are as Google as React is a Facebook product and Kafka is a LinkedIn (or Microsoft) one.
Most everything making reference to Google is, in some way, related to Location info. Here is the detailed sheet on Geocoding:
https://github.com/photoprism/photoprism/wiki/Geocoding
Generally, it appears that they are using OSM for goecoding but are using several tools or algorithms built by Google in the process.
-
But what about privacy issues like these?
-
@yusf that is referring to the build process. When building you fetch the index of dependencies from somewhere. By default this is a Google server (because Google maintains it). For Node it's a NodeJS server. For Python it's a Python.org server.
In all of these cases (including Go), you can replace it with any private server or proxy you'd like.
But in any rate, it has no impact on the running software.
-
Given PhotoPrism is seemingly now both the most popular and the most actively developed self-hosted photo gallery solution (see https://selfhosted.libhunt.com/categories/1707-photo-and-video-galleries ) I'd really like to have it on Cloudron in order to experiment with using it to replace my Flickr Pro account....
-
Yes we will package that app once it reaches a stable release. I've met with the developers in person already so we are on track here
-
@nebulon great to know, thanks!
When you met with the developers were they able to indicate when they are hoping to release a stable release? Hopefully in the near future!
-
They did not have any release date yet and also didn't want to be pressured in that way as far as I can tell. Their focus is on a solid release rather than getting things out quickly. Also it is really only a two people project and they also have to figure out some business model to be able to keep working on it.
-
@nebulon hopefully they'll do a release once their MVP milestone is reached, which looks tantalisingly close:
-
I wrote with them just to clarify the possibilities to upload pics from mobile (Android / IOS). Here is the answer:
"Für den Upload mit dem Smartphone können Apps wie PhotoSync oder auch Nextcloud genutzt werden. Wir unterstützen WebDAV als offene Schnittstelle, sind also kompatibel zu vielen anderen Anwendungen."
credits to Deepl:
"For uploading with the smartphone, apps like PhotoSync or even Nextcloud can be used. We support WebDAV as an open interface, so we are compatible with many other apps."
Seems to be the first #Google #Photos #Alternative I would like to use.
-
@captain-kirk yeah I'm really looking forward to this being released. Think I'll finally be able to cancel my Flickr subscription
-
It would be great if this would somehow work with local directories or more inexpensive storage spaces. . I know there has been some talk about different ways of extending cloudron/ nextcloud storage. I tend to lag behind on these forums and with cloudron in general. So I am not sure where things stand with this. But thought I would add this comment.
-
@seeker hopefully once it's released and then packaged for Cloudron it'll play nicely with the new Volumes in Cloudron 6.0, see https://docs.cloudron.io/storage/#volumes
-
@jdaviescoates Thanks for sharing. I knew I had read things about volumes being expanded in cloudron.
I have long wanted a google alternative for photos. I hope that the photoprism is found to alleviate the privacy concerns mentioned prior in this thread. I would still be a little concerned about uploading all of my photos online. But a selection for photoprism to work its magic on. That would be nice.
I would really love a way to extend volumes to a pc at home or at the office.
-
@seeker said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
I hope that the photoprism is found to alleviate the privacy concerns mentioned prior in this thread
I'm fairly certain those concerns are unfounded. Somewhere on GitHub, in response to a feature request, I think, the authors rejected the idea of deeper integration with Google because they too want a private alternative, hence creating what they have.
-
@jdaviescoates is there a bounty up for this one? I would be interested in packaging it after I'm done with my current effort if there's a bounty
-
@doodlemania2 I think perhaps you're confusing me with @marcusquinn who has sponsored various packages
I'm barely breaking even and so have not sponsored any!
But I also think @nebulon will perhaps be up for packaging this once it's actually release - he's previously met with the developers because I think they all live in Berlin.
So, um, great! But, it hasn't been released yet, I'm not sure there is any bounty, and I think perhaps no bounty will be necessary.
-
@jdaviescoates ah - no worries - i'm interested in it too, just didn't know if there was a bounty out there, I know there's lots of those flying around
-
Right, we have to wait for a first upstream release in order to get going with the packaging.
-
@nebulon tell em to hurry! hehe
-
@doodlemania2 I just noticed they hit their MVP milestone 2 days ago https://github.com/photoprism/photoprism/milestone/1
And they've got some docs here too:
https://docs.photoprism.org/getting-started/ -
Theresa from the PhotoPrism team contacted me yesterday about next steps to get a package out. Lets see how far we can get this week.
-
Any updates on this... would love to have this on Cloudron. Don't mean to nudge, just curious how it's going with packaging.
-
While we are in contact with the upstream devs, I have not managed to build a working package yet, since installation of tensorflow appears to be very particular.
-
Ok, thanks much for the update. Wish I could help with the packaging, but I've got zero skills or experience to contribute to that. Would be amazing to have this on Cloudron at some point, it seems to be the most promising Google Photos alternative.
-
@nebulon said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
have not managed to build a working package yet, since installation of tensorflow appears to be very particular.
Are you still working on this?
Manage to work out how to install tensorflow?
Thanks!
-
@nebulon Any ideas when it could be available?
-
@nebulon I'd be interested in sponsoring this to happen. Not sure how much $$ that'd be but if you or someone else is interested please let me know.
-
@moonmeister Might also be interesting if you contact the photoprism team itself for packaging this. If they are interested, we can help them out (but you can pay them alone). AFAIK, they are also a small team and any help them get would be appreciated by them.
-
@girish will do
-
Okay, I decided to take a crack at packaging this and was surprisingly successful.
I've detailed some of the more technical things over on the PhotoPrism Github: https://github.com/photoprism/photoprism/issues/1284
For anyone who wants to expriment the docker image is
moonmeister/cloudron-photoprism:0.1.3
and the configs can be found here https://github.com/moonmeister/photoprism/tree/feat/cloudron-image/docker/cloudronPLEASE NOTE: "Working" is currently defined as "You can log in". Basic features like, uploading photos are still broken.
@girish I'm currious what you need when this is all working to publish. Meaning, do you need a dedicated repo with the manifest and Dockerfiles and all associated info? Can this be anywhere or does it need to be in the cloudron gitlab? Or can this stuff live in the PhotoPrism repository in a subfolder?
I think that's everything I have for now. Anything else I should know? thanks.
-
@moonmeister ah impressive, so you were able to deal with tensorflow using our base image? Looking at your Dockerfiles you seem to temporarily rely on
moonmeister/photoprism-dev:test2
is this something which could be put into that Dockerfile for completeness to have version pinned releases in the package? -
@nebulon Yes, If you checkout my GitHub issue on the PhotoPrism I address that issue. Basically, PhotoPrism doesn't release builds, they release a docker image. That image is built on Ubuntu 12.10. To make the build compatible with 12.04 I had to rebuild their dev image which is what that image is. Before I duplicated all that I was waiting to see if they had any feedback to optimize the process.
-
@nebulon As to tensorflow...I just modified their production
Dockerfile
. I assume it works as of yet. -
@nebulon so photoprism is running on 20.10 due to bugs in some dependencies on 20.04. Is it possible to get a 20.10 base image or do I need to figure out backport those dependencies?
See https://github.com/photoprism/photoprism/issues/1284#issuecomment-841406953 for context.
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A
20.1021.04 base image sounds much easier if y'all can provide that. -
@moonmeister why not take the binary from 20.10 and use it on 20.04? Or use a statically compiled one that works anywhere?
-
@robi Cause it's dynamically compiled. I'm not sure about statically compiling it but it's something I will look into doing.
UPDATE: Static binaries are not an option.
-
i am no dev, but as a common user i am looking forward to see this happen!!
keep as posted!
-
@moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.
@nebulon is this possible?
-
Photoprism gets face detection. Shared albums on its way.
https://docs.photoprism.org/release-notes/ -
@moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
@moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.
@nebulon is this possible?
I assume it is possible but I think it's Cloudron policy to only support Ubuntu LTS (which I think is wise - but I hope it doesn't mean we'll have to wait until April 2022 for PhotoPrism?!?)
-
@jdaviescoates Since we use Docker, the base OS is usually not that relevant. We can always compile the required ffmpeg for Ubuntu 20.04 (which the app containers are based on).
-
@girish I don't really understand, but great!
-
I'm interested in using this. What is currently preventing this from being on the app store?
-
@eyecreate no one has packaged it. It seems for some reason it's isn't easy to package, but I don't really understand what the issue is.
-
PhotoPrism looks beautiful. It is a pity there is no timeline view to go with the Calendar view.
Thanks for helping bring this to Cloudron.
-
@nebulon I wonder if there is a way to have a cloudron hosted server for the queries to go to.
-
chris
-
chris
-
chris
-
@jdaviescoates is there a way to crowdfund people who can package stuff?
-
@eddowding Holy crap this
-
-
chris
-
I also upvote it. Is there a real alternative avaible to this?
-
Any update on this? Cloudron lacks a proper personal photo-video management at the moment. Lychee does not do videos as far as I know. What are others using?
-
@timka pixelfed and lychee are both available on Cloudron. It would be nice to have PhotoPrism too.
-
I'd really like to replace my Flickr account with PhotoPrism.
I note there are a bunch of Docker files here:
https://hub.docker.com/r/photoprism/photoprism/tagsAlso, in the Development preview the Docker has upgraded base image to Debian 12 "Bookworm", which includes FFmpeg 4.4.1 and Darktable 3.8.1
I seem remember it was something about FFmpeg which was stopping this getting packaged before. I wonder if @appdev @staff could take another look (or @nebulon could reach out to the developers again?)
Thanks!
-
@jdaviescoates I've been using photoprism in docker-compose and it's...eh. Functional, but not very attractive of an interface. Just random commentary. Would love to see it in the store.