New Show Hacker News story: Show HN: Trout – relay webhook events and listen to them locally
Show HN: Trout – relay webhook events and listen to them locally
2 by campfireshuffle | 0 comments on Hacker News.
Today, the apps we build use a LOT of APIs, including Stripe for payments, Clerk for auth, Twilio for messaging and more. But receiving these webhook events to keep our own data synchronized has traditionally been a big hassle. The problem applies to both prod and dev. In prod, we need a reliable way to subscribe to these events and deliver them to their eventual destination. In dev, we need a way to test against these events locally. The existing products in this space include ngrok, HookDeck, Convoy and others. They are all great, but they have some caveats. For one, ngrok doesn't provide stable URLs for webhook development unless you fork over money for a paid plan. For an indie/hobbyist developer just trying to test their app, this can be a non-starter. Meanwhile, HookDeck and Convoy are full-fledged webhook relays which can be complicated to use. Trout is a simpler way to do webhook development. You can create sources and plug them into your external services e.g. Stripe. Then, you can forward these events anywhere. Trout also comes with a CLI you can install and use to listen to events on any source. This makes developing on localhost easy. All feedback is welcome!
2 by campfireshuffle | 0 comments on Hacker News.
Today, the apps we build use a LOT of APIs, including Stripe for payments, Clerk for auth, Twilio for messaging and more. But receiving these webhook events to keep our own data synchronized has traditionally been a big hassle. The problem applies to both prod and dev. In prod, we need a reliable way to subscribe to these events and deliver them to their eventual destination. In dev, we need a way to test against these events locally. The existing products in this space include ngrok, HookDeck, Convoy and others. They are all great, but they have some caveats. For one, ngrok doesn't provide stable URLs for webhook development unless you fork over money for a paid plan. For an indie/hobbyist developer just trying to test their app, this can be a non-starter. Meanwhile, HookDeck and Convoy are full-fledged webhook relays which can be complicated to use. Trout is a simpler way to do webhook development. You can create sources and plug them into your external services e.g. Stripe. Then, you can forward these events anywhere. Trout also comes with a CLI you can install and use to listen to events on any source. This makes developing on localhost easy. All feedback is welcome!
Comments
Post a Comment