CodeRunner
Coderunner is an online code execution service that supports multiple programming languages, allowing real-time code execution and instant result feedback.π
Install / Use
/learn @koko1928/CodeRunnerREADME
CodeRunner
<img src="https://github.com/koko1928/CodeRunner/blob/main/coderunner.png?raw=true" alt="Code Runner" width="250" height="250">Overview
CodeRunner is an online code execution service that supports multiple programming languages, allowing you to run code and get instant feedback in real time. Itβs a versatile tool suitable for everyone from beginners to advanced programmers.
Features
- Multi-Language Support: Run code in various programming languages like C, C++, Java, Python, and many more.
- Real-Time Execution: Write and execute your code instantly to see results and debug issues on the fly.
- Error Reporting: Detailed reports on compilation and runtime errors help you quickly identify and resolve issues.
- Multi-Language Interface: The interface can be displayed in several languages, making it accessible to users around the globe.
Usage
-
Select Language:
- Choose your preferred display language from the "Language" dropdown menu at the top of the page.
- Select the programming language you want to use from the "Programming Language" dropdown menu.
-
Input Code:
- Enter your code into the code editor located under the "Source Code" section.
-
Provide Input Data:
- Input any data needed for standard input in the "Input" section.
-
Execute Code:
- Click the "Execute" button to run your code.
-
View Results:
- Check the "Result" section for output. This section displays standard output, build errors, and runtime errors.
Installation and Hosting
Hosting Environment Setup
-
Obtain Code:
- Clone or download this repository.
git clone https://github.com/koko1928/coderunner.git -
Place Files:
- Place the downloaded files into your web server's document root.
-
Manage Dependencies:
index.htmluses external libraries (jQuery, Monaco Editor) loaded via CDN. Ensure you have internet access for these libraries to function.
-
Start Server:
- Start your web server and navigate to
index.htmlin your browser.
- Start your web server and navigate to
Local Development Setup
-
Use Development Server:
- For local development, you can use a simple HTTP server. For example, you can use Node.js to install
http-serverand start the server.
npm install -g http-server http-server - For local development, you can use a simple HTTP server. For example, you can use Node.js to install
-
Check Local Files:
- Open your browser and go to
http://localhost:8080to verify that the application is working correctly.
- Open your browser and go to
API Server Usage
CodeRunner utilizes an external API server that you are welcome to use for personal, non-commercial purposes. However, commercial use is not permitted. If you are interested in using the API server for commercial purposes or require additional details, please contact us. For more information, please visit this page.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Bug reports and feature requests can be submitted on the Issues page. Pull requests are also welcome.
