Listen to a Webhook and render its content with LiveView

I had the idea of ​​being able to render a webhook, but with the help of live viewing. However, I am unable to link these two concepts. I was thinking about configuring the webhook with the Controllers and then I would render with the live view. What is the correct way to apply? :smile: :blush:

You probably want to publish the webhook result and then your LiveView can subscribe to that topic and will show the result. The LV Chirp example from Chris’s video is a good starting point. If you just want to look at the code, check out this repo.

2 Likes