Skip to main content

Realtime

Supabase provides a globally distributed Realtime service with the following features:

  • Broadcast: Send low-latency messages between clients. Perfect for real-time messaging, database changes, cursor tracking, game events, and custom notifications.
  • Presence: Track and synchronize user state across clients. Ideal for showing who's online, or active participants.
  • Postgres Changes: Listen to database changes in real-time.

What can you build?

  • Chat applications - Real-time messaging with typing indicators and online presence
  • Collaborative tools - Document editing, whiteboards, and shared workspaces
  • Live dashboards - Real-time data visualization and monitoring
  • Multiplayer games - Synchronized game state and player interactions
  • Social features - Live notifications, reactions, and user activity feeds

Get started

  • Getting Started: Set up Realtime in your project and send your first message.

Examples

  • Multiplayer.dev: Showcase application displaying cursor movements and chat messages using Broadcast.
  • Chat: Supabase Library chat component using Broadcast to send messages between users.
  • Avatar Stack: Supabase Library avatar stack component using Presence to track connected users.
  • Realtime Cursor: Supabase Library realtime cursor component using Broadcast to share users' cursors to build collaborative applications.

Resources

Find the source code and documentation in the Supabase GitHub repository: