News for hackers. Stuff that matters.
Re:Ask HN: What do you self-host? by magicfractal on Saturday October 12, 2019 @09:27PM (#21237637)
Could you share a bit about your picture gallery?
Re:Ask HN: What do you self-host? by ricardbejarano on Saturday October 12, 2019 @10:20PM (#21237856)
Sure! Here's the source code: https://github.com/ricardbejarano/pyctures

I could set up a demo if you want to.

It's a cheap Flask app that scans a given "library" directory for "album" subdirectories, which contain the pictures you want to display.

It has a big issue with image size (16 images per page, my phone takes 5MB pictures, 80MB per page is HUUUGE). Thumbnailing would be great. I'm open for PRs ;)!

If anyone knows about a better alternative... I set this up when we got back from one vacation for my relatives to easily see the pictures (without social media).