807146e26e052551decc82732802b89717d48554
Zep
Zep is a self-hosted, real-time communication platform built with Svelte 5 and SpacetimeDB. It provides text, voice, and video messaging functionality designed for small groups and private communities.
Data Ownership & Privacy
- Self-Hosted: The application is designed to be hosted by the user. Data is stored in a SpacetimeDB instance controlled by the host.
- Data Isolation: Data is not used for user profiling or advertising.
- Hosting Options: Compatible with local SpacetimeDB instances or SpacetimeDB Maincloud.
Core Functionality
- Communication: Text channels, voice channels, and threaded conversations.
- Performance: Uses a client-side cache (
recent_messagetable) for immediate channel loading with lazy-loading for deep message history. - WebRTC Integration: Peer-to-peer audio and screen sharing using SpacetimeDB for signaling.
- Customization: User profiles (avatars, banners, bios), server icons, and multiple CSS-based themes.
- Media Support: Built-in image uploads and custom emoji support.
Technology Stack
- Frontend: Svelte 5 (Runes), TypeScript, Vite, Vanilla CSS.
- Backend: SpacetimeDB (TypeScript WASM module).
- Communications: WebRTC.
- Desktop: Native app support via Tauri.
Local Development
Prerequisites
- Node.js (v18+)
- pnpm
- SpacetimeDB CLI (
spacetime)
1. Backend Setup
- Navigate to the backend directory:
cd spacetimedb - Install dependencies:
npm install - Publish the module to a local SpacetimeDB instance:
pnpm run spacetime:publish:local
2. Frontend Setup
- Navigate to the project root and install dependencies:
pnpm install - Configure
.env.localfor local development:VITE_SPACETIMEDB_HOST=ws://localhost:3000 VITE_SPACETIMEDB_DB_NAME=<your-db-name> - Start the development server:
pnpm run dev
Production Deployment
Option 1: Docker (Recommended for Self-Hosting)
Zep can be deployed as a set of containers using Docker Compose.
pnpm run deploy:local
Option 2: Cloud (SpacetimeDB Maincloud + Cloudflare Pages)
Backend (SpacetimeDB Maincloud)
- Publish the module to Maincloud:
spacetime publish --server maincloud <your-db-name>
Frontend (Cloudflare Pages)
- Build the project:
pnpm run build - Deploy using Wrangler:
pnpm run deploy:cloudflare
License
This project is open-source. See the LICENSE file for details.
Important
Disclaimer: This project is "vibe coded" and makes heavy use of AI. Expect experimental patterns and rapid structural changes.
Description
Spacetimedb based communication client intended for self-hosting and owning your own data
Languages
Svelte
51.4%
TypeScript
34.3%
Rust
12.4%
CSS
1.4%
JavaScript
0.3%
Other
0.1%