What is UbSub?
UbSub is a platform to provide the publish-subscribe architecture. You may have a one or more publishers posting data (JSON) to a
topic. The topic then is able to forward the data in various different forms to
For example, one application, such as IFTTT or github, might publish an event notifying us that something happened. Once we receive that event, we will forward it to anyone who is listening for it, such as a home-automation device, an email, or build system.
In software architecture, publish–subscribe (PubSub) is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes without knowledge of which subscribers, if any, there may be. Similarly, subscribers express interest in one or more classes and only receive messages that are of interest, without knowledge of which publishers, if any, there are.
I like to think of UbSub as IFTTT for developers.
Read More: Wikipedia article on PubSub
- Trigger a topic to send a payload to all the subscribers with HTTP
- Support low-level UDP protocol for IoT optimization
- Trigger events with emails
- Send emails when an event is triggered
- Filter events by checking payload prior to retransmission
- Trigger popups on your PC using ubsub-notify
- Store variables for future reference
- Run a cron job to schedule recurring triggers
- And more! :)
- Head over to the homepage and create an account. A userless account can be created for testing, but remember that anyone can access it.
- Create a new topic. Give it a name that would be useful for you to know what it does.
- Create a subscription. You can create a test hook using a site such as webhook.site.
- Submit a test event in the topic UI!
- Check out various integrations on the left to begin using UbSub.
For instance, you can trigger a topic when a user submits a form on their site. Upon receiving the payload, the topic will send it to all subscribers such as to send an email, and call another http endpoint to submit the form.