Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CODEON

Browser-based compiler for Python, Java, C++, and C.

Setup

pip install -r requirements.txt
python run.py

Open http://127.0.0.1:5000.

C and C++ need gcc / g++ on PATH. Java needs a JDK (javac and java).

Layout

run.py                      # start the app
app.py                      # Flask factory
config.py
requirements.txt
routes/
  pages.py                  # GET /
  execute.py                # POST /api/run
runners/
  python_runner.py
  java_runner.py
  cpp_runner.py
  c_runner.py
  native_runner.py          # shared gcc/g++ flow
  process.py                # subprocess helpers
templates/index.html
static/
  css/main.css
  js/app.js
  img/mark.jpg

API

POST /api/run

{ "language": "python", "code": "print(1)", "input": "" }

language is one of python, java, cpp, c.

About

Web-based online code compiler (Python, Java, C++, C) with Flask — live execution, custom input and error reporting

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages