Building a web page that edits itself

42 points - 04/13/2026

Source

Comments

stratts last Friday at 11:07 AM
This is an awesome idea and really resonates with me.

I did something similar for my site:

https://stratts.au/_editor/?preview=%2F&file=_site%2Fcontent...

You can edit and rebuild the site from within the browser, then download a .zip that contains everything. The editor can even edit itself.

Beyond self-modifying sites being just plain cool, there's a longevity aspect to it that I find very important as well.

There's also https://www.sparktype.org/ (a browser based CMS) which is also along similar lines.

lynx97 last Friday at 8:23 AM
analog_daddy last Saturday at 8:14 PM
I would also like to share [Nash](https://keepworking.github.io/nash/) to add to this awesome collection of websites shared here.

If someone in this domain of web-design can help me clarify what do i call these single file static HTML webpages which are fully offline (after the first js/css query to the cdn) which can be hosted from a github pages website without doing a NPM install? Is PWA the correct term, since it seems PWA is superset of whatever this is.

I always liked these websites for air-gapped setups since they are portable and simonw seemed to have reignited the passion for people sharing them on hn and elsewhere. I also started liking pyscript since it seemed accessible than javascript for debugging compared to llm written js.

androa last Friday at 9:42 AM
efilife last Saturday at 6:36 AM
I thought this was going to be a satire of how he's built another huge abstraction, perhaps bigger than SSGs in order to avoid abstractions
danlitt last Friday at 11:09 AM
This is lovely, but I think falls down the moment you want any generated content (table of contents being a typical first example).
flux3125 last Friday at 11:23 AM
I was (positively) surprised that this didn't involve any AI.