Lix's provides a ArrayBuffer that represents inlangs sqlite file. The current approach creates an file handler in the browsers opfs and uses SQLocal to load the db.
The apps in inlangs ecosystem have to run in various env's other than classic Browser apps that don't support opfs. The current workaround will not work.
Paraglide - node based cli
Sherlock - vs-code extension
Parrot - null origin iframe
To support those systems we need to add support for in memory db to Sqlocal
Proposal
We need to fix other issues in the near future anyway and won't be able to wait until a fork is merged in - to keep the iteration fast - clone Sqlocal into our mono repo.
Context
Lix's provides a ArrayBuffer that represents inlangs sqlite file. The current approach creates an file handler in the browsers opfs and uses SQLocal to load the db. The apps in inlangs ecosystem have to run in various env's other than classic Browser apps that don't support opfs. The current workaround will not work.
Paraglide - node based cli Sherlock - vs-code extension Parrot - null origin iframe
To support those systems we need to add support for in memory db to Sqlocal
Proposal
We need to fix other issues in the near future anyway and won't be able to wait until a fork is merged in - to keep the iteration fast - clone Sqlocal into our mono repo.
Add memory support to SQLocal
to