Skip to content
/ titan Public

Code Execution Engine (Bash, Python, Go) Written in Go w/ Tork.

Notifications You must be signed in to change notification settings

Nyumat/titan

Repository files navigation

Arbitrary Code Execution Service In Go

You'll need:

  • Go version 1.19 or better installed.
  • Docker

Start the server:

go run main.go run standalone

Execute a code snippet. Example

curl \
  -s \
  -X POST \
  -H "content-type:application/json" \
  -d '{"language":"python","code":"print(\"hello world\")"}' \
  http://localhost:8000/execute

Should output:

hello world

You can try changing the language to go or bash.

Frontend

cd frontend
npm install
npm run dev

About

Code Execution Engine (Bash, Python, Go) Written in Go w/ Tork.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published