News for hackers. Stuff that matters.
Re:Show HN: Glossary page template with a built-in editor by 1023bytes on Sunday June 26, 2022 @01:12PM (#31885746)
It might be possible to do this without the Node.js server by using the File System Access API

https://web.dev/file-system-access/

Re:Show HN: Glossary page template with a built-in editor by hilverd on Sunday June 26, 2022 @02:06PM (#31886295)
Interesting, I hadn't considered that -- thanks. I was just having a look and it seems that right now, only Chrome and Edge (and Brave?) support that API. I'll keep an eye on it, because it doesn't seem like a viable option yet until Safari and Firefox also do.
Re:Show HN: Glossary page template with a built-in editor by 1023bytes on Monday June 27, 2022 @07:31AM (#31893091)
It's possible to do this in Safari and Firefox as well, it's just that the experience isn't as seamless - instead of writing to the existing file a new copy will be downloaded.

You can see this in the demo here: https://googlechromelabs.github.io/text-editor/