frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DD Photos – static photo albums, now with Docker and 1-command deploy

https://ddphotos.donohoe.info
1•dougdonohoe•1h ago
I first posted about DD Photos 50 days ago[1], when I first open-sourced it. A lot of improvements have been made since then (hero image, site/album passwords, ngnix support, UI refinements, custom HTML/CSS, s3 deployments, and more).

However, I feel two significant additions are worth sharing (Docker and Surge).

Using DD Photos directly from source is very developer-heavy. You have to clone the repo and install Go, Node, libvips and all the dependencies. It's a lot to get started.

I thought why not pre-package everything all set to go? So DD Photos now has "Docker mode". An init command does the scaffolding, installing a 'ddphotos' wrapper script, and then there are a handful of simple commands to build the site.

mkdir ~/my-ddphotos

docker run --rm -v ~/my-ddphotos:/ddphotos dougdonohoe/ddphotos init

cd ~/my-ddphotos

./ddphotos photogen # resize images and create index files

./ddphotos run # run dev server at http://localhost:5173

./ddphotos build # build static site

./ddphotos serve # serve static site via Apache at http://localhost:8000

The second barrier is deploying a site. I use AWS s3/CloudFront/Route53 - which again is non-trivial to setup. I then discovered surge.sh, a free and easy way to deploy static sites in minutes. So I added support for it:

./ddphotos export --copy

surge --domain my-unique-site.surge.sh export/my-photos

Result of above: https://ddphotos-test-docker.surge.sh/

Anyway, the simplicity of this feels like a game-changer, which is why I wanted to share.

Code: https://github.com/dougdonohoe/ddphotos

[1] https://news.ycombinator.com/item?id=47322838

The Complete Claude Setup Checklist: 72 Steps from Default to Power User

https://medium.com/@alirezarezvani/the-complete-claude-setup-checklist-72-steps-from-default-to-p...
1•jungard•27s ago•0 comments

A free and open source bridge between Unity Editor and Claude or ChatGPT

https://ione.games/
1•billychasen•57s ago•1 comments

Hamming, "You and Your Research" (June 6, 1995) [video]

https://www.youtube.com/watch?v=a1zDuOPkMSw
1•gmays•3m ago•0 comments

Open Source Fantasy Draft

https://nesbitt.io/2026/04/30/open-source-fantasy-draft.html
1•speckx•3m ago•0 comments

Free Spotify?

https://velplay.pages.dev
1•Experien•4m ago•0 comments

Building a Gaming PC Without Using Intel, AMD or Nvidia Parts [video]

https://www.youtube.com/watch?v=rmxIjPCAp6w
1•zdw•4m ago•0 comments

Durable queues, streams, pub/sub, and a cron scheduler – inside your SQLite file

https://honker.dev/
1•ferriswil•4m ago•0 comments

The Case for Returning the Koh-I-Noor Diamond Has a New Backer: Mamdani

https://www.nytimes.com/2026/04/30/nyregion/kohinoor-diamond-india-history-mamdani-king-charles.html
1•RestlessMind•5m ago•0 comments

Four Ways ChatGPT Images 2.0 Can Be Useful for Your Business

https://theautomatedoperator.substack.com/p/three-ways-chatgpt-images-20-can
1•idopmstuff•5m ago•0 comments

Rust clippy config should be stricter

https://emschwartz.me/your-clippy-config-should-be-stricter/
1•fanf2•5m ago•0 comments

Show HN: A browser music sequencer: every note is a Petri-net transition firing

https://blog.stackdump.com/posts/petri-net-runtime
1•orksliver•7m ago•0 comments

In Praise of Tech Troublemakers

https://www.ft.com/content/301162e9-a00d-4672-af2d-0ee5dac35690
1•thm•7m ago•1 comments

Emergency First Responders Say Waymos Are Getting Worse

https://www.wired.com/story/emergency-first-responders-say-waymos-are-getting-worse/
1•HotGarbage•8m ago•0 comments

'living plastic' activates and self-destructs on command

https://www.acs.org/pressroom/presspacs/2026/april/this-living-plastic-activates-and-self-destruc...
1•geox•8m ago•0 comments

My local agentic dev setup today

https://willemvandenende.com/blog/engineering/my-local-agentic-dev-setup-today
1•JazCE•8m ago•0 comments

Oil Hits $120 per Barrel

https://www.msn.com/en-us/news/other/oil-hits-120-as-hormuz-blockade-fuels-recession-fears/gm-GML...
4•tardedmeme•8m ago•0 comments

No new trial for Sam Bankman-Fried

https://www.citationneeded.news/sbf-new-trial-denied/
4•wslh•8m ago•1 comments

Cloudflare flagged max.ru linked to Russian messenger MAX as spyware

https://radar.cloudflare.com/scan/3c745d75-2df5-4480-947f-278da1221657/summary
2•defly•8m ago•1 comments

Verified by Spotify badge lets you know this artist isn't AI

https://www.theverge.com/tech/921048/verified-by-spotify-badge
1•Brajeshwar•9m ago•0 comments

How to Euthanize a Whale

https://undark.org/2026/04/27/whale-euthanasia/
1•speckx•10m ago•0 comments

Claude Code refuses requests or charges extra if your commits mention "OpenClaw"

https://twitter.com/theo/status/2049645973350363168
2•elmean•10m ago•0 comments

Anti-DDoS Firm Heaped Attacks on Brazilian ISPs

https://krebsonsecurity.com/2026/04/anti-ddos-firm-heaped-attacks-on-brazilian-isps/
3•lschueller•12m ago•0 comments

Ask HN: commands.sh

https://www.commands.sh/
1•_august•12m ago•1 comments

The More Young People Use AI, the More They Hate It

https://www.theverge.com/ai-artificial-intelligence/920401/gen-z-ai
5•karakoram•13m ago•1 comments

OpenUsage: Track all your AI usage, in one panel

https://github.com/robinebers/openusage
1•nateb2022•13m ago•0 comments

Our Future Is Being Devoured by Feral Thought Experiments

https://www.programmablemutter.com/p/our-future-has-been-devoured-by-feral
2•m-hodges•14m ago•0 comments

VibeLens: Visualize and analyze your AI agent sessions

https://github.com/CHATS-lab/VibeLens
1•yejh•15m ago•0 comments

Show HN: Homebutler – a single-binary homelab ops tool with backup drills

https://github.com/Higangssh/homebutler
1•swq115•16m ago•0 comments

Bahtiarbeck95 Gmail.com

https://blog.cloudflare.com/deploy-planetscale-postgres-with-workers/
1•korikorikori•16m ago•0 comments

What if the universe isn't expanding, but stabilizing?

https://archive.org/details/tenants-of-the-long-sunday
1•voxsignals•17m ago•0 comments