centrifugo

Integrate and configure Centrifugo for real-time messaging with WebSocket PUB/SUB and JWT authentication.

567|82|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/pedronauck/skills --skill centrifugo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: centrifugo
Source: https://github.com/pedronauck/skills/tree/main/skills/centrifugo
Command: npx skills add https://github.com/pedronauck/skills --skill centrifugo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps integrate Centrifugo, a self-hosted real-time messaging server, into applications for features like live updates, chat, and notifications.

Core Features & Use Cases

  • Real-time Messaging: Implement WebSocket, SSE, and other real-time transports.
  • Channel Management: Configure namespaces, presence, and history for message delivery.
  • Authentication & Security: Secure connections using JWT or proxy authentication.
  • Scalability: Set up multi-node deployments using Redis or NATS.
  • Use Case: Build a live chat application where users can join rooms, see who else is online, and receive messages instantly.

Quick Start

Configure Centrifugo to use Redis for horizontal scaling and JWT for client authentication.

Frequently Asked Questions about centrifugo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up WebSocket pub/sub for real-time messaging in my application?

Centrifugo uses WebSocket connections and a pub/sub model to handle real-time messaging. This Skill guides you through configuring channels and namespaces to broadcast live updates to connected web and mobile clients.

How does JWT authentication work for securing real-time messaging connections?

JWT authentication secures real-time messaging by validating connection tokens before granting channel access. This Skill explains how to configure Centrifugo to verify JWTs for authorizing client pub/sub connections.

Can I scale real-time messaging horizontally using Redis or NATS?

Yes, you can scale real-time messaging horizontally by configuring Centrifugo with Redis or NATS. This Skill provides guidance on setting up multi-node deployments to distribute WebSocket connections and pub/sub traffic.

What is the best way to manage channels and presence for a live chat application?

The best way to manage live chat channels is by configuring namespaces, presence, and history within Centrifugo. This Skill covers how to track online users and ensure reliable message delivery across rooms.

Does Centrifugo support event proxying for custom backend integration?

Yes, Centrifugo supports event proxying to integrate real-time messaging events with your custom backend. This Skill details how to forward channel publications and connection events to your HTTP endpoints.