Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What I've been thinking about ever since I learned about web brutalism is - how can I make simple, HTML focused websites, static? That is to say, not requiring a backend I build to generate the necessary HTML and serve it as a document to a given url?

So index.html is easy, but is there a way to make it such that I can go to my website/articles/my-happy-day, and have that page be generated, rather than a separate handwritten my-happy-day.html file?

I typically "deploy" simple shit by uploading it directly to my bluehost filesystem, or Amazon s3. The only thing I can think of is a precompile thing, and then uploading the build.



I'm sure you know about static site generators like https://jekyllrb.com/. Are those what you have in mind?


I have heard of them but I've yet to try them. I guess I'm trying to figure out if there's some way to basically duplicate the idea of an SPA (using client-side templating or whatever) without all the overhead. I think you're right, that static site generators fill that gap, or perhaps just server-side rendering with very little JavaScript on the frontend.




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

Search: