Skip to content
YoAgainPublic

About

Yo, again.

Resources

Security policy

Stars

15 stars

Watchers

1 watching

Forks

Repository files navigation

Yo. It's that simple.

The 2014 one-tap app is back.
Tap a name to send an encrypted Yo, photo or video.

Web · TestFlight · Play Store

Under the hood

Yo is based on Signal encryption, see the YoIP spec.
All apps share one Rust core. Services are defined in yo-services.

App

Core

  • One core for iOS, Android and CLI: account, sessions, groups, local database.
  • Apps add UI, push and the keystore.
  • New phone: friends, groups and settings come back via encrypted Account Sync; messages don't.
  • Crash reports: on by default, off in Settings › Status; random install id, no content.
  • Migrations: old CLI, database and Keychain formats are converted once.
iOS Android
Account key iCloud Keychain Google Block Store
Device keys Keychain Keystore
Push APNs FCM
UI SwiftUI Compose, Material 3

iOS

  • SwiftUI, iOS 26; share sheet, stickers, widgets, Apple Watch.
  • Built on Linux with xtool, no Mac: app/ios/dev/core.sh, then app/ios/dev/push.sh.

Android

  • Kotlin, Jetpack Compose; flavors play (FCM, Google backup) and floss (F-Droid).
  • app/android/dev/bootstrap.sh, then ./gradlew assemblePlayDebug.

CLI

  • yo: a Yo account on the command line. Text on a terminal, JSON when piped or with --json; bots use yo listen.
  • cargo build --release -p yo-cli, then yo signup NAME (a bot unless --human), yo lina sends a Yo, yo tui (or bare yo) opens the friend list as Yo bars. yo help lists the rest.
  • Every release has yo-linux-x86_64 and yo-macos-arm64, signed keyless with Sigstore in the CLI workflow. Check a download: gh attestation verify yo-linux-x86_64 -R YoAgain/yo; offline: --bundle yo.sigstore.json.
YoIP Protocol

Encryption

Phone A ──Yo──► Hub ──push──► Phone B
Signal          sealed        fetches and
protocol        envelope      decrypts
  • libsignal: PQXDH, Double Ratchet, sealed sender.
  • Groups up to 20 with zkgroup; photos and videos view-once.
  • Sign-up with a name only.

Keys

  • Account key: the identity; iCloud Keychain or Google Block Store; restore with passkey or recovery key.
  • Device keys: local database, sealed by the keystore.
  • Code: yoip/net (client ↔ hub) and yoip/protocol (end to end).
  • Details: spec §2, §2.4, SECURITY.md.
Services

  • Bots (PING, YoGPT) and bridges (IFTTT), one folder each in yo-services.
  • The executor runs a service with its own Yo account; the entrance at api.justyo.app handles the catalog, OAuth and bridge requests.
  • Not end-to-end with the service: it decrypts what you send it.
Yo        phone ◄─encrypted─► hub ◄─► executor ◄─► script
Bridge    IFTTT ──► api.justyo.app/ifttt/… ──► entrance ──► executor ──► script
Server

Hub

  • One Rust server on SQLite, behind a Cloudflare Tunnel; cannot read Yos.
  • Routes, auth and limits: spec §4. Code: server/hub.

Admin

  • Read-only operator page in plain Python, behind Cloudflare Access.
  • Demo with made-up data: python3 server/admin/dev/demo.py --demo.
Development

Lines of code: per day, by part and by app

Layout

app/ios, app/android, app/cli       the apps
app/core, app/core/{ui,bindings}    the core
yoip/                               YoIP spec, net/ and protocol/
server/{hub,admin,services}         the server
tests/, tests/fuzz/                 tests and fuzz targets
dev/                                scripts

Release

  • dev/release.sh VERSION notes.md: signed tag → TestFlight, Play testing, F-Droid, CLI binary.
  • Every push: Rust tests, lint, short fuzz run.

Benchmark

Hub alone 10,431 Yos/s · 1 CPU core · p50 2.1 ms · p99 130 ms
Yo to Yo p50 71 ms · p90 89 ms · real phone, Wi-Fi, round trip to a bot
Yo to Yo, CLI p50 64 ms · p90 75 ms · round trip, CLI to CLI, Germany, through the Cloudflare tunnel
After 100 s quiet p50 88 ms · p90 101 ms · same round trip, first Yo after a pause
yo NAME p50 74 ms to delivery · process ends at 71 ms · 34 ms with a listener running
Send, one client core 50 Yos/s · p50 290 ms · p99 708 ms
Lost 0

Tests

  • End-to-end: every flow, route and restore against a real hub.
  • Simulation: seeded random runs; a failure names its seed.
  • Fuzz: wire formats, hub routes, receive path never panic.
  • Chaos: thousands of accounts through crashes; every message once, in order.
  • Load: throughput of one hub.

dev/cargo test --workspace runs everything.

License

MIT. libsignal: AGPL-3.0, in the app under Settings › Licenses.

About

Yo, again.

Resources

Security policy

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages