Show HN: PgHook – Docker image that streams PostgreSQL row changes to webhooks (github.com)
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.
4 comments
[ 0.24 ms ] story [ 14.5 ms ] threadI’ve been experimenting with logical replication [1] for a while, and it felt like a simpler fit here.
[1] https://github.com/PgOutput2Json/PgOutput2Json