Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tomgroenwoldt/helix-editor-playground

Web based playground for the helix editor.
https://github.com/tomgroenwoldt/helix-editor-playground

Last synced: 5 days ago
JSON representation

Web based playground for the helix editor.

Awesome Lists containing this project

README

        

# Helix editor playground

A small frontend running a [xtermjs](https://xtermjs.org/) terminal attached
to a websocket server executing [helix](https://helix-editor.com) inside a
sandboxed container process.

## How to use

Pull this repository:

```bash
git clone [email protected]:tomgroenwoldt/helix-editor-playground.git
cd helix-editor-playground
```

Start the frontend:
```bash
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:
```bash
docker pull ghcr.io/tomgroenwoldt/helix-editor-playground-backend:nightly
```
Start the container:
```bash
docker run -it --user user -p 8080:8080 ghcr.io/tomgroenwoldt/helix-editor-playground-backend:nightly
```

### Build yourself
```bash
cd backend
docker build -t helix-editor-playground-backend -f Containerfile
```
Start the container
```bash
docker run -it --user user -p 8080:8080 helix-editor-playground-backend
```

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