No description
  • Makefile 48.6%
  • Rust 45.6%
  • Python 4.4%
  • C# 0.5%
  • HTML 0.4%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
carsoncoder cccaecfa97
Some checks are pending
Docker / build (push) Waiting to run
Update readme.md
2024-09-01 21:09:54 +00:00
.github Create docker-publish.yml 2024-09-01 02:12:06 +10:00
.vs Update dockerfile 2024-06-09 01:34:06 +10:00
__pycache__ Refactor code for improved performance 2024-03-15 06:49:40 +11:00
Code-Tools Refactor code to remove unnecessary files and functions 2024-09-01 02:05:43 +10:00
coderunner-web Update temp.lua and test.py files 2024-07-06 06:34:46 +10:00
coderunner_tools Refactor code to remove unnecessary files and functions 2024-09-01 02:05:43 +10:00
icons Refactor code to add initialization for g++ build system 2024-08-29 08:29:19 +10:00
runner get password auth working 2024-09-01 17:08:37 -04:00
.gitignore chore: Remove unused files and update dependencies 2024-07-11 18:36:34 +10:00
authenticated_server.py get password auth working 2024-09-01 17:08:37 -04:00
build.sh Update dockerfile 2024-06-09 01:34:06 +10:00
coderunner.sln Update dockerfile 2024-06-09 01:34:06 +10:00
compose-dev.yaml Add .tar.gz to .gitignore 2024-03-17 06:40:26 +00:00
CONTRIBUTING.md chore: Update requirements.txt with new dependencies 2024-06-22 09:41:13 +10:00
docker-compose.yml Delete temp and stuff.cpp, update docker-compose.yml and start.sh, and modify js.py, go.py, fib.py, readme.md, cpp.py 2024-03-24 08:22:51 +11:00
dockerfile Update dockerfile 2024-06-09 01:34:06 +10:00
LICENSE Re add licence 2024-03-19 21:18:42 +11:00
readme.md Update readme.md 2024-09-01 21:09:54 +00:00
requirements.txt chore: Update requirements.txt with new dependencies 2024-06-22 09:41:13 +10:00
supported_systems.md Refactor code to remove unnecessary files and functions 2024-09-01 02:05:43 +10:00

CodeRunner

Welcome to Runner! the interactive code enviroment brought to you by OpenStudio!

Runner is a simple, yet powerful tool that allows you to run code in a variety of languages, and see the output in real time. It's perfect for testing out code snippets, or for running scripts.

Usage

clone the repo and cd into the runner directory.

run /lib/server.py on a linux system. sorry windows. spawn out Code from Charlie's public folder inside of a world in resonite and hit the purple button to connect to the server. once you hear tada.wav, you are connected and can start running code.

type the code inside the main code box or drop one of the demo code files into the import area under the left monitor and click the green run button at the top right hand side of the window. the output will appear in the output window on the left monitor.

this assumes that the UI theme issue hasn't been completed yet or you are using the default client included with the server.

password authentication with -p {password} or --password {password}

Features

  • Run code in a variety of languages, including Python, C, C++, and more

  • See the output in real time

  • Fully interactive terminal

  • Run code in a safe, isolated environment using Docker

  • Easy to use, with a simple and intuitive interface

  • Password authentication.

best part about this, is that it is all open source and free to use!

if your docker container gets destroyed, you can rebuild it by running the following command in the runner directory:

docker build -t runner .

this will rebuild the docker container and you can run the server again.

Contributing

If you would like to contribute to Runner, please feel free to fork the repository and submit a pull request. We welcome contributions of all kinds, including bug fixes, new features, and improvements to the documentation.

if you need more infomation, please read the CONTRIBUTING.md file.

what is this?

ever wondered if you could literly type out text based languages inside of resonite and it just works?

well now you can!

code runner is a hardware/server duo that allows you to run python, c, c++ ect within resonite while still including the goodies such as watching cargo run take 24 hours because tokio hung itself for the 20th time today.

code features a fully interactive terminal that allows you to run anything you wish*

runner works through a docker container to run the code directly inside the docker container for safety and proformance*

how does it work?

using websockets and a python server, we can run code inside of a docker container and send the output back to the client in real time.

this also allows for streaming a terminal to the client, allowing for a fully interactive terminal experience.

:DISCLAMER: please know that this can allow arbatrary code execution on your system in the included docker container. though it is running inside the container, just put caution. :DISCLAMER: