benthos-lab

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2019 License: MIT

README

benthos-lab

Build Status

This is an experimental site using a WASM build of Benthos for testing pipelines in the browser.

This repo is subject to stagnation, modification beyond recognition, outright deletion. I'm basically just messing about for fun, please don't get mad.

Install

Pull a docker image with:

docker pull jeffail/benthos-lab

Build

# Build client
GOOS=js GOARCH=wasm go build -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.

Directories

Path Synopsis
client
wasm command
lib
server
benthos-lab command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL