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。
- Host: GitHub
- URL: https://github.com/mereithhh/js-web-runner
- Owner: Mereithhh
- Created: 2023-06-28T12:58:35.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-28T13:40:22.000Z (about 2 years ago)
- Last Synced: 2025-01-13T14:23:10.107Z (6 months ago)
- Topics: coderunner, js, web
- Language: TypeScript
- Homepage: https://js-web-runner.mereith.com
- Size: 311 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)

## 项目介绍
有时候想要快速验证一下 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 部署
[](https://vercel.com/import/project?template=https://github.com/mereithhh/js-web-runner)### 现有问题
- [ ] 编辑器加载很慢