Inline HTML image gallery generator

why? Dries has full static sites where he edits the html of each page individually (without build process or whatever)

Now for going to morocco, he’s going to launch his umap static site + link to Substack probably. Previously he linked to Medium posts.

It’s probably easy to write in markdown and generate HTML from that to copy-paste into a page. The main issue with his setup is that he probably wants many pictures, and those need thumbnails, detail views, alt texts/captions and nice responsive formatting.

What if I could build a wasm + service worker tool to generate a .zip (or multi-download) of a file structure with thumbs etc, where you could configure a git repo + s3 bucket

it would:

  • create image versions for you: thumbs + full size based on imported images
  • allow you to specify appearance options
  • download the result to upload to one or two places (static or static + s3)

bigger idea: wasm ssg

in which you can …

  • directly edit a directory on the host?
  • upload a github export zip?

References

https://maciak.org/win/simplegallerymaker/ seems to generate sections,

https://www.npmjs.com/package/@jsquash/resize

← All ideas