https://github.com/redsuperbat/ts-executor
A program that takes arbirary typescript code, compiles it, executes it and sends the stdout result back to the client.
https://github.com/redsuperbat/ts-executor
Last synced: 11 months ago
JSON representation
A program that takes arbirary typescript code, compiles it, executes it and sends the stdout result back to the client.
- Host: GitHub
- URL: https://github.com/redsuperbat/ts-executor
- Owner: redsuperbat
- Created: 2023-03-22T08:22:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T22:09:26.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T10:32:05.180Z (over 1 year ago)
- Language: TypeScript
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-executor
A program that takes arbitrary typescript code, compiles it, executes it and sends the stdout result back to the client.
The executor is designed to run in a docker container for a bit of added security.
With that said, this solution is not secure by design so I do not recommend you to run it anywhere untrusted code can be executed. I use it to execute arbitrary typescript code during presentations.