Live data from Hacker News

PhotoPrism: AI-powered photos app for the decentralized web

github.com

61–70 of 187 posts

Re: PhotoPrism: AI-powered photos app for the decentralized web

#61
post #38

I deployed this recently and added a bunch of pictures to it. PhotoPrism prominently features an AI-generated (?) 'description' on each photo, but for 98% of my photos, it was unable to come up with any description. The install procedure is needlessly complicated, there's no good reason for an app like this to require docker. Overall, I was underwhelmed

> there's no good reason for an app like this to require docker. Well, there is a good reason. To make the install more simple. IMHO containerization makes selfhosting way easier.

I disagree with the contention that docker makes installs more simple. I would argue that it only makes installs more simple if you are already setup with Docker, and only when things go 100% correctly.

When I see a software application that recommends Docker for deployment, I always assume that I'm going to need to do extra work to make it behave correctly. Whether that is figuring out how to make it auto-start, or how to forward network ports, or how to share a data partition with the host OS.

Non-docker installs are simpler. At least, for my skill set.

Re: PhotoPrism: AI-powered photos app for the decentralized web

#62

I have tried to install this from source but it's quite difficult. I don't like deploying opaque docker images.

You can always build and tag your own docker image using the docker files included from source. Or simply follow the docker files as install instructions: [0] https://github.com/photoprism/photoprism/blob/develop/docker...

"simply follow the docker files"

I'm not sure if you perused the docker files for this repo, but imho there is nothing simple about them

Edit:

I was curious so I dug into them a bit and found that the dockerfile references a develop docker image. There is a second docker file to see how that base image is built. In the steps to build that base image, we grab some .zip files from the web for the AI models. We install go, nodejs, mariadb, etc for quite a few deps, and then there is also a substantial list of packages installed. One step also does:

  apt-get update && apt-get -qq dist-upgrade
Which seems a bit iffy to me. Each step calls a script which in turn has its own steps. Overall, I'd say the unfurled install script would be quite long and difficult to grok. Also, I'm not saying any of this is "bad," but it is complex.

Re: PhotoPrism: AI-powered photos app for the decentralized web

#63

Earlier quoted context omitted.

Yep. I like the design. I like the little globe that shows where your pictures come from. It is all neat. I actually would pay money for it, because right now I just watch pics/vids from trips manually. I would not want to install another data hoover ( especially of something as intimate as my family pictures ) unless I could be relatively certain data stays where it is.

Do a docker install and disable outbound internet access on it.

How does one disable outbound access entirely in a single docker Container?

Re: PhotoPrism: AI-powered photos app for the decentralized web

#64
post #37

Am I the only one who is amazed by this technology? > Please don't upload photos containing offensive content. Uploads that may contain such images will be rejected automatically. > Non-photographic and low-quality images require a review before they appear in search results. How does it know what is "offensive"? Is this configurable? I don't want to upload photos of people (for obvious reasons) but other than that,…

Where is your quoted text from? I couldn't find it on linked github.

Edit: Okay, found it. I think it's likely that those warnings are only for uploading on their demo server linked on github and not on the locally hosted product.

Re: PhotoPrism: AI-powered photos app for the decentralized web

#65
post #31

Earlier quoted context omitted.

I believe OP meant some features of PhotoPrism is paid.

Maybe that's what they meant. If so, they are confused about what open source means. Selling open source or free software is fine. https://www.gnu.org/philosophy/selling.en.html

So all their features are open-source?

Re: PhotoPrism: AI-powered photos app for the decentralized web

#66

This seems to be light on the details for the p2p / decentralized part. Anyone have more details? Does this use DHT or a blockchain or how are they doing that?

I was also confused by the decentralized part as there's no mention of what exactly is decentralized on the website.

Re: PhotoPrism: AI-powered photos app for the decentralized web

#67
post #31

Earlier quoted context omitted.

Maybe that's what they meant. If so, they are confused about what open source means. Selling open source or free software is fine. https://www.gnu.org/philosophy/selling.en.html

So all their features are open-source?

[dead]

Re: PhotoPrism: AI-powered photos app for the decentralized web

#69

do not leave upload public-open for even minutes

If public open is the default (I'm going to give benefit of the doubt and assume it is not) then that is very bad design and would make me question if I trust the devs much at all.

But yes, never set media hosting to open upload unless you want to become an image host for content people can't host elsewhere (or just for images used in spam campaigns).

Re: PhotoPrism: AI-powered photos app for the decentralized web

#70
post #61

Earlier quoted context omitted.

> there's no good reason for an app like this to require docker. Well, there is a good reason. To make the install more simple. IMHO containerization makes selfhosting way easier.

I disagree with the contention that docker makes installs more simple. I would argue that it only makes installs more simple if you are already setup with Docker, and only when things go 100% correctly. When I see a software application that recommends Docker for deployment, I always assume that I'm going to need to do extra work to make it behave correctly. Whether that is figuring out how to make it auto-start, or…

Can't you just copy what the Dockerfile is doing bud? Plenty of home server enthusiasts love docker for the simplicity it brings to handling a bunch of software. Not trying to knock you, just wondering where the complexity is coming from for you.
Post reply on HN