4 ms·
This is kind of an idea a coworker and I have been toying with. At it's core, all you really need is a pub-sub server, with daemons publishing and consuming som
by johnmaguire2013 11y ago
This is kind of an idea a coworker and I have been toying with. At it's core, all you really need is a pub-sub server, with daemons publishing and consuming some JSON blobs. Redis is a pub-sub server out of the box, write some simple Python wrappers that poll web pages, RSS feeds, etc. and publish, and on subscribes perform actions (i.e. hit the API!)
I would like to convert a script I have which polls from my Gmail for credit card charge notifications and publishes to Airtable (which works great for this task!) to a more-general Gmail listener which publishes, and a more-general Airtable publisher which can be setup to record certain messages.
- icebraining 11y agoWe have such a system already, it's called PubSubHubbub. It's an open protocol, and there are already multiple servers (paid and free) and support by software, both by publishing systems like Wordpress and by news readers. https://en.wikipedia.org/wiki/PubSubHubbub https://en.wikipedia.org/wiki/PubSubHubbub https://github.com/pubsubhubbub https://github.com/pubsubhubbub