Code-Runner
Code-Runner copied to clipboard
代码在线运行工具
trafficstars
Code-Runner
代码在线运行工具: 在线地址: sandbox.calabash.top
-
[x]
Node.js -
[x]
Python -
[x]
Go
运行效果: 以Node.js为例
非stream mode, 限制Docker容器运行时间为10秒, 输出作为一个整体返回

stream mode, 限制Docker容器运行时间为30秒, 输出采用流的方式返回

主要技术栈
-
Koa2 -
Server Sent Events:@caaalabash/node-sse -
Docker -
Node.js的stream模块,child_process模块