Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Would it work with Cloudflare Workers? #16

Open
abhagsain opened this issue Feb 15, 2023 · 3 comments
Open

Would it work with Cloudflare Workers? #16

abhagsain opened this issue Feb 15, 2023 · 3 comments

Comments

@abhagsain
Copy link

abhagsain commented Feb 15, 2023

Thank you for building this.
Is promptable using any node.js specific APIs (eg. crypto) etc which would make it incompatible with Cloudflare Workers?

@cfortuner
Copy link
Owner

hey @abhagsain, At the moment it's using some stuff that might not be compatible, but one major goal for this project is to support as much as possible in the browser and edge environments.
I'm looking for people to collaborate with on this if you're interested!

@abhagsain
Copy link
Author

hey @abhagsain, At the moment it's using some stuff that might not be compatible, but one major goal for this project is to support as much as possible in the browser and edge environments. I'm looking for people to collaborate with on this if you're interested!

Got it. @cfortuner

TBVH, I'm not an expert and these days I have been busy with SlidesAI but I'm happy to contribute in any way I can. Promptable looks promising 🔥

@mathisobadia
Copy link
Contributor

I already mentioned this issue on discord and I'm not an expert either on cloudflare workers, there's now lots of runtimes available since there is also bun, deno and browsers and even lambda functions have some limitations around filesystem apis. A cool thing would be to be able to test promptable in those environments in some automated way. There's already work under way to test it in nextjs which has the edge runtime which as far as I know is basically cloudflare workers or very similar so if everything runs well there I think it's safe to say that it will work in most runtimes and we can add some automated tests along the way if we discover issues with specific runtimes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants