Hacker News new | past | comments | ask | show | jobs | submit login

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.




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.


Yeah, I also am guilty of liking to write static site generators more than liking to actually write something!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: