4 ms·
localStorage is nice but what I really love are files, in a folder, on my computer :D
by ptato 4y ago
localStorage is nice but what I really love are files, in a folder, on my computer :D
- capableweb 4y agolocalStorage is in a file, on your computer ;) For Firefox/Linux, it's in webappsstore.sqlite (guessing the same file exists for Windows/macOS too but can't verify, and Chrome probably have something similar). Less fun: many "offline-capable" web apps that leverages PWA APIs/localStorage usually often allow you to download/upload a JSON representation of your data. I think I remember a graph drawing tool that allow you to do just that, but can't find a link to it right now.
- ptato 4y agoIt's a hidden, opaque file. As far as I can tell, my browser doesn't tell me what its path is on my file system. That path and the file format could change with a browser update. Again, localStorage is nice, but this whole setup isn't comparable to a .pdf or whatever that I can have on my desktop.
- SemanticStrengh 4y agocapableweb isn't telling you how capable the web has become, see https://googlechromelabs.github.io/text-editor/ https://googlechromelabs.github.io/text-editor/ note: probably works best in chromium browsers
- jlund-molfese 4y agoIt wouldn't have been draw.io / https://app.diagrams.net/ https://app.diagrams.net/, would it? I use that tool frequently, and loved that feature at a company where data couldn't be stored on external servers
- pketh 4y agoin the case of Kinopio, you can also export your data to a JSON file. But I think the OP may be referring to something like obsidian where each document corresponds is an individual markdown file which is always up to date
- SemanticStrengh 4y agoYou might wanna consider the file system access api on chromiums https://googlechromelabs.github.io/text-editor/ https://googlechromelabs.github.io/text-editor/ There is both a public and a private filesystem mode.