Cool but we’ve had in browser databases since ages. Things like indexedDb and WebSql. But I guess it’s a cool WebAssembly experiment nonetheless.
I did use this to delete a lot of old tweets though.
SELECT substr(date,1,7) as d, count(*), min(likes+retweets) FROM tweets GROUP BY d ORDER BY d DESC;
Yep, looks like you mostly tossed tweets over a year old that didn't meet some threshold. Very cool to play with in the browser.This is also a great way to backup tweets etc.
Of course I have multiple SQLite files with all the data, whenever I want to delete “more”, I just take a new Twitter dump.
Which means to be safe from the host system you have to virtualize the execution somehow - WASM is exactly that. Therefore if you wanted sqlite in a browser, you can simply compile it to wasm.
"Aesthetics and Web Developers" https://hacks.mozilla.org/2010/06/beyond-html5-database-apis...