Overview of Flask-WebSub
masterFlask, Celery, and requests libraries.repository·master·Indexed 43 days ago
https://github.com/w3c/websubA W3C specification providing a mechanism for notifying subscribers of new content updates via a pub/sub model. This documentation includes the official W3C Recommendation, Editor's Draft, and implementation reports for various hubs including Ballerina, Dobrado, Flask-WebSub, Mastodon, Promulgate, Google WebSub Hub, and Switchboard.
Flask, Celery, and requests libraries.Twitch provides a WebSub implementation for handling webhooks. This implementation is written in Go and is used to notify subscribers of changes to specific topics.
Key characteristics:
hub.mode, hub.topic, hub.callback, and hub.secret.sha256 for signing notifications.Content-Type that matches the topic URL.WSO2 API Manager (version 4.1.0 and onwards) provides a WebSub implementation using Java and WSO2 Synapse. It supports both the Subscription and Distribution aspects of the WebSub protocol.
Subscription Capabilities:
hub.mode, hub.topic, and hub.callback parameters.hub.secret for secure subscriptions.Distribution Capabilities:
content-type matching the topic URL.sha1 signature method.WebSubHub is an open-source implementation of the WebSub protocol written in Elixir. It serves as a hub for managing subscriptions and distributing notifications for topics.
hub.secret for authentication and allows subscribers to request specific lease durations (subject to enforced min/max ranges). It also supports re-requesting active subscriptions before expiration and handles unsubscription requests.Dobrado is a PHP-based open-source implementation of the WebSub protocol. It can be used as a hub to manage subscriptions and distribute notifications for topic updates.
Implementation Details:
The Google WebSub Hub (hosted at http://pubsubhubbub.appspot.com/) is a production implementation of the WebSub protocol. It allows publishers to broadcast updates to subscribers via a centralized hub.
When subscribing to a topic via this hub, you can use the following parameters and features:
hub.mode, hub.topic, and hub.callback.hub.secret for signed requests.When the hub notifies a subscriber of a change, it provides:
content-type matching the topic URL.sha1 method.FeedMail is a Rust-based WebSub implementation. It supports various discovery methods, subscription workflows (including handling redirects), and distribution notifications.
Discovery Support:
<link> tags.<atom:link> tags.Subscription Support:
lease_seconds (though the hub may ignore this).Distribution Support: