Elektrine lite

← Feed

@raphael@mastodon.communick.com

Post #715461

2026-03-17 19:08 UTC

I'm not discarding skill issue, but holy crap how hard can it be to get an actual database working in a browser extension??! I don't mean "key-value store". I mean an actual system that can let me store structured data and make queries, hopefully filter from the the data set and ideally that lets me join distinct data sets?

Replies (2)

  • using #pouchdb created one database to store AP objects, expanding the JSON-LD. Added 2 indices (type and published) After ~2000 documents, it takes 30+ seconds for it to complete indexing. Add more indices and it takes even longer. Then you learn that the best practice is to create "documents" that are nothing but an encoded set of ordered attributes, so that you can "filter" by selecting start and end keys. Ok, clever hack, but then every possible query needs its own "index".

    Open ##1067946

  • @raphael@mastodon.communick.com Maybe pglite cover your case. https://pglite.dev/

    Open ##3128409