Repository

janbjorge/pgnudge

pgnudge

2stars

Open github.com

janbjorge/pgnudge

pgnudge

An async Python library that notifies applications when specific PostgreSQL tables change by reading the WAL over the replication protocol.

Visit project

Show me a random project

First shared
Jul 19, 2026
HN activity
30

Show HN@jeeybeeJul 19, 2026

Show HN: Pgnudge – tell your app which Postgres tables just changed

Hello HN! I found my self always doing some kind of polling loop for my applications when i want to watch data as it comes in, however i find striking the balance between aggressive polling and the responsiveness tricky. So i wrote (with help from claude) pgnudg. pgnudge is a small async Python library that wakes your app when specific Postgres tables change. It only tells you which tables moved. You refetch, and the database stays the source of truth.It reads the WAL over the replication protocol and turns commits into per-table wakeup I am more than willing to acknowledge that this is properly overkill, but I found it interesting, and maybe some else might as well?

Community

Hacker News discussion

Loading the thread…