Github Codespace (with Copilot) VS CodeSandBox (with Boxy): which of those full-stack programming services do you think offers the best product? I have a feeling that GitHub Copilot has maybe an edge because it might have more code to back it up, but both seem to offer comparable. What do you think?
Posted by Psykeania@reddit | programming | View on Reddit | 10 comments
Cidan@reddit
I run my own using code-server on a Kubernetes cluster. It's incredibly cheap and I can modify it as I see fit. It might be worth looking at!
Psykeania@reddit (OP)
Well, I guess, when you know well how Kubernetes works. You're able to have a browser like IDE interface with same efficiency?
Cidan@reddit
Yes, and I use Chrome to make into an "App" so it opens in its own window without the browser decorators. The end result is a desktop app experience, completely remote, that works anywhere. I'll use my iPad + keyboard to code on the go, and switch to my desktop, and just keep going from there.
The best part is offloading all the CPU work remotely, which means I can allocate more power as needed to dev. I can also run services concurrently in the same pod, such that I have code server, cockroachdb, nats, etc all running at the same time, and can dev on localhost like I would if I were using it natively.
Been doing this for maybe 3 years now, I could never go back.
Psykeania@reddit (OP)
Thanks for your time, I tried a quick search. I know well Docker, but not Kubernetes. Do you have to run a pre-packaged IDE-like app or something like that?
Cidan@reddit
Yep, take a look at this repo for code-server. It works just fine in docker directly as well, I just use Kubernetes because I have clusters of machines I can use.
nimareq@reddit
Could you, theoretically use github.dev IDE and connect remotely over SSH to the VSCode Server installed on your VPS?
Psykeania@reddit (OP)
Well I see. It seems to be still a service that you need to pay for extend possibilities, but you seem to make the most of it with the simple free basic pack. At least with chatGPT 3.5, it a nice free solution for home starter https://sourceforge.net/software/compare/CodeSandbox-vs-Coder-vs-Codespaces/
Cidan@reddit
No, you don't pay for it. It's free and open source, and you can run it yourself and do whatever you want with it.
The company does have a paid offering that does all the hard work for you, which is where paying comes in.
Adding copilot or chatgpt is trivial to do in your own self hosted environment, as I do both.
_wli@reddit
Without getting any sustained usage discount, using 4vCPU + 8GB Memory on Kubernetes cluster cost around $0.2677832 per hour, that comes to around $42 USD if you have it running for 8 hours a day, 20 days a month. I think it is cheaper on GitHub / CodeSandbox.
nimareq@reddit
So, what is your conclusion after 2 years?