Skip to content

A web app for writing, executing and sharing Benthos pipeline configurations

License

Notifications You must be signed in to change notification settings

DpoBoceka/benthos-lab

 
 

Repository files navigation

benthos-lab

Build Status

Benthos Lab is a web application for building, formatting, testing and sharing Benthos pipeline configurations.

It contains a full version of the Benthos streaming engine compiled to Web Assembly. This allows it to run natively within the browser sandbox rather than on a hosted instance, this allows us to be relaxed in regards to allowing certain processors and connectors to execute.

Install

Pull a docker image with:

docker pull jeffail/benthos-lab

Build

# Build client
GOOS=js GOARCH=wasm go build -ldflags='-s -w' -o ./client/wasm/benthos-lab.wasm ./client/wasm/benthos-lab.go

# Install server
go install ./server/benthos-lab

Docker:

go mod vendor
docker build . -t jeffail/benthos-lab:latest

Run

cd ./client && benthos-lab

Docker:

docker run --rm -p 8080:8080 jeffail/benthos-lab

Then open your browser at http://localhost:8080.

About

A web app for writing, executing and sharing Benthos pipeline configurations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 47.9%
  • JavaScript 36.2%
  • HTML 7.6%
  • CSS 5.7%
  • Dockerfile 2.2%
  • Shell 0.4%