Skip to content
surelynotvainPublic

About

Epsilon social app — Go server + Flutter client + Studio (archived, open source)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epsilon

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)

Quick start (local, about 10 minutes)

1. Database

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.

2. Server (Go 1.25+)

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.sh

Open 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).

3. Client (Flutter 3.47+, JDK 21, Android SDK)

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-cdn

For release builds, create your own signing key in client/android/key.properties. Without it, Gradle falls back to the debug key.

4. Studio (optional)

cd studio && flutter pub get && flutter run -d linux

Production (what the original setup used)

  • 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.env and data in /var/lib/vepsilon.
  • HTTPS: any reverse proxy (Caddy, or Tailscale Funnel) to port 6968.
  • Calls: coturn with use-auth-secret, and TURN_SECRET/TURN_URLS set in the env.
  • Signed endpoint list: generate an ed25519 seed for ENDPOINTS_KEY, then put its public key into client/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.

Removed from this release

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.

About

Epsilon social app — Go server + Flutter client + Studio (archived, open source)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages