Photo Site Generator
My photo portfolio site: once PHP on a Raspberry Pi, now a Vite script turning a folder of JPEGs into static HTML. Publishing a photo costs one git push.
I bought my first proper camera, a Nikon D32001, at fifteen with my first summer job’s salary, and I’ve been photographing whatever captures my imagination or sparks aesthetic joy ever since. I wanted a personal way to share the results without going through social media, which was all the excuse I needed to build a photo portfolio site.
It started off with PHP running on a Raspberry Pi in my room. To keep maintenance simple, it has since evolved into a small Vite script generating static HTML and variously sized photos from a folder.
The only rule for good tech is that it has to give me more value than the effort it takes to use it. The part of photography I enjoy is taking photos, so the website itself is just a nice-to-have: publishing has to cost me almost no time. Committing a JPEG into a Git repo and pushing it is the right amount of effort to expect in this case. It’s still one more step than the PHP version asked for, but I have taste in tech too, not just photography.
- Nikon D3200: https://en.wikipedia.org/wiki/Nikon_D3200↩