Epsilon was a small social app: feed, communities, chats (optional E2EE), voice/video calls, profile themes, and an in-app updater. The project is closed, and this repo is its full source, released for anyone to study or self-host. Personal data, keys and real user content have been removed.
| Folder | What |
|---|---|
server/ |
Go server (chi, PostgreSQL, JWT, WebSocket hub, uploads, updater, website) |
client/ |
Flutter app (Android, plus a web build) |
studio/ |
Epsilon Studio, a Flutter desktop theme editor (Linux) |
EpsilonVisualRules.md |
Design rules to make other apps look like Epsilon (for use with any LLM) |
sudo dnf install postgresql-server # or: apt install postgresql
sudo postgresql-setup --initdb && sudo systemctl enable --now postgresql
sudo -u postgres psql -c "CREATE USER vepsilon PASSWORD 'change-me';" \
-c "CREATE DATABASE vepsilon OWNER vepsilon;"The server creates and migrates all tables by itself on its first start.
cd server
cp deploy/server.env.example .env
# edit .env, the minimum is:
# DATABASE_URL=postgres://vepsilon:change-me@localhost:5432/vepsilon?sslmode=disable
# JWT_SECRET=$(openssl rand -hex 32)
# SERVER_PORT=6968
# UPLOADS_DIR=./data/uploads RELEASES_DIR=./data/releases
go build -o vepsilon-server .
./run.shOpen http://localhost:6968. On first start, the server creates an admin account vain if no admin exists, using ADMIN_INITIAL_PASSWORD from .env (set it before the first start).
cd client
flutter pub get
flutter run --dart-define=SERVER_URL=http://<your-pc-ip>:6968 \
--dart-define=GIPHY_KEY=<your giphy key> # optional, GIF picker
# release APK:
flutter build apk --release --target-platform android-arm64 \
--dart-define=SERVER_URL=https://your.domain
# web app (served by the server at /app/):
flutter build web --release --base-href /app/ --no-web-resources-cdnFor release builds, create your own signing key in client/android/key.properties. Without it, Gradle falls back to the debug key.
cd studio && flutter pub get && flutter run -d linux- A Raspberry Pi 5 (Debian, arm64):
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w". - systemd unit:
server/deploy/vepsilon.service, with env in/etc/vepsilon/server.envand data in/var/lib/vepsilon. - HTTPS: any reverse proxy (Caddy, or Tailscale Funnel) to port 6968.
- Calls: coturn with
use-auth-secret, andTURN_SECRET/TURN_URLSset in the env. - Signed endpoint list: generate an ed25519 seed for
ENDPOINTS_KEY, then put its public key intoclient/lib/endpoints.dart(currently all zeros). - Backups and migration:
server/deploy/backup.sh,restore.sh,MIGRATION.md.
Replace every epsilon.example.com with your own domain.
Real accounts, the database, uploads, screenshots of real profiles, passwords, API keys (GIPHY now comes from --dart-define), the signing seed, LAN addresses, the on-device AI model files, and the old wallet integration.