op-sqlite icon indicating copy to clipboard operation
op-sqlite copied to clipboard

Bundle some extensions in the package

Open ospfranco opened this issue 1 year ago • 3 comments

Compiling, packaging and loading extensions is complex and error prone. It would be nice if we could take care of this for the most common and used libraries so people only need to turn on a flag an everything is taken care for them.

I've already started with cr-sqlite, you would only need to add OP_SQLITE_CRSQLITE=1 to your env.

I however need more time/effort since every extension has different compilation steps and targets.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

ospfranco avatar Apr 20 '24 07:04 ospfranco

cr-sqlite has been merged, as well as fts5. Other extensions might be requested but will require sponsoring (at least from my part) or PRs.

ospfranco avatar Apr 23 '24 09:04 ospfranco

@ospfranco Do you happen to know if any ULID extensions for sqlite would be compatible with op-sqlite?

seanstrom avatar Jul 09 '24 08:07 seanstrom

I'm not familiar with the sqlite universe of plugins/extensions, but anything that runs on sqlite itself is compatible with op-sqlite (albeit it might require some minor tweaks to the JS → c++ mapping).

ospfranco avatar Jul 09 '24 11:07 ospfranco

I've packaged all the extensions I wanted into the lib. For now closing this. Open a new issue if a new one is necessary.

ospfranco avatar Sep 26 '24 00:09 ospfranco