Rdamn - Online playground IDEs
March 15, 2022
I had always been very intrigued by codedamn's online playgrounds and wanted to figure out how something like that would work. So I decided to try to build it from scratch on my own.
It took me almost a month to build it but I had implemented almost all the functionalities that codedamn playgrounds had at that time. I sent my project to the founder of codedamn who was so impressed by it that he decided to hire me full-time :)
Here are a couple of screenshots from rdamn:
This project was definitely the most interesting and complex one I had attempted till date. I learnt a lot while building it. I had to:
- Implement my own DNS servers for providing nice and friendly urls for client connections
- Setup up a custom container orchestrator system for safely booting playgrounds quickly on demand and shutting them down when the client disconnects
- Build an s3 synchronization service that saves the user's data to s3 and restores from it when a user starts their session after inactivity
- Work with monaco, xterm and other frontend libraries for a good user experience