Home

Awesome

Helix editor playground

A small frontend running a xtermjs terminal attached to a websocket server executing helix inside a sandboxed container process.

How to use

Pull this repository:

git clone git@github.com:tomgroenwoldt/helix-editor-playground.git
cd helix-editor-playground

Start the frontend:

cd frontend
npm install
npm run start

For the backend you can use the pre-built docker image of the GitHub action or build the image yourself. The pre-build image is updated every day.

Pre-built

Pull the image:

docker pull ghcr.io/tomgroenwoldt/helix-editor-playground-backend:nightly

Start the container:

docker run -it --user user -p 8080:8080 ghcr.io/tomgroenwoldt/helix-editor-playground-backend:nightly

Build yourself

cd backend
docker build -t helix-editor-playground-backend -f Containerfile

Start the container

docker run -it --user user -p 8080:8080 helix-editor-playground-backend

Finally, visit http://localhost:3000/helix-editor-playground.