This is a subproject of a bigger project that I and my friends are working on, I am building it in NodeJs and TypeScript to test some things, the original project is being built in Golang
I have used Monaco code editor and XtermJs and nodepty to start pseudo terminals on backend. And a Websocket library SocketIO for synchronization and realtime updations of folder structures/ file updation on backend.
the terminal is synchronized with my machine (through xterm and nodepty)

the ide is synchronized with backend ( SocketIo )

This is the current architecture representing starting of websocket and requesting files

Note: nodepty is not compatible on windows machine so I am using WSL, though some solutions are given
but not working in my case
what I am working on right now?
- Custom file Tree structure so that I can add and delete file from user Interface
- I was trying to create file on backend dynamically but
wslis not allowing and at the same time I can not switch to windows since I am usingnodepty - Instead of giving access to my machine I might launch Docker inside Kubernetes and give access to the user.