4 ms·
If you're using Elixir, check out https://github.com/cpursley/walex https://github.com/cpursley/walex I've actually been thinking about turning this idea into
by cpursley 3y ago
If you're using Elixir, check out https://github.com/cpursley/walex https://github.com/cpursley/walex
I've actually been thinking about turning this idea into a product where you can just point it at your postgres database and select the tables you want to listen to (with filters, like you describe). And have that forwarded to a webhook (with possibility of other protocols like websockets).
I'd love to hear folks thoughts on that (and if it would be something people would pay for). And if anyone might want to partner up on this.
- evntdrvn 3y agoWhat advantages does this have compared to Debezium?
- cpursley 3y agoYou wouldn't have to host it yourself (not everyone knows how or wants to run a heavy Java app). Add your database string, a couple extra migrations, your webhook endpoint - and you're off to the races. Target customer would be low-code space (think admin dashboards on postgres, webhook integration tools).
- chasers 3y agoYo :D This is what Supabase Realtime does! https://github.com/supabase/realtime https://github.com/supabase/realtime Spin up a Supabase database and then subscribe to changes with WebSockets. You can play with it here once you have a db: https://realtime.supabase.com/inspector/new https://realtime.supabase.com/inspector/new
- cpursley 3y agoYeah, Supabase is awesome. In fact, WalEx originally started out as stolen code from realtime so I could do stuff right in Elixir (biz logic).