Introduction
YACS (Yet Another Chatting Software) is a self-hosted messaging app for the web. People can talk, call and share files with anyone without exchanging phone numbers or contacts: you share a link or a QR code, and whoever opens it is connected to you.
It runs as an installable Progressive Web App on phones and desktops, and the whole backend ships as a single Docker image.
Highlights
- Instant guest accounts. The first visit creates a guest user with a generated name. Signing in with Google later keeps the same account.
- Invite links and QR codes instead of contact lists.
- Direct messages aren't stored on the server. They live on your devices and travel over a WebRTC peer connection when one is open. Otherwise the server relays them live. A message is held on the server only if a recipient device hasn't received it yet, and is deleted once that device gets it. See where messages are stored.
- Voice and video calls over WebRTC, with optional TURN.
- Resumable peer-to-peer file transfer via the
@yacs/websharepackage. - Nearby discovery (opt-in, location-based, filterable by labels).
- Group conversations, typing indicators, read receipts, replies.
- Multi-device: link another browser with a one-time login link or QR code.
- Web Push notifications, including the declarative format Safari 18.4+ shows reliably.
Tech at a glance
| Layer | Stack |
|---|---|
| Client | React 19, MUI, Redux Toolkit, TanStack Query, Tailwind, Vite PWA |
| Server | Node.js, Koa, Socket.IO, PeerJS server, Mongoose |
| Storage | MongoDB (data), Redis (cache, presence, rate limits), local disk (media) |
| Wire | Protocol Buffers (yacs.v1) over HTTP, Socket.IO and WebRTC data channels |
| Tooling | Yarn 4 workspaces, Turborepo, TypeScript, Buf, Vitest |
License
YACS is open source under the Apache License 2.0. You may use, modify and redistribute it, including commercially, as long as you keep the license and copyright notices and state significant changes. The license also includes an explicit patent grant from contributors.
The @yacs/webshare package is licensed separately under the MIT License.
Where to next
- New here? Run it locally with the Quick start.
- Deploying? Read Self-hosting and Configuration.
- Building on it? Start with Architecture.