https://github.com/gengjiawen/js-engines-playground
https://github.com/gengjiawen/js-engines-playground
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gengjiawen/js-engines-playground
- Owner: gengjiawen
- License: mit
- Created: 2022-07-07T14:53:37.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T15:16:07.000Z (3 months ago)
- Last Synced: 2025-03-24T19:12:53.130Z (3 months ago)
- Language: JavaScript
- Size: 3.46 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## JS Engines playground
[](https://gitpod.io/#https://github.com/gengjiawen/js-engines-playground)
[](https://hub.docker.com/r/gengjiawen/js-engines)
## Playground
Not guarenteed online all the time
http://k2.gengjiawen.com:8001/
## Pre-request
You need v8 in your path, you can do similar like
```
npm i -g npm-check-updates jsvu && yes | jsvu
```Or you can build v8 yourself. (see ref link if you want to setup v8 build env in one click)
Also add `~/.jsvu/bin` to your path.
## Setup
```bash
pnpm i
pnpm dev
```Frontend default port is http://localhost:3000
## Deploy
You can also use prebuild docker,
```bash
docker run --rm -it --name js-engines -p8001:8000 gengjiawen/js-engines
```or long running docker service:
```console
docker run -d --restart=always --name js-engines -p8001:8000 gengjiawen/js-engines:latest
```## Todo
sandbox for engine execute script.
## Ref
- https://github.com/gengjiawen/v8-build