{"id":13366689,"url":"https://github.com/centrifugal/centrifuGo","last_synced_at":"2025-03-12T18:31:16.170Z","repository":{"id":29665927,"uuid":"33208063","full_name":"centrifugal/centrifugo","owner":"centrifugal","description":"Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.","archived":false,"fork":false,"pushed_at":"2024-05-19T09:59:53.000Z","size":114562,"stargazers_count":7970,"open_issues_count":18,"forks_count":574,"subscribers_count":199,"default_branch":"master","last_synced_at":"2024-05-19T18:33:54.508Z","etag":null,"topics":["eventsource","grpc","http-streaming","http3","messaging","pubsub","real-time","redis","scalability","sockjs","sse","streaming","websocket","websockets","webtransport"],"latest_commit_sha":null,"homepage":"https://centrifugal.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/centrifugal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"centrifugal"}},"created_at":"2015-03-31T20:26:49.000Z","updated_at":"2024-05-21T07:34:52.722Z","dependencies_parsed_at":"2023-12-23T13:21:04.434Z","dependency_job_id":"daa9c423-de44-4155-9064-086add5a0006","html_url":"https://github.com/centrifugal/centrifugo","commit_stats":{"total_commits":1546,"total_committers":46,"mean_commits":"33.608695652173914","dds":"0.10996119016817596","last_synced_commit":"ee608cb1a19bc87359000c9a300a442a5bbbc9fc"},"previous_names":[],"tags_count":116,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centrifugal%2Fcentrifugo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centrifugal%2Fcentrifugo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centrifugal%2Fcentrifugo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centrifugal%2Fcentrifugo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centrifugal","download_url":"https://codeload.github.com/centrifugal/centrifugo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243271257,"owners_count":20264419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eventsource","grpc","http-streaming","http3","messaging","pubsub","real-time","redis","scalability","sockjs","sse","streaming","websocket","websockets","webtransport"],"created_at":"2024-07-30T00:01:29.660Z","updated_at":"2025-03-12T18:31:16.165Z","avatar_url":"https://github.com/centrifugal.png","language":"Go","funding_links":["https://github.com/sponsors/centrifugal"],"categories":["消息"],"sub_categories":["高级控制台界面","高級控制台界面"],"readme":"Centrifugo is an open-source scalable real-time messaging server. Centrifugo can instantly deliver messages to application online users connected over supported transports (WebSocket, HTTP-streaming, Server-Sent Events (aka EventSource), GRPC, WebTransport). Centrifugo has the concept of channel subscriptions – so it's a user-facing PUB/SUB server.\n\nCentrifugo is language-agnostic and can be used to build chat apps, live comments, multiplayer games, real-time data visualizations, collaborative tools, etc. in combination with any backend. It is well suited for modern architectures and allows decoupling the business logic from the real-time transport layer.\n\nSeveral official client SDKs for browser and mobile development wrap the bidirectional protocol. In addition, Centrifugo supports a unidirectional approach for simple use cases with no SDK dependency.\n\n## Documentation\n\n* [Centrifugo official documentation site](https://centrifugal.dev)\n* [Installation instructions](https://centrifugal.dev/docs/getting-started/installation)\n* [Getting started tutorial](https://centrifugal.dev/docs/getting-started/quickstart)\n* [Design overview and idiomatic usage](https://centrifugal.dev/docs/getting-started/design)\n* [Build a WebSocket chat/messenger app with Centrifugo](https://centrifugal.dev/docs/tutorial/intro) tutorial\n* [Centrifugal blog](https://centrifugal.dev/blog)\n* [FAQ](https://centrifugal.dev/docs/faq)\n\n## Join community\n\n* [Telegram](https://t.me/joinchat/ABFVWBE0AhkyyhREoaboXQ)\n* [Discord](https://discord.gg/tYgADKx)\n* [Twitter](https://twitter.com/centrifugalabs)\n\n## Why Centrifugo\n\nThe core idea of Centrifugo is simple – it's a PUB/SUB server on top of modern real-time transports:\n\n\u003cimg src=\"https://centrifugal.dev/img/protocol_pub_sub.png?v=2\" /\u003e\n\nThe hard part is to make this concept production-ready, efficient, flexible and available from different application environments. Centrifugo is a mature solution that already helped many projects with adding real-time features and scale towards many concurrent connections. Centrifugo provides a set of features not available in other open-source solutions in the area:\n\n* Efficient real-time transports: WebSocket, HTTP-streaming, Server-Sent Events, GRPC, WebTransport\n* Built-in scalability with Redis (or Redis Cluster, or Redis-compatible storage – ex. AWS Elasticache, Valkey, KeyDB, DragonflyDB, etc), or Nats.\n* Simple HTTP and GRPC server API to communicate with Centrifugo from the app backend\n* Asynchronous PostgreSQL and Kafka consumers to support transactional outbox and CDC patterns\n* Flexible connection authentication mechanisms: JWT and proxy-like (via request from Centrifugo to the backend)\n* Channel subscription multiplexing over a single connection\n* Different types of subscriptions: client-side and server-side\n* Various channel permission strategies, channel namespace concept\n* Hot message history in channels, with automatic message recovery upon reconnect, cache recovery mode (deliver latest publication immediately upon subscription)\n* Delta compression in channels based on Fossil algorithm\n* Online channel presence information, with join/leave notifications\n* A way to send RPC calls to the backend over the real-time connection\n* Strict and effective client protocol wrapped by several official SDKs\n* JSON and binary Protobuf message transfer, with optimized serialization and built-in batching\n* Beautiful embedded admin web UI\n* Great observability with lots of Prometheus metrics exposed and official Grafana dashboard\n* And much more, visit [Centrifugo documentation site](https://centrifugal.dev)\n\n## Backing\n\nThis repository is hosted by [packagecloud.io](https://packagecloud.io/).\n\n\u003ca href=\"https://packagecloud.io/\"\u003e\u003cimg height=\"46\" width=\"158\" alt=\"Private NPM registry and Maven, RPM, DEB, PyPi and RubyGem Repository · packagecloud\" src=\"https://packagecloud.io/images/packagecloud-badge.png\" /\u003e\u003c/a\u003e\n\nAlso thanks to [JetBrains](https://www.jetbrains.com/) for supporting OSS (most of the code here written in Goland):\n\n\u003ca href=\"https://www.jetbrains.com/\"\u003e\u003cimg height=\"140\" src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" alt=\"JetBrains logo\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentrifugal%2FcentrifuGo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentrifugal%2FcentrifuGo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentrifugal%2FcentrifuGo/lists"}