News for hackers. Stuff that matters.
Re:Show HN: Unforget, the note-taking app I always wanted: o... by dugmartin on Wednesday June 12, 2024 @11:36AM (#40659297)
I think the safest offline storage is to use the browser file system (https://developer.mozilla.org/en-US/docs/Web/API/File_System...) so the data is out of the browser's hands.

It works pretty well with the only downside being the user needs to re-select the file/directory to use each time they use the app and there is no way to force the file picker to start in a specific directory other than the "well known directories".

Re:Show HN: Unforget, the note-taking app I always wanted: o... by mayne on Thursday June 13, 2024 @01:56AM (#40666364)
Now, you only need to select the directory once, and the browser will retain permissions

https://developer.chrome.com/blog/persistent-permissions-for...

Re:Show HN: Unforget, the note-taking app I always wanted: o... by dugmartin on Thursday June 13, 2024 @06:18AM (#40667851)
Thanks for the heads up!