Benthos plugin: QR Code

Usage
Create a custom Benthos binary:
package main
import (
"context"
"github.com/redpanda-data/benthos/v4/public/service"
_ "github.com/sagikazarmark/benthos-qrcode"
)
func main() {
service.RunCLI(context.Background())
}
[!TIP]
Read more about Benthos plugins here.
Use the plugin in your Benthos configuration:
input:
generate:
count: 1
mapping: |
root = "hello"
pipeline:
processors:
- qrcode:
format: png
output:
file:
path: out.png
codec: all-bytes
Development
For an optimal developer experience, it is recommended to install Nix and direnv.
go test -v ./...
License
The project is licensed under the MIT License.