Skip to content

getditto/DittoChat

Repository files navigation

DittoChat

A suite of SDKs that provides UI components and data models to quickly build a peer-to-peer chat application using the Ditto Platform.

Features

  • Real-time, peer-to-peer chat

  • Group chat and private messaging

  • User presence and typing indicators

  • Easy-to-integrate SwiftUI views

  • Built on the Ditto Sync Platform

Requirements:

iOS

  • iOS 18.0+
  • Xcode 15.6+
  • Swift 5.7+
  • A Ditto Account, AppId, and baseline knowledge of the DittoSwift SDK

Android

  • TBD

Web

  • Node.js 18.0+
  • React 18.0+ or 19.0+
  • TypeScript 4.5+
  • A Ditto Account, AppId, and baseline knowledge of the Ditto JavaScript SDK

Packages

The JavaScript implementation consists of two packages:

@dittolive/ditto-chat-core - Core data models and React hooks for real-time chat functionalities

npm install @dittolive/ditto-chat-core
# or
yarn add @dittolive/ditto-chat-core

@dittolive/ditto-chat-ui - Ready-to-use React components for building chat UIs

npm install @dittolive/ditto-chat-ui
# or
yarn add @dittolive/ditto-chat-ui

Publishing

This monorepo uses Changesets for version management and publishing.

For Contributors

When making changes to the packages, please create a changeset to document your changes:

npm run changeset

This will prompt you to select which packages are affected and describe your changes.

Release Process

Releases are automated via GitHub Actions:

  1. When changesets are merged to main, a "Version Packages" PR is automatically created
  2. Merging the "Version Packages" PR publishes the packages to NPM

About

Ditto Chat in any Application

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 9