An open API service indexing awesome lists of open source software.

https://github.com/mereithhh/js-web-runner

在线执行 js 代码,支持 nodejs api。
https://github.com/mereithhh/js-web-runner

coderunner js web

Last synced: 4 months ago
JSON representation

在线执行 js 代码,支持 nodejs api。

Awesome Lists containing this project

README

        

# js-web-runner
js 代码在线执行器,在线执行 js 代码,支持 nodejs api。

在线地址(部署到 Verce 上可能比较慢):[http://js-web-runner.mereith.com/](http://js-web-runner.mereith.com/)

![截图](img/js-web-runner.png)

## 项目介绍
有时候想要快速验证一下 js 代码的执行结果,但浏览器里面的没有 node 相关的 api。 然后好像我发现自己掌握了做一个这样的在线执行器的所有技术点,所以就做了一个。

## 部署
### Docker 部署
```bash
docker run --name js-web-runner -p 3010:3000 -d --restart always mereith/js-web-runner:latest
```

打开 http://:3010/ 即可访问。

### Vercel 部署
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/mereithhh/js-web-runner)

### 现有问题
- [ ] 编辑器加载很慢