News for hackers. Stuff that matters.
Re:Entire website in a single HTML file by arnaudsm on Thursday December 23, 2021 @11:25PM (#29670181)
I love the simplicity of this so much, I built a whole CMS using that, with markdown and a single HTML file! https://github.com/arnaudsm/raito
Re:Entire website in a single HTML file by smolder on Thursday December 23, 2021 @11:32PM (#29670227)
The difference is they don't use javascript, a point many commenters apparently missed. This is similar how you can make drop-down header menus in css only - no javascript. Implementing css dropdown menus was one of my first big web dev tasks, since many users still had computers that slowed to a crawl when javascript and dom manipulation were involved.
Re:Entire website in a single HTML file by arnaudsm on Friday December 24, 2021 @01:04AM (#29670780)
I agree, I just went one step further to ease content management.
Re:Entire website in a single HTML file by bkeating on Friday December 24, 2021 @08:05AM (#29673249)
this is awesome! nice job on the minimalist approach. it looks very clean.

im obsessed with offline-first/offline-only (optional) and have been trying to build all my products with the underlying philosophy of single-file tooling and “infra-less” in-mind; meaning it doesn’t care where it lives and highly portable by default.

here’s a note taking app that is all in a single html file. images are base64’d and data is kept in indexdb. https://github.com/bkeating/nakedNV