https://github.com/dunglas/mercure Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By company size + Enterprises + Small and medium teams + Startups By use case + DevSecOps + DevOps + CI/CD + View all use cases By industry + Healthcare + Financial services + Manufacturing + Government + View all industries View all solutions * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners + Executive Insights * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} dunglas / mercure Public * * Notifications You must be signed in to change notification settings * Fork 303 * Star 4.3k An open, easy, fast, reliable and battery-efficient solution for real-time communications mercure.rocks License AGPL-3.0 license 4.3k stars 303 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 49 * Pull requests 6 * Discussions * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Discussions * Actions * Projects * Security * Insights dunglas/mercure main BranchesTags [ ] Go to file Code Folders and files Last Last Name Name commit commit message date Latest commit History 832 Commits .github .github .vscode .vscode caddy caddy charts/mercure charts/mercure cmd cmd common common conformance-tests conformance-tests docs docs examples examples fixtures fixtures gatling gatling public public spec spec tests tests .gitignore .gitignore .golangci.yml .golangci.yml .goreleaser.yml .goreleaser.yml .markdownlintignore .markdownlintignore .prettierignore .prettierignore .textlintignore .textlintignore CONTRIBUTING.md CONTRIBUTING.md COPYRIGHT COPYRIGHT Caddyfile Caddyfile Dockerfile Dockerfile Dockerfile.legacy Dockerfile.legacy LICENSE LICENSE README.md README.md authorization.go authorization.go authorization_test.go authorization_test.go bolt.go bolt.go bolt_test.go bolt_test.go config.go config.go config_test.go config_test.go demo.go demo.go demo_test.go demo_test.go dev.Caddyfile dev.Caddyfile event.go event.go event_test.go event_test.go example_test.go example_test.go go.mod go.mod go.sum go.sum handler.go handler.go hub.go hub.go hub_test.go hub_test.go jwtkeyfunc.go jwtkeyfunc.go jwtkeyfunc_test.go jwtkeyfunc_test.go local.go local.go local_bench_test.go local_bench_test.go local_test.go local_test.go localsubscriber.go localsubscriber.go log.go log.go log_test.go log_test.go metrics.go metrics.go metrics_test.go metrics_test.go publish.go publish.go publish_test.go publish_test.go release.sh release.sh server_test.go server_test.go subscribe.go subscribe.go subscribe_test.go subscribe_test.go subscriber.go subscriber.go subscriber_bench_test.go subscriber_bench_test.go subscriber_test.go subscriber_test.go subscriberlist.go subscriberlist.go subscriberlist_test.go subscriberlist_test.go subscription.go subscription.go subscription_test.go subscription_test.go topicselector.go topicselector.go topicselectorlru.go topicselectorlru.go topicselectorlru_test.go topicselectorlru_test.go transport.go transport.go update.go update.go update_test.go update_test.go View all files Repository files navigation * README * Code of conduct * AGPL-3.0 license Mercure: Real-time Made Easy Protocol and Reference Implementation Mercure is a protocol for pushing 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 * Getting started * Full documentation * Demo The protocol is maintained in this repository and is also available as an Internet-Draft. A reference, production-grade, implementation of a Mercure hub (the server) is also available in this repository. It's 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 Mercure.rocks hub is available on Mercure.rocks. Contributing See CONTRIBUTING.md. License and Copyright See license information. Credits Created by Kevin Dunglas. Graphic design by Laury Sorriaux. Sponsored by Les-Tilleuls.coop. About An open, easy, fast, reliable and battery-efficient solution for real-time communications mercure.rocks Topics api graphql golang websocket realtime web-api hypermedia server-sent-events streaming-api push subscriptions hacktoberfest realtime-api async-api mercure Resources Readme License AGPL-3.0 license Code of conduct Code of conduct Activity Stars 4.3k stars Watchers 64 watching Forks 303 forks Report repository Releases 107 v0.17.1 Latest Nov 11, 2024 + 106 releases Sponsor this project Sponsor Learn more about GitHub Sponsors Contributors 90 * @dunglas * @dependabot[bot] * @jderusse * @soyuka * @jdecool * @maxhelias * @jdreesen * @sagikazarmark * @vitorluis * @Fabious * @cassiobotaro * @erkia * @eroluysal * @castroCrea + 76 contributors Languages * Go 86.6% * HTML 3.8% * TypeScript 3.1% * JavaScript 3.0% * Scala 1.8% * Smarty 0.7% * Other 1.0% Footer (c) 2025 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.