https://github.com/pgmtx/jule-playground
An online sandbox to quickly test Jule code.
https://github.com/pgmtx/jule-playground
docker jule playground website
Last synced: 3 months ago
JSON representation
An online sandbox to quickly test Jule code.
- Host: GitHub
- URL: https://github.com/pgmtx/jule-playground
- Owner: pgmtx
- License: gpl-3.0
- Created: 2026-02-10T10:37:55.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-03-04T16:48:42.000Z (4 months ago)
- Last Synced: 2026-03-04T17:10:54.988Z (4 months ago)
- Topics: docker, jule, playground, website
- Language: JavaScript
- Homepage: https://pgmtx.com/playground
- Size: 1.03 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jule Playground
> An online sandbox to quickly test [Jule](https://jule.dev/) code.
## Limitations
- The playground supports up to two concurrent compilations.
- Code relying on stdin is not supported due to sandboxing constraints.
## Setup
You will need [Docker](https://www.docker.com/), a [Go](https://go.dev) compiler (version >= 1.25.5), and [Bun](https://bun.com/).
Install the JavaScript dependencies (including CodeMirror), using `bun install`.
Clang and julec are isolated inside the Dockerfile, which can be built this way:
```
docker build -t jule-clang .
```
### Locally
Type `go run .` then open `0.0.0.0:8080/playground` in your browser.
Each time you edit `public/playground.js`, you have to execute `bun run build` to generate the bundle script.
### On a server
You need to have Docker installed on the server.
There is a [script](./deploy.sh) to easily deploy the project files. Before running it check out the paths and make sure to have a `.env` file containing `SERVER_IP="your_server_ip"`.