News for hackers. Stuff that matters.
Re:Medium is not the home for your ideas by cozzyd on Wednesday July 22, 2020 @10:26AM (#23917336)
So you're talking about a static site generator implemented in javascript in the browser? I don't see why it wouldn't work as long as the webserver supported directory listings, but it would obviously completely break for clients not using javascript.

The simplest solution I've used is to just have a Makefile that indexes and stitches together pages using cat/sed/ls. Sure, you have to run make (and possibly make upload if you're not doing it live), but it's not so bad.

Re:Medium is not the home for your ideas by axegon_ on Wednesday July 22, 2020 @11:47AM (#23918247)
Essentially yes, this is what my personal site is currently running(though it is empty as it stands, largely due to time constraints). Except I wrote it in Dart because I abhor javascript with a passion, even if the final output is still javascript.
Re:Medium is not the home for your ideas by cozzyd on Wednesday July 22, 2020 @06:14PM (#23922184)
Yeah, I also am guilty of liking to write static site generators more than liking to actually write something!