Discussion
Search code, repositories, users, issues, pull requests...
thatcherc: This looks great! I've been using ThumbsUp[1] for a similar purpose (creating a gallery of photos I can push S3), but adding album and photo captions required some un-ergonomical tricks. I'll try out![1] - https://github.com/thumbsup/thumbsup
JanoMartinez: Nice project. I like the approach of using static generation instead of building a full backend for something that’s mostly read-only.Did you find any challenges handling large numbers of photos when generating the indexes?
dougdonohoe: No real challenges. I made the Go `photogen` tool run in parallel using goroutines (e.g., 3-6 depending on your CPU). It's pretty fast at churning through hundreds of photos.
mandubird: Interesting approach.Curious how this behaves with larger datasets or longer sessions.
dougdonohoe: Thanks, appreciate it. I'll checkout thumbsup too.
subpixel: This is really great. At first it seems a tad over-engineered but I admit the state of the art has progressed since the days of using Yeoman to scaffold a Jekyll site. Also the fact that you don’t use Hugo deserves to be congratulated.
subpixel: I’m assuming the build step doesn’t resize images that have already been processed. Other than that this approach seems to handle plenty of images per album. Albums are a UX principle, so they shouldn’t be very big anyway.
dougdonohoe: Correct - if the resized image is already there it is skippped (this can be overwritten with -force flag).