depado / pb-templ-htmx-tailwind

POC with PocketBase, Templ, HTMX and Tailwind
MIT License
14 stars 2 forks source link

benthos #74

Open gedw99 opened 2 days ago

gedw99 commented 2 days ago

I managed to get benthos working with your repo easily as a test case.

Basically, Benthos is running and it makes calls to PB via the PB Web API and also the SSE real time stuff. Why bother ? Because they you can use the Benthos Web GUI to configure stuff without recompiling. You can do JSON transforms, JSON validation, mapping of INBOUND JSON and OUTBOUND JSON. It's what some people call a Bridge.

benthos as you probably know if a golang system for doing complex transformations.

benthos has a golang wasm based GUI, so end users can edit and validate and so there is no compile time.

WAMS GUI :)

https://github.com/mihaitodor/benthos-playground/tree/main/wasm/blobl-editor

gedw99 commented 2 days ago

Happy to show you if your interested.

It still works with the golang stuff in this repo.

It just makes it so that we can have other routes and GUI and Logic that does not need to be developed with golang and compiled.

You can find my via my GitHub profile page and contact me if you want...

depado commented 2 days ago

Hi, Sorry I don't really understand the purpose of this integration, could you explain a bit better or send screenshots?

gedw99 commented 2 days ago

Benthos is like a custom interpreter.

Its been renamed to redpanda but its still the same thing.

you can call PB over its web api and then massage the json between the htmx layer and the PB db.

you can do a hell of a lot more too. https://docs.redpanda.com/redpanda-connect/components/processors/about/

https://github.com/redpanda-data/benthos