Aurelo

A subscription platform for real-time audio translation. Built for institutions that need spoken+written word translated live — churches, conferences, multilingual events.

SaaS Real-Time AI Laravel 12 Vue 3 Electron PostgreSQL Stripe
Aurelo live captions projected in a church setting
The Problem

Language shouldn't
limit participation

Churches and multilingual institutions have long struggled with real-time translation. Dedicated translation hardware is expensive and complex to operate, while general AI tooling lacks the infrastructure needed for reliable subscription-based access.

Aurelo solves this end-to-end: a native desktop app that captures and translates audio in real time, backed by a SaaS platform that handles billing, access control, and provider key management — all transparently.

Subscribers get a simple monthly usage quota (hours of translation time). The system enforces limits, renews access on billing cycles, and keeps the device operations smooth even under quota pressure.

Aurelo mobile translation view
3 Plan tiers
50h Max monthly quota
2 AI providers

How the platform
fits together

The system is intentionally distributed: the backend never touches the audio stream. Instead, it acts as a secure token broker — validating quota, encrypting provider credentials, and letting the desktop call AI services directly.

01
Auth & Subscription
Desktop authenticates via Sanctum. Backend checks active subscription and quota remaining.
02
Token Issuance
Backend provides an encrypted signed token. Cached in Redis for 5 hours.
03
Local Decryption
Desktop decrypts the token locally and holds provider credentials in memory only — never stored on disk.
04
Direct AI Calls
Desktop streams audio directly to OpenAI / Soniox using the short-lived credentials. Backend is not in the audio path.
05
Usage Tracking
Desktop sends heartbeats every 60s. Backend increments seconds_used, enforces limits, resets on billing renewal.
Aurelo desktop translation interface
Desktop Application

A native interface built for
live environments

The Electron-based desktop app is designed for non-technical operators. Clean, distraction-free, and fast-loading — it needs to work reliably in a church AV booth, not a developer's terminal.

Secure credential storage — Electron's safeStorage API stores auth tokens in macOS Keychain / Windows Credential Vault

Offline resilience — cached subscription state, heartbeat queue with hard cap to prevent abuse on reconnect

Token proactive refresh — detects expiry before mid-stream and reconnects cleanly with a fresh token

Light & dark mode — full theme support, readable in dim conference environments

Engineering Notes

Problems worth
solving carefully

Encrypted Token Brokering

Provider API keys (OpenAI, Soniox) are never sent to the client in plaintext. The backend wraps them in a signed, AES-256-CBC encrypted payload, keyed from a separate REALTIME_SECRET — not the app key. Desktop decrypts in memory; credentials are never persisted locally. Tokens are cached in Redis with a 5-hour TTL and can be revoked instantly.

Heartbeat-Based Usage Metering

Usage is tracked without the backend touching audio. The desktop posts heartbeats every 60 seconds with seconds elapsed since last ping. The backend increments subscriptions.seconds_used directly — no separate usage-events table, no message queue overhead for the common path. Offline sessions queue heartbeats locally with a hard cap to prevent abuse on reconnect.

Quota Lifecycle & Billing Renewal

A QuotaService compares seconds_used against the plan's approved quota before every token issuance. On breach, the subscription status flips to over_quota and the response carries an upgrade CTA. Monthly reset is triggered by Stripe's billing webhook — no manual cron gymnastics for the happy path.

Automated Onboarding Email Sequence

Five timed emails guide new users from signup to active usage. Email logic adapts to user state: if a user has already opened the desktop app, Email #2 switches from a signed download URL to a deep-link (aurelo://translate). A redirector captures UTM attribution from trackable links and saves captured information as a lead before forwarding.

Web Platform

Subscription &
account management

A Vue 3 SPA serves as the customer-facing web platform — plan selection, billing portal, device management, and account settings. Built with a strict service-layer pattern; components never touch Axios directly.

  • Stripe Cashier integration — checkout, portal, webhook handling
  • Device session management with per-device revocation
  • Real-time quota display with daily usage breakdown
  • Pinia-based auth store with router guards and 401 auto-redirect
  • Telescope + Sentry for observability across both layers
Aurelo web dashboard Billing & usage interface — Feb 2026
Aurelo platform — billing and usage view
Technology

Chosen for
reliability at scale

Every technology decision was made to maximise team velocity without accumulating operational debt. Single-server Docker deployment with zero-downtime rsync-based deploys. Nginx serves both the API and the Vue SPA from the same container.

Backend
Laravel 12
PHP 8.3 · Sanctum · Cashier · Horizon
Frontend
Vue 3
TypeScript · Pinia · Vite · Composition API
Database
PostgreSQL 15
Soft deletes · JSONB fields · Stripe IDs
Caching
Redis
Token cache · Queue backend · Rate limiting
Desktop
Electron
safeStorage · IPC · OS Credential Vault
Billing
Stripe
Recurring · Webhooks · EUR + USD · Portal
AI Providers
OpenAI + Soniox
Realtime API · WebSocket transcription
Infrastructure
Docker + Nginx
Single VPS · Compose · Sentry · Telescope

Full-stack,
production
SaaS

Aurelo is a solo-built, end-to-end platform — from database schema and Laravel services through Vue components to Electron IPC handlers. Every layer was designed, implemented, and shipped by one developer.

Scope of work
  • System architecture & API design
  • Database modelling & migrations
  • Stripe billing integration
  • Encrypted token broker system
  • Heartbeat metering pipeline
  • Vue 3 SPA — full front-end
  • Electron desktop app integration
  • Docker deployment & CI scripts
  • Email sequence & UTM tracking