Integrate with Cloudflare Workers
Open
@armanbilge is already working on this.
Since Jan 6, 2022.
cloudflare workers
enhancement
- Dominant language
- Scala
- Stars
- 195
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
I started this in https://github.com/typelevel/feral/pull/4. It's an old and big PR, so I'll probably divvy it up.
Assorted notes:
- There are both workers, and also these
DurableObjectthings which I think get deployed independently.DurableObjectsare hard/complex, and better for a follow-up. - Workers can now be written as ES6 modules. https://blog.cloudflare.com/workers-javascript-modules/
https://github.com/scala-js/scala-js/issues/3893 There is no local runtime for workers. They run in a custom V8 based runtime with Web Worker style APIs. So testing is going to be annoying.Aha, there is https://github.com/cloudflare/miniflare now :)- An sbt-plugin to deploy a worker should be easy, just uploading to an endpoint.
- The JS sources for a worker are restricted to 1 mb gzipped. Looking at you, http4s
MimeDB👀
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.
Assessment
This issue has not been assessed yet.