wrt writes onto datasette (not tried yet:-(, does datasette lite need "open local fs" plugin to save to local disk (eg rlab-filesystem-access.readthedocs.io/en/latest/inde)? And/or github auth/write plugin to save updated db; but how preserve datasette login secret? how serve authed db from eg Pages?
Conversation
Replying to
Datasette Lite doesn't have a persistence story at all for the moment - it's very much read only
I haven't really started figuring out how that could work
In terms of auth, only option right now is to host it and the data it's reading on an authenticated server somewhere
3
2
Replying to
Does datasette lite persist to browser storage? (I should check.. but middle of night.. I should really try to go back to sleep...)
1
Replying to
Not at all - it loads data from the URLs you pass to it (to CSV or JSON files or to a SQLite database) but is stateless other than that - eg lite.datasette.io/?json=https%3A
Replying to
ok. thx.. (sorry, i should be reading docs..or using chatgpt?! I won't ask whether there's cacheing of the data files...)
1
Replying to
The only caching is browser HTTP caching of the linked files - which I think is generally pretty effective
I really want to get Datasette Lite working offline using service workers some time
1

