2 ms·
I use https://github.com/jpsim/AWSPics https://github.com/jpsim/AWSPics , which takes care of everything. It's great IF you're comfortable with your whole photo
by jaza 3y ago
I use https://github.com/jpsim/AWSPics https://github.com/jpsim/AWSPics , which takes care of everything. It's great IF you're comfortable with your whole photo solution being cloud-based (but you still own and control it, you're not just handing it all off to a SaaS), rather than being self-hosted. Personally I prefer the former these days, but I know that I'm in the minority here on HN.
With AWSPics, sync your photos (just a simple directory tree on your local device) to S3 (I just do it manually from time to time from my desktop, but no doubt it can be done automatically at regular intervals, and/or it can be done directly from a phone), then Lambda functions generate thumbnails and browsable galleries (as static HTML), then you can view it all via CloudFront (password-protected using Origin Access Identity).
AWSPics isn't really being actively maintained these days. But it still works fine for me. The setup is cheap, you basically just pay for the S3 storage (currently costing me a bit under $1/month - and I guess you could use a cheaper S3-compatible alternative like Backblaze and reduce your costs further). No server to set up or maintain. Durable backup built-in. Fast reliable CDN built-in.