this post was submitted on 18 Feb 2024
239 points (99.2% liked)

Selfhosted

40696 readers
414 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi all!

I'd like to share some slow, but steady progress I've made on my self-hosted personal photo gallery - a Google Photos alternative. It's been a while since I last posted any updates - the last time was about v0.9.2 on /r/selfhosted, so it's actually my first post here.

What's new?

Lots of things! Here's a quick summary:

Show me the demo

https://demo.photofield.dev/

Now hosted on Hetzner's arm64-based CAX11 - 2 vCPUs & 4 GB of RAM - the cheapest one.

The photos are Β© by their authors. Since migrating to the CAX11, it only uses one size of internally pregenerated sqlite-based thumbnails, taking up roughly 4% of the disk space of originals. Support for Synology Moments thumbnails is still there, but doesn't seem as crucial as before.

How do I try it out?

It's very low commitment, a single executable or Docker image that you can mount with read-only access to an existing file structure, see Quick Start (also on GitHub if the website is dead).

Another one??? Why?

It's a conspiracy to increase fragmentation and increase shareholder value of big tech companies. πŸ˜„ Jokes aside, I think there is some space for a fast, self-contained, extremely easy to deploy solution. But mainly, it's to scratch my developer itch and I get to learn new things.

Thanks

Thanks to everyone who's been using it, contributing, and giving feedback! See also foss_photo_libraries for alternatives if this doesn't fit your needs.

Let me know what you think and what you'd like to see next! πŸ™

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 10 months ago (1 children)

Sorry if these are stupid questions.

Does this only show these foss_photo_libraries and your local photos?

Does it support jpegXL?

I'd love a seamless zoom feature for images in the browser. I use imagus but I'd love if the popup window could zoom to be bigger than the browser window.

[–] [email protected] 9 points 10 months ago (1 children)

Sorry if these are stupid questions.

Not at all! Thanks for taking an interest.

Does this only show these foss_photo_libraries and your local photos?

I'm not sure what you mean. foss_photo_libraries is a comparison table of different apps someone else maintains, but I thought it was a useful resource. The photos in the demo are a subset of the open images dataset and a couple of other samples that I picked for demo purposes.

If you install it locally you can point it to a folder and it should use each subfolder as an album, or you can configure custom albums.

Does it support jpegXL?

Yes actually, but I don't have many files to test it, so I'm not sure how well it works. If you do I'd be interested to hear how it works for you. It uses FFmpeg to on-the-fly convert anything it can't read natively.

I’d love a seamless zoom feature for images in the browser. I use imagus but I’d love if the popup window could zoom to be bigger than the browser window.

You can zoom by using the mouse wheel or by pinching to zoom if that's what you mean? You should be able to zoom pretty much as much as you want. If you're in the main view where the mouse wheel scrolls photos up and down you can hold Ctrl (Cmd?) to zoom instead.

[–] [email protected] 2 points 10 months ago (1 children)

Cheers, didn't know that something like a usable "open images dataset" existed. Awesome.

The last bit isn't really relevant for your app, just a general rant really. It's just that I'd like better image viewing support all around. Like in browsers there is an image and you can click on it but then a new tab opens. I have imagus but it's not ideal and restricts the image to the smaller browser window. In the explorer I have quicklook now that opens images with space but the zoom feature is half assed too. Then many images apps have long startup times (>0.2 secs) or are bloaty. It's just a bit annoying that it's 2024 and PCs still can't handle images really well.

[–] [email protected] 2 points 10 months ago

Haha, I hear you! Some things are a lot harder than they have any right to be.