MCPcopy Create free account
hub / github.com/ad3lre/echo

github.com/ad3lre/echo @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
11,606 symbols 36,815 edges 2,844 files ⚖ AGPL-3.0 396 documented · 3% ● updated 8d ago★ 41

Browse by type

⨍ Functions 11,285◇ Types & classes 321
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Echo logo

Echo — a real Discord alternative: chat, voice, and communities.

Use it at chat-echo.com · learn more at app-echo.net · or self-host / fork (AGPL).

AGPL-3.0-only Development docs Format CI Backend CI Web CI CodeQL

Echo desktop app

Echo

Echo is a full-stack Discord alternative for communities: realtime chat, voice and video (LiveKit), servers and channels, DMs, roles, and the workflows people expect from a modern team or social space—without treating your community as ad inventory.

Hosted product (live today):

App chat-echo.com
Marketing & legal app-echo.net

This repository is the same stack that powers those sites. You can join the hosted service, run your own instance, or fork under AGPL—same product either way.

Quick start

Bun 1.4.2+ and Docker (Postgres):

bun install --frozen-lockfile
cp .env.example .env
bun run db:up
bun run dev:core
Service URL
API http://localhost:3000
Vite SPA http://localhost:8080

dev:core starts the API and web client. Use bun run dev when you also need the Discord bot and activities worker.

Full setup, PR checks, and maintainer notes: docs/DEVELOPMENT.md. Doc index: docs/README.md.

Why Echo

  • A working product, not a demo — the hosted app at chat-echo.com is a full Discord-style community platform; this repo is what runs it.
  • Privacy and consent by design — clear boundaries for data, sessions, and what the server may assume about users.
  • Realtime-first — chat and presence are first-class; voice/video follow a documented LiveKit path with production checklists in-repo.
  • Self-host when you want control — no mandatory third-party control plane; configure auth, storage, voice, and edge for your threat model (see operator setup and VPS deploy).
  • Engineering guardrails — contract and security tests, RBAC and snowflake guards in CI, observability hooks, shipping gate, production security checklist.
  • Installable where users are — PWA for the web and native Apple apps in clients/apple/.

Project structure

Single monorepo. Full map: docs/overview/repo-layout.md.

Path Role
clients/web/ Vue 3 + Vite SPA (Pinia, TypeScript; History API nav, not vue-router)
clients/apple/ Native SwiftUI iOS/macOS clients
server/backend/ Fastify REST, Socket.IO, Postgres, auth and domain logic
contracts/ Shared TypeScript types/constants (client ↔ server)
server/backend/crypto/ E2EE + MLS kit
server/media/ Media CDN + chat video HLS worker
server/voice/ Voice helper sidecar (LiveKit-adjacent)
server/activities/ VC gamespace sidecar + shared game cores
server/ops/ Scripts, infra, monitoring, perf
marketing/ Astro public site
bot/ Optional Discord bridge / import tooling
docs/ Public docs (contracts, self-host runbooks)

Stack

Layer Choices
Frontend Vue 3, Vite, Pinia, TypeScript
Backend Bun, Fastify, Socket.IO, TypeScript
Data PostgreSQL
Realtime Optional NATS Socket.IO adapter when NATS_URL is set — realtime scaling
Voice LiveKit — livekit-production.md
Storage S3-compatible when ECHO_S3_* is configured (optional)

Getting started (operators)

  • Install from the repo root (bun install --frozen-lockfile). Root workspaces + sharp (Twemoji) are required; clients/web/ alone is not enough.
  • Local: bun run db:up then bun run dev:core. Postgres mode: ECHO_BACKEND_STORAGE=postgres and DATABASE_URL.
  • Production-like local: bun run prod (API :3000, Vite preview :4173). Skip rebuild: bun run prod:serve.
  • Seed (API running): bun run seed:dev.
  • VPS / bare metal: linux-vps-deployment.md.

Progressive Web App

Manifest + icons under clients/web/public/icons/ (regenerated on web build) and clients/web/public/sw.js. Chrome can offer Install Echo on bun run dev:core (http://localhost:8080). Icons only: bun run pwa:icons.

Native apps

First-party SwiftUI clients (not a WebView shell): clients/apple/README.md. Passkeys: docs/operations/ios-passkeys.md.

Contributing

Public contributions on GitHub. Start with docs/DEVELOPMENT.md, then CONTRIBUTING.md and CODE_OF_CONDUCT.md. Security: .github/SECURITY.md.

Before a PR: ./server/ops/scripts/setup-githooks.sh (once), then bun run ci:precheck.

CI on main (format, backend, web, CodeQL) is shown in the badges above. E2E smoke runs on pull requests and release publishes (echo-e2e-ci.yml), not on every main push.

Third-party assets

Icons and emoji: marketing/terms/en-US/ATTRIBUTIONS.md.

License

GNU Affero General Public License v3.0 only — see LICENSE.

If you modify this program and offer it as a network service, the AGPL requires offering Corresponding Source to users of that service under the same license. See the GNU AGPL howto.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 10,970
Method 315
Interface 220
Class 99
Enum 2

Languages

TypeScript99%
Rust1%
Kotlin1%

Modules by API surface

frontend/src/features/layout/composables/useServerVoiceSession.ts82 symbols
backend/src/domain/echoMessagesDal.ts69 symbols
backend/src/services/discordImport.ts58 symbols
backend/src/auth/store/postgres/PostgresAuthStore.ts52 symbols
frontend/src/api/authClient.ts51 symbols
frontend/src/features/layout/composables/useAppLayoutDmCalls.ts50 symbols
frontend/src/features/layout/composables/useAppLayoutLayoutChrome.ts49 symbols
backend/src/auth/store/types.ts49 symbols
backend/src/auth/store/memory/MemoryAuthStore.ts48 symbols
src-tauri/src/lib.rs39 symbols
frontend/src/features/server-settings/composables/useServerSettingsEmoji.ts38 symbols
frontend/src/features/chat/viewModel/messageBodyMarkdown.ts38 symbols

Datastores touched

echoDatabase · 1 repos
echo_scratchDatabase · 1 repos
dbDatabase · 1 repos
echo_dbDatabase · 1 repos
echo_restore_testDatabase · 1 repos

For agents

$ claude mcp add echo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page