https://github.com/dadadel/codelauncher
A web server to launch C, C++ and Python code on a web browser
https://github.com/dadadel/codelauncher
Last synced: 11 months ago
JSON representation
A web server to launch C, C++ and Python code on a web browser
- Host: GitHub
- URL: https://github.com/dadadel/codelauncher
- Owner: dadadel
- License: gpl-3.0
- Created: 2014-05-19T19:18:11.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-07-26T22:05:32.000Z (almost 11 years ago)
- Last Synced: 2025-03-28T12:21:18.662Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 429 KB
- Stars: 38
- Watchers: 3
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
codelauncher
============
A Flask Python server to launch C/C++ code and Python code online.
This is a simple, light Flask server that allows you to quickly run C code or Python code.
It uses only HTML5 and CSS3. No Javascript is needed but if activated the `Ace editor `_ is available.
The only dependency is Flask.
Below you have screenshots_.
This software is made for you if you are looking for:
- something simple to write basic code
- something unified to run C and Python basic programs from source code (switching using one clic)
- not creating a file, compiling, using a terminal neither using an interpreter
- having a quick result using one clic on a button
- no advertising and open source tool
- using a web browser
- working in localhost
- not needing javascript (unless needing a more efficient code editor)
- customizable
- not security constraints
**WARNING: Be careful, this is intended to run in local as there is no sandbox, no security management.**
How to use
----------
The easy way is to clone it and use it via a virtualenv:
.. code-block:: sh
$ git clone https://github.com/dadadel/codelauncher.git # or git@github.com:dadadel/codelauncher.git
$ cd codelauncher
$ virtualenv env
$ . env/bin/activate
$ pip install Flask
Run the server:
.. code-block:: sh
$ python webdev.py
Then visite with your web browser the URL: `http://127.0.0.1:5000`.
Screenshot
----------
.. _screenshots:
- Ace editor is used when Javascript is activated:
.. image:: screenshot-codelauncher-ace.png
:alt: Screenshot
- When no Javascript activated, basic text box:
.. image:: screenshot-codelauncher.png
:alt: Screenshot