Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying peerjs server #422

Open
ranile opened this issue Aug 11, 2023 · 4 comments
Open

Deploying peerjs server #422

ranile opened this issue Aug 11, 2023 · 4 comments
Labels

Comments

@ranile
Copy link

ranile commented Aug 11, 2023

I would like to deploy the server on the edge/serverless environment. Can it be done? Ideally, I would like to have NextJS route that act as peerjs server, but I could also do with running it separately on Vercel or Cloudflare

How may I do so?

@IB1899
Copy link

IB1899 commented Nov 17, 2023

Have you solved the problem because I am facing the same thing

@jonasgloning
Copy link
Member

jonasgloning commented Nov 20, 2023 via email

@jonasgloning
Copy link
Member

Here is a very quick draft of a PeerServer implementation using Cloudflare Workers: https://github.com/peers/server-cf-worker. It has passed the browser test suite, but has not undergone any additional testing.

Please give it a try!

@dallen4
Copy link

dallen4 commented Dec 10, 2023

Was just exploring refactoring this for Cloudflare Workers! Will definitely tinker.

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

No branches or pull requests

5 participants