News for hackers. Stuff that matters.
Re:Using static websites for tiny archives by pomdtr on Friday October 18, 2024 @08:05AM (#41878614)
I had similar thoughts, and built myself a little framework for this: https://www.smallweb.run

The key feature it adds compared to your own setup is mapping subfolders to subdomains (+ dynamic websites, but you don't seem interested in that).

ex: ~/smallweb/example => https://example.localhost

We have a little discord community at https://discord.smallweb.run if anyone is interested.

Re:Using static websites for tiny archives by tga on Friday October 18, 2024 @09:40AM (#41879377)
It looks like you just reinvented CGI/PHP.
Re:Using static websites for tiny archives by pomdtr on Friday October 18, 2024 @02:16PM (#41882008)
Yeah you guessed it, smallweb is basically CGI meets Deno sandboxing + https imports.