{"id":18144800,"url":"https://github.com/shantanu-crypto/remote_code_executor","last_synced_at":"2026-04-06T09:32:07.075Z","repository":{"id":260453164,"uuid":"881342671","full_name":"shantanu-crypto/Remote_Code_Executor","owner":"shantanu-crypto","description":"Real time Code Editor for web developer","archived":false,"fork":false,"pushed_at":"2024-10-31T11:59:01.000Z","size":230,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T20:19:38.306Z","etag":null,"topics":["docker","expressjs","node-js","reactjs","socket-io"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shantanu-crypto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-31T11:40:23.000Z","updated_at":"2024-10-31T12:01:31.000Z","dependencies_parsed_at":"2024-10-31T12:31:27.994Z","dependency_job_id":"5b327c25-2abe-493a-ba27-348b58e9e954","html_url":"https://github.com/shantanu-crypto/Remote_Code_Executor","commit_stats":null,"previous_names":["shantanu-crypto/codex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shantanu-crypto/Remote_Code_Executor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantanu-crypto%2FRemote_Code_Executor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantanu-crypto%2FRemote_Code_Executor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantanu-crypto%2FRemote_Code_Executor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantanu-crypto%2FRemote_Code_Executor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shantanu-crypto","download_url":"https://codeload.github.com/shantanu-crypto/Remote_Code_Executor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantanu-crypto%2FRemote_Code_Executor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261630628,"owners_count":23187221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","expressjs","node-js","reactjs","socket-io"],"created_at":"2024-11-01T20:06:13.903Z","updated_at":"2025-12-30T19:56:59.469Z","avatar_url":"https://github.com/shantanu-crypto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n![Logo](https://i.ibb.co/mqLYrCr/Codex.png)\r\n\r\n\r\n# CODEX\r\n\r\nCODEX is a Remote Code Executor which lets you execute short code snippets of yours remotely.\r\n\r\n\r\n## Features\r\n\r\n- Implemented Code Santization\r\n- For each code run request, a seperate Docker container is created which limits the interference with the host machine.\r\n- Socket has been implemented with rooms, allowing multiple users to come together and code along in different rooms.\r\n- The parameters like Time taken to run the code and Total memory used have been limited, allowing efficient management of resources.\r\n- The code execution happens asynchronously, allowing the server to handle multiple requests at the same time.\r\n\r\n\r\n## Tech Stack\r\n\r\n**Client:** React\r\n\r\n**Server:** Node, Express, Docker\r\n\r\n\r\n## Prerequisites\r\n\r\n- docker\r\n\r\n```bash\r\n    curl -fsSL https://get.docker.com -o get-docker.sh\r\n```\r\n\r\n```bash\r\n    sudo sh get-docker.sh\r\n```\r\n\r\n## Run Locally\r\n\r\nClone the project\r\n\r\n```bash\r\n  git clone https://github.com/shantanu-crypto/Remote_Code_Executor\r\n```\r\n\r\nGo to the backend project directory\r\n\r\n```bash\r\n  cd remote-code-executor/backend\r\n```\r\n\r\nInstall dependencies\r\n\r\n```bash\r\n  npm install\r\n```\r\n\r\nBuild the Docker images\r\n\r\n```bash\r\n  cd Dockerfiles\r\n```\r\n\r\n```bash\r\n  sudo docker build -t java:v1 ./java \r\n```\r\n```bash\r\n  sudo docker build -t cpp:v1 ./cpp \r\n```\r\n```bash\r\n  sudo docker build -t py:v1 ./python \r\n```\r\n\r\n## Usage\r\n\r\n- To start the backend server in Development mode\r\n\r\n```bash\r\ncd backend \u0026\u0026 npm run dev\r\n```\r\n\r\n- To start the backend server in Production mode\r\n\r\n```bash\r\ncd backend \u0026\u0026 npm run start\r\n```\r\n\r\n- Start the frontend server\r\n\r\n```bash\r\ncd ../frontend \u0026\u0026 npm start\r\n```\r\n\r\n## Screenshots\r\n\r\n![App Screenshot](https://i.ibb.co/tKt6RYB/Screenshot-from-2023-03-20-21-10-32.png)\r\n![App Screenshot](https://i.ibb.co/Rgdyb7w/Screenshot-from-2023-03-20-22-45-39.png)\r\n![App Screenshot](https://i.ibb.co/0KbTh6S/Screenshot-from-2023-03-20-22-47-05.png)\r\n![App Screenshot](https://i.ibb.co/TM0h50s/Screenshot-from-2023-03-20-22-48-56.png)\r\n![App Screenshot](https://i.ibb.co/d2vxwqJ/Screenshot-from-2023-03-20-22-49-11.png)\r\n\r\n\r\n\r\n## Contributing\r\n\r\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\r\n\r\n- Fork the Project\r\n- Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\r\n- Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\r\n- Push to the Branch (`git push origin feature/AmazingFeature`)\r\n- Open a Pull Request\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshantanu-crypto%2Fremote_code_executor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshantanu-crypto%2Fremote_code_executor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshantanu-crypto%2Fremote_code_executor/lists"}