# supabase/realtime

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/supabase-realtime).**

7,488 stars · 421 forks · Elixir · apache-2.0

## Links

- GitHub: https://github.com/supabase/realtime
- Homepage: https://supabase.com/realtime
- awesome-repositories: https://awesome-repositories.com/repository/supabase-realtime.md

## Topics

`cdc` `change-data-capture` `crdt` `distributed-systems` `elixir` `phoenix` `phoenix-framework` `postgres` `postgresql` `pubsub` `realtime`

## Description

Realtime is a real-time data distribution and synchronization engine that enables applications to stream database changes and coordinate state between clients. It functions as a synchronization layer that monitors database write-ahead logs to provide change data capture and pushes updates to authorized clients via WebSockets.

The project features a real-time presence server for tracking the online status of active users and a broadcast service for sending ephemeral messages without database persistence. It organizes communication through channel-based message routing and uses a structured JSON protocol to manage subscriptions and broadcasts.

The system integrates row-level security to enforce data access controls during the streaming process and supports logical replication to stream row-level modifications. Its capability surface extends to shared state synchronization and the implementation of real-time chat infrastructure.

## Tags

### Networking & Communication

- [Database Change Streaming](https://awesome-repositories.com/f/networking-communication/data-streaming/database-change-streaming.md) — Captures database changes from the write-ahead log to stream row-level modifications to connected clients in real time.
- [Room-Based Message Routing](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/messaging-notification-systems/messaging-architectures/room-based-message-routing.md) — Organizes real-time communication into named streams to isolate data traffic between different sets of clients.
- [Broadcast Messaging](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/real-time-communication/broadcast-messaging.md) — Provides a low-latency layer for sending ephemeral messages and presence updates between connected clients.
- [PubSub Messaging Systems](https://awesome-repositories.com/f/networking-communication/pubsub-messaging-systems.md) — Pushes real-time updates from the server to subscribed clients over persistent WebSocket connections.
- [Real-Time Messaging Protocols](https://awesome-repositories.com/f/networking-communication/real-time-messaging-protocols.md) — Uses a structured JSON message format to handle subscriptions and broadcasts between clients and the real-time server.
- [Real-Time Synchronization](https://awesome-repositories.com/f/networking-communication/real-time-synchronization.md) — Maintains and synchronizes shared application state across multiple connected clients using persistent connections. ([source](https://cdn.jsdelivr.net/gh/supabase/realtime@main/README.md))
- [Real-time Messaging](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/communication-platforms/real-time-collaboration-suites/real-time-messaging.md) — Provides the WebSocket infrastructure required to build real-time messaging and chat interfaces. ([source](https://supabase.com/ui))
- [Content Delivery Networks](https://awesome-repositories.com/f/networking-communication/content-delivery-networks.md) — Serves stored content from a global network of edge locations to reduce end-user latency. ([source](https://supabase.com/storage.md))

### Data & Databases

- [Change Data Capture](https://awesome-repositories.com/f/data-databases/change-data-capture.md) — Monitors database write-ahead logs to stream row-level modifications to external applications.
- [Database Change Subscriptions](https://awesome-repositories.com/f/data-databases/database-change-subscriptions.md) — Allows clients to subscribe to database modifications over WebSockets for immediate application updates. ([source](https://supabase.com/docs/guides/realtime.md))
- [Real-Time Data Streaming](https://awesome-repositories.com/f/data-databases/real-time-data-streaming.md) — Provides real-time data streaming by monitoring database logs to push updates to authorized clients. ([source](https://cdn.jsdelivr.net/gh/supabase/realtime@main/README.md))
- [S3-Compatible Cloud Storage](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/file-based-storage/local-file-storage/s3-compatible-cloud-storage.md) — Manages file uploads and delivery using S3-compatible protocols and a global CDN. ([source](https://supabase.com/docs/guides/storage.md))
- [Database Branching](https://awesome-repositories.com/f/data-databases/database-branching.md) — Creates isolated database copies synced with version control for testing changes in preview environments. ([source](https://supabase.com/database.md))
- [Database Extensions](https://awesome-repositories.com/f/data-databases/database-extensions.md) — Integrates specialized database capabilities such as vector search and geospatial data through extensions. ([source](https://supabase.com/database.md))
- [Database Migration Management](https://awesome-repositories.com/f/data-databases/database-migration-management.md) — Applies schema changes across environments to maintain consistency between local and production databases. ([source](https://supabase.com/docs/guides/local-development.md))
- [Spreadsheet-Like Editors](https://awesome-repositories.com/f/data-databases/database-table-editors/data-record-editing/spreadsheet-like-editors.md) — Provides a spreadsheet-like interface to view and edit database records, relationships, and JSON columns. ([source](https://supabase.com/database.md))
- [File Upload Management](https://awesome-repositories.com/f/data-databases/file-upload-management.md) — Provides a user interface and system for selecting and uploading files to cloud storage. ([source](https://supabase.com/ui))
- [Object Storage](https://awesome-repositories.com/f/data-databases/object-storage.md) — Implements S3-compatible object storage for managing unstructured files, datasets, and embeddings. ([source](https://supabase.com/storage.md))
- [Read Replicas](https://awesome-repositories.com/f/data-databases/read-replicas.md) — Distributes read requests across regional replicas to reduce latency and increase database throughput. ([source](https://supabase.com/database.md))
- [SQL Query Interfaces](https://awesome-repositories.com/f/data-databases/sql-query-interfaces.md) — Provides a dashboard interface for writing and executing raw SQL commands against the database. ([source](https://supabase.com/database.md))
- [Vector Embedding Indexes](https://awesome-repositories.com/f/data-databases/vector-search/vector-embedding-indexes.md) — Stores high-dimensional vector embeddings in optimized indexes to support AI-powered similarity searches. ([source](https://supabase.com/storage.md))
- [Vector Similarity Search](https://awesome-repositories.com/f/data-databases/vector-similarity-search.md) — Identifies nearest neighbor vectors using distance metrics and indexing strategies like HNSW. ([source](https://supabase.com/vector.md))
- [Filtered Similarity Searches](https://awesome-repositories.com/f/data-databases/vector-similarity-search/filtered-similarity-searches.md) — Constrains vector similarity search results using relational or JSONB metadata filters. ([source](https://supabase.com/vector.md))
- [Vector Storage](https://awesome-repositories.com/f/data-databases/vector-storage.md) — Stores high-dimensional vector embeddings alongside relational data to support hybrid SQL queries. ([source](https://supabase.com/vector.md))

### Development Tools & Productivity

- [Presence Tracking](https://awesome-repositories.com/f/development-tools-productivity/change-tracking/real-time-synchronization/presence-tracking.md) — Tracks and broadcasts the online state of users to coordinate shared activity in real time. ([source](https://supabase.com/ui))
- [Local Development Stacks](https://awesome-repositories.com/f/development-tools-productivity/local-development-stacks.md) — Provides a local environment with database, authentication, and storage services for offline testing. ([source](https://supabase.com/docs/guides/local-development.md))
- [Team-Scoped Access Control](https://awesome-repositories.com/f/development-tools-productivity/team-management/team-scoped-access-control.md) — Manages shared billing and assigns permissions to team members by grouping projects into organizations. ([source](https://supabase.com/docs/guides/platform.md))
- [Type Definition Generators](https://awesome-repositories.com/f/development-tools-productivity/type-definition-generators.md) — Automatically creates TypeScript definitions from the database schema to ensure type safety. ([source](https://supabase.com/docs/guides/local-development.md))

### Security & Cryptography

- [JWT Session Management](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/session-and-credential-handling/session-credential-management/jwt-session-management.md) — Generates JSON Web Tokens to maintain user sessions and verify identity across network requests. ([source](https://supabase.com/auth.md))
- [Identity-Based Access Control](https://awesome-repositories.com/f/security-cryptography/identity-based-access-control.md) — Controls access to resources and actions based on verified user identity and assigned permissions. ([source](https://supabase.com/docs/guides/auth.md))
- [Row-Level Security](https://awesome-repositories.com/f/security-cryptography/row-level-security.md) — Enforces data access controls by mapping client identities to database security policies during the streaming process.
- [User Authentication Systems](https://awesome-repositories.com/f/security-cryptography/user-authentication-systems.md) — Verifies user identities using various methods including passwords, magic links, one-time passwords, and social logins. ([source](https://supabase.com/docs/guides/auth.md))
- [Logic Customizers](https://awesome-repositories.com/f/security-cryptography/authentication-flows/logic-customizers.md) — Allows the injection of custom logic into the signup or login sequence by triggering functions during the process. ([source](https://supabase.com/auth.md))
- [Multi-Factor Authentication](https://awesome-repositories.com/f/security-cryptography/multi-factor-authentication.md) — Implements TOTP-based secondary verification steps during the login process to increase account security. ([source](https://supabase.com/auth.md))
- [File Access Policies](https://awesome-repositories.com/f/security-cryptography/policy-based-access-control/file-access-policies.md) — Enforces read and write permissions for cloud storage objects using custom security policies. ([source](https://supabase.com/docs/guides/storage.md))
- [User Identity Management](https://awesome-repositories.com/f/security-cryptography/user-identity-management.md) — Provides a visual administrative dashboard to manage the lifecycle of user accounts and identities. ([source](https://supabase.com/auth.md))

### User Interface & Experience

- [Collaborative Presence States](https://awesome-repositories.com/f/user-interface-experience/application-state-managers/collaborative-presence-states.md) — Manages transient user presence and metadata in memory for low-latency synchronization of active user states.
- [Authentication UI Components](https://awesome-repositories.com/f/user-interface-experience/authentication-ui-components.md) — Provides pre-made UI components for login and signup screens that connect directly to the identity provider. ([source](https://supabase.com/ui))

### Web Development

- [Presence Tracking](https://awesome-repositories.com/f/web-development/presence-tracking.md) — Provides a coordination layer for tracking and sharing the online status and metadata of active users.
- [Schema-Driven API Generators](https://awesome-repositories.com/f/web-development/schema-driven-api-generators.md) — Automatically generates web interfaces and endpoints directly from a data schema for CRUD operations. ([source](https://supabase.com/docs/guides/api.md))
- [Identity Provider Integration](https://awesome-repositories.com/f/web-development/third-party-integrations/third-party-platform-authorizations/identity-provider-integration.md) — Connects to external OAuth2 or OIDC-compatible services to enable sign-in via social or enterprise accounts. ([source](https://supabase.com/docs/guides/auth.md))
- [Real-time Sync Engines](https://awesome-repositories.com/f/web-development/websocket-integrations/real-time-sync-engines.md) — Implements a system that listens to database changes and pushes updates to clients via WebSockets.
- [Serverless Functions](https://awesome-repositories.com/f/web-development/serverless-functions.md) — Executes TypeScript code in globally distributed serverless environments to minimize latency for HTTP endpoints. ([source](https://supabase.com/docs/guides/functions.md))

### Artificial Intelligence & ML

- [Semantic Search Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/semantic-search-engines.md) — Enables the conversion of text into vector embeddings and retrieval pipelines to find information based on meaning. ([source](https://supabase.com/docs/guides/ai-tools.md))

### Part of an Awesome List

- [File Managers](https://awesome-repositories.com/f/awesome-lists/data/file-managers.md) — Provides a visual dashboard to upload, browse, and organize files with folder management. ([source](https://supabase.com/storage.md))
- [Data and Databases](https://awesome-repositories.com/f/awesome-lists/data/data-and-databases.md) — Real-time database synchronization and broadcasting via WebSockets.

### DevOps & Infrastructure

- [Application Environment Provisioning](https://awesome-repositories.com/f/devops-infrastructure/application-environment-provisioning.md) — Deploys a dedicated database, authentication system, API layer, and storage instance for a single application. ([source](https://supabase.com/docs/guides/platform.md))
- [CI CD Pipelines](https://awesome-repositories.com/f/devops-infrastructure/ci-cd-pipelines.md) — Automates the deployment of project changes from version control branches using integrated pipelines. ([source](https://supabase.com/docs/guides/deployment.md))
- [Point-in-Time Recovery](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/backend-as-a-service/point-in-time-recovery.md) — Restores database states to specific historical moments using automatic daily backups and log replaying. ([source](https://supabase.com/database.md))
- [Deployment Configuration](https://awesome-repositories.com/f/devops-infrastructure/deployment-configuration.md) — Synchronizes local settings and schema changes to remote platforms to maintain environment consistency. ([source](https://supabase.com/docs/guides/local-development.md))
- [Infrastructure as Code](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-as-code.md) — Defines and deploys project resources as code using a Terraform provider. ([source](https://supabase.com/docs/guides/deployment.md))
- [Preview Environments](https://awesome-repositories.com/f/devops-infrastructure/preview-environments.md) — Generates isolated temporary environments for pull requests to validate database changes before merging. ([source](https://supabase.com/docs/guides/deployment.md))
