# sama-server

> Self-hosted open-source chat server providing real-time messaging, horizontal clustering, push alerts, and multi-device sync for teams and developers.

- **Category:** Chat
- **Licence:** GPL-3.0
- **Latest version:** 0.37.2
- **Open source:** oss
- **Languages:** JavaScript
- **Platforms:** Docker Compose, Node.js
- **Tags:** MongoDB, Redis, Push Notifications, Real Time, Messaging, Chat, WebSocket, Chat Application, Xmpp, Node.js, Clustering, Minio, Multi device, Chat server, E2ee, Chatserver, Xmpp Server

## Description

SAMA is a self-hosted chat server built as an alternative to XMPP. It delivers real-time messaging with rich media, private and group chats, typing and read receipts, and file sharing. Users can stay connected across multiple devices with flexible online/offline message delivery. Push notifications work via APNS, FCM, and Web Push. The server clusters horizontally using Redis for coordination, with MongoDB for data and MinIO for file storage. Deployment options include Docker Compose (single-command or local development) and manual Node.js 22 setup. A free GPL-3.0 edition is available alongside a commercial Enterprise tier with dedicated support and an XMPP bridge add-on.

## Links

- [Homepage](https://github.com/SAMA-Communications/sama-server)
- [Website](https://samacloud.io)
- [Demo](https://app.samacloud.io)
- [Documentation](https://docs.samacloud.io)
- [Discord Community](https://discord.gg/bHSm9a7DpC)
- [Medium Blog](https://medium.com/sama-communications)
- [GitHub Repository](https://github.com/SAMA-Communications/sama-server)
- [Pricing](https://samacloud.io/pricing)
- [Contact](https://samacloud.io/contacts)

---
Source: https://selfhost.directory/project/sama-server