This seems like way too much work when people have been doing things like this in different ways for years (just look at Replit, it runs a full IDE and runs on 4gb Chromebooks).
Maybe I'm misunderstanding this project, but you don't have to reinvent the wheel.