Mercure: Real-time Made Easy

Protocol and Reference Implementation

Mercure is a protocol allowing to push data updates to web browsers and other HTTP clients in a convenient, fast, reliable and battery-efficient way. It is especially useful to publish async and real-time updates of resources served through web APIs, to reactive web and mobile apps.

Awesome Artifact HUB PkgGoDev CI Coverage Status Go Report Card

Subscriptions Schema

The protocol has been published as an Internet Draft that is maintained in this repository.

A reference, production-grade, implementation of a Mercure hub (the server) is also available in this repository. It's a free software (AGPL) written in Go. It is provided along with a library that can be used in any Go application to implement the Mercure protocol directly (without a hub) and an official Docker image.

In addition, a managed and high-scalability version of the hub is available on





Created by KΓ©vin Dunglas. Graphic design by Laury Sorriaux. Sponsored by


Server-sent live updates: protocol and reference implementation

Mercure Info

⭐ Stars2645
πŸ”— Source
πŸ•’ Last Update8 months ago
πŸ•’ Created4 years ago
🐞 Open Issues16
βž— Star-Issue Ratio165
😎 Authordunglas