tursodatabase / tursodatabase/libsql
Cloudflare Worker issue
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.2k
- Forks
- 531
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 1
Description
Hi, how is it possible to use turso from a worker?
You have the "cloudflare" flag for it.
But the only methods to create a remote connection, that I believe its what I have to use, force me to enable the remote flag, once I do, I always end up with the mio dependency activated.
And AFAIK there is no way to compile mio to wasm just yet.
Is there some other way to establish a connection, some alternative method?
I have found this ts example...
https://github.com/tursodatabase/examples/blob/master/app-workers-turso-ts-demo/src/index.ts
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Cloudflare Worker TypeScript example and trace how the cloudflare and remote flags cause the mio dependency to be enabled. Determine whether an existing connection path works for Workers or whether support requires a broader design change; done means a clearly identified supported approach or missing capability.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, typescript, wasm
- Domain
- cloud, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100