Ask HN: How to build something like Repl.it?
1–6 of 6 posts
Re: Ask HN: How to build something like Repl.it?
#2Re: Ask HN: How to build something like Repl.it?
#3Start with a full stack app with user accounts, deploy it to the cloud, then add websockets. After that come back and ask again for next steps.
I don't know how to create server instances on the fly.
Re: Ask HN: How to build something like Repl.it?
#4Start with a full stack app with user accounts, deploy it to the cloud, then add websockets. After that come back and ask again for next steps.
sorry I should clarify the parts I don't know. I know how to build a full stack app with user accounts, deploy it to the cloud, then add websockets. I own https://www.c0d3.com I don't know how to create server instances on the fly.
You'll want to be cautious of, and thoughtful in, your security because you are allowing users to run untrusted code. It's not just about protecting yourself from them, but also protecting users from each other.
Re: Ask HN: How to build something like Repl.it?
#5Earlier quoted context omitted.
sorry I should clarify the parts I don't know. I know how to build a full stack app with user accounts, deploy it to the cloud, then add websockets. I own https://www.c0d3.com I don't know how to create server instances on the fly.
Ah ok, there are many options here. You essentially need to do some programmatic devops. You can do this with Kubernetes, Terraform, or the cloud provider APIs directly. You'll need to maintain parity between what they want running and what is running, quotas / limits so they don't run up your bill, and cleanup of resources. You'll want to be cautious of, and thoughtful in, your security because you are allowing user…
Re: Ask HN: How to build something like Repl.it?
#6Earlier quoted context omitted.
Ah ok, there are many options here. You essentially need to do some programmatic devops. You can do this with Kubernetes, Terraform, or the cloud provider APIs directly. You'll need to maintain parity between what they want running and what is running, quotas / limits so they don't run up your bill, and cleanup of resources. You'll want to be cautious of, and thoughtful in, your security because you are allowing user…
thank you so much I will go learn Kubernetes and Terraform and how they work