Building a web page that edits itself

(patrickweaver.net)

40 points | by evakhoury 5 days ago ago

9 comments

  • stratts a day ago ago

    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.

  • androa a day ago ago
  • lynx97 a day ago ago
    • mano78 a day ago ago

      What I was thinking, too. But the description of the design process by OP was interesting to read.

    • p4bl0 a day ago ago

      I was coming here to link it. Glad I reloaded the page before commenting to see your comment appear.

  • danlitt a day ago ago

    This is lovely, but I think falls down the moment you want any generated content (table of contents being a typical first example).

    • mlok 20 hours ago ago

      Some Javascript can generate this on such a local single-html file.

  • efilife 6 hours ago ago

    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

  • flux3125 a day ago ago

    I was (positively) surprised that this didn't involve any AI.