mercure

Server-sent live updates: protocol and reference implementation

Github stars Tracking Chart

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
GoDoc
Build Status
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 Mercure is available in private beta.

Contributing

See CONTRIBUTING.md.

Credits

Created by Kévin Dunglas. Graphic design by Laury Sorriaux.
Sponsored by Les-Tilleuls.coop.

Main metrics

Overview
Name With Ownerdunglas/mercure
Primary LanguageGo
Program languageGo (Language Count: 9)
Platform
License:GNU Affero General Public License v3.0
所有者活动
Created At2018-07-14 13:47:14
Pushed At2025-04-22 15:26:57
Last Commit At
Release Count161
Last Release Namev0.19.0 (Posted on 2025-04-22 17:26:36)
First Release Namev0.1.0 (Posted on 2018-10-11 14:37:17)
用户参与
Stargazers Count4.9k
Watchers Count64
Fork Count332
Commits Count861
Has Issues Enabled
Issues Count479
Issue Open Count22
Pull Requests Count465
Pull Requests Open Count5
Pull Requests Close Count63
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private