Users can run code on the web without having to install any IDE or text editor. And it's free! The user can also download the code. The app currently supports 5 languages, C++, C, Python, Java and Javascript. The app is hosted on Vercel. The app is also serverless, and uses AWS Lamda to run the code.
- Axios
- Monaco Editor
- React Hot Toast
- React Icons
- React Select
- React Spinners
- js-file-download
https://rce70.vercel.app : Frontend hosted on Vercel, and uses AWS Lamda serverless service
-
Multiple language support
-
There are three text editors, one for the code, one for the input and one for the output
-
The code can be run using the Run button or Alt + Enter key
-
The code automatically get saved in the local storage, so that the user can continue from where he left
-
The user can reset the code using the Reset button
-
The user can download the code using the Download button
-
Researchers could use a Remote Code Executor app to test the security of different applications or systems, without having to run potentially dangerous code on their own machines.
-
Developers could use a Remote Code Executor app to quickly test code snippets or entire applications in a controlled environment, without having to set up a local development environment.
-
A Remote Code Executor app could be useful for teaching coding concepts and techniques, particularly for online courses or tutorials. Students could experiment with different code examples and receive immediate feedback, without having to install anything locally.
-
The user writes the code in the code editor
-
The user gives the input in the input editor
-
The user clicks on the Run button or presses Alt</ kbd> + Enter key
-
The code is sent to the server.
-
The server creates a random file name and saves the code and input in the file with the respective extensions.
-
The server runs the code using the respective compiler or interpreter, with a timeout of 10 seconds.
-
The server sends the status, data and execution time to the client.
-
The client displays the output (or error if any) and execution time in the output editor.
-
Clone the repository
git clone https://github.com/suyashvsingh/rce70-client.git
-
Install NPM packages
npm install
-
Start the application
npm run dev
-
Application will run on PORT 5173
-
Write the code, and give any input (if required)
-
Run the code using Run button or Alt + Enter key
Made with love by:
- Sanket Diwate (2020IMT-031)
- Ketan Prakash (2020IMT-044)
- Aditya Pote (2020IMT-069)
- Suyash Vikram Singh (2020IMT-104)