Skip to content
All templates

Messaging Starter

Private conversations for an app or a team: one-to-one and group chats, live messages, unread counts, notifications and profiles.

Messaging Starter preview

Deploy

# Install
curl -fsSL https://raw.githubusercontent.com/pocketbasecloud/cli/main/scripts/install.sh | sh
# Login
pbc login
# Clone
git clone https://github.com/pocketbasecloud/starters && cd starters/messaging
# Deploy
pbc pocketbase deploy --new messaging && pbc pocketbase info --name messaging

Overview

Private conversations for an app or a team: one-to-one and group chats, live messages, unread counts, notifications and profiles. It is one PocketBase and nothing else: pages are rendered by JavaScript hooks with PocketBase’s built-in template engine, so there is no separate server and no build step.

Key features

  • Live messages: PocketBase realtime pushes new messages only to people in the conversation.
  • Unread counts: each person’s last read time drives the badges in the conversation list.
  • Profiles and notifications: people see names, never emails, and hear when someone starts a conversation with them.
  • Settings: cap group size and set how long messages are kept; a daily job deletes older ones.

Make it yours

The starter’s README lists the three things to change first.

Related Templates