Show HN: PgHook – Docker image that streams PostgreSQL row changes to webhooks

github.com

32 points by enadzan a day ago

I needed real-time updates in a web UI whenever PostgreSQL table rows change, so I built PgHook. It's a 23 MB Docker image (10.1 MB compressed), .NET9 AOT-compiled, that streams logical replication events and sends them to a configurable webhook.

In my setup, the webhook converts events to SignalR messages that push updates to the UI.

I know about Debezium but I needed something minimal, and I like playing with csharp.

tasn a day ago

Congrats on the launch! I'm biased, but you should probably consider changing the webhooks to follow https://www.standardwebhooks.com/ for greater compatibility and library support.

  • enadzan 21 hours ago

    Thanks for checking it out! At this point I was focused on solving a specific problem, but improving compatibility is definitely worth looking into.