News for hackers. Stuff that matters.
Re:Nullboard: Kanban board in a single HTML file by zamadatix on Thursday December 19, 2024 @10:39PM (#42468071)
You can save without any services at all using the File System API https://developer.mozilla.org/en-US/docs/Web/API/File_System...

The downside is even though you know the current directory due to window.location the API is written in the way it assumes you either want a default location like "desktop" or need the user to navigate to the directory before you can do operations on it (for security reasons) even from a local context. The user needs to select the directory once per fresh page load (if you've dynamically reloaded the current content then multiple saves need only prompt once so long as you save the handle).

There are no comments on this comment yet.