Skip to content
Christopher2KPublic

About

Overlay translations for streamers

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Polyglot logo

Polyglot

Speak your language. Stream to theirs.

Real-time translated captions for OBS, powered by Soniox.
No cloud dashboard. No transcript archive. Just your stream, understood.

Early alpha Local by design Linux, macOS, and Windows

Features · Quick start · Releases · Specification

Polyglot Live controller design with French-to-English captions and a local OBS overlay

The Live controller · product design capture with sample captions

Note

Polyglot is an early alpha. The current controller supports French ↔ English. Alpha packages are unsigned or ad-hoc-signed, and graphical platform acceptance is not yet complete.

Features

  • Live speech translation — Capture a microphone natively and stream partial and finalized translations through Soniox.
  • Built for OBS — Add a transparent, tokenized Browser Source served only on your computer. The URL stays stable across reconnects.
  • Captions that fit your scene — Tune fonts, size, weight, colors, opacity, alignment, placement, spacing, width, corner radius, and text shadow.
  • Readable by default — Show a bounded caption window instead of an endless transcript, with configurable finalized segments, idle delay, and fade timing.
  • A clear live workflow — Monitor microphone input, compare original and translated text, track session state, and clear captions without stopping translation.
  • Edit without interruption — Appearance changes reach the overlay without restarting translation or refreshing the Browser Source.
  • Secure credential handling — Keep Soniox keys in macOS Keychain, Windows Credential Manager, or Linux Secret Service. Optionally check your organization balance.
  • Made to stay out of the way — Close the controller to the tray while capture, translation, and the local overlay keep running.
  • Local by design — No Polyglot account, cloud service, analytics, tracking, or default audio/transcript persistence.

Make every word look right

Preview caption styling against sample footage, then carry the same look into OBS. Live edits apply immediately, so you can polish your overlay while the stream keeps moving.

Polyglot Appearance controller design with caption preview, typography, layout, and timing controls

Appearance controls · sample-only preview, never published as stream output

How it works

Your microphone → Polyglot → Soniox → local overlay → OBS Browser Source

Polyglot translates speech into text, not dubbed audio. Only translated captions are published to the overlay; the original transcription stays in the desktop controller.

Quick start

1. Get Polyglot

Download the latest alpha from GitHub Releases.

Platform Package Notes
Linux x86_64 .tar.gz or Nix package Requires a compatible graphical/audio stack
macOS 14+ on Apple silicon .zip containing Polyglot.app Ad-hoc-signed; explicit Gatekeeper approval required
Windows 10/11 x86_64 .zip Unsigned; SmartScreen may warn

See the release guide for detailed host requirements.

2. Connect Soniox

Open Settings and add your Soniox project API key. Add an organization API key only if you want the remaining-balance display.

3. Add the overlay to OBS

  1. Open Live and click Copy OBS URL.
  2. In OBS, add a Browser Source to your scene.
  3. Paste the URL and set the source dimensions to your stream canvas, initially 1920 × 1080.
  4. Leave Local file off. No custom CSS is needed for transparency.

4. Go live

Choose your microphone and language pair, allow microphone access, then click Start translation. You can hide Polyglot in the tray without interrupting the overlay.

Privacy at a glance

  • Microphone audio is buffered in memory and sent directly to Soniox over TLS.
  • There is no Polyglot backend, account, relay, analytics endpoint, or font-download service.
  • Audio and transcript history are not persisted by default.
  • The overlay server binds to loopback only and receives the current bounded translated-caption window.
  • API keys stay in Rust and the operating system's secure storage; their values never enter controller state, settings files, URLs, logs, or overlay payloads.

Run from source

Polyglot uses an NSH mixed TSX + Rust architecture. On Linux and macOS, the devenv supplies the pinned toolchain:

git clone https://github.com/Christopher2K/polyglot.git
cd polyglot
direnv allow
nsh dev

Without direnv, prefix commands with devenv shell --. Windows uses the native Bun, Rust MSVC, and NSH toolchain.

Useful checks:

nsh check
bunx biome check .
bun run release check

Native-module checks can also run directly:

cargo test --manifest-path ext/polyglot-native/Cargo.toml
cargo clippy --manifest-path ext/polyglot-native/Cargo.toml --all-targets -- -D warnings

Project map

app/                    Native TSX controller and caption renderer
ext/polyglot-native/    Rust audio, Soniox, secrets, lifecycle, and overlay server
web/overlay/            Browser Source client
scripts/                Release and verification tooling
docs/                   Screenshots and release documentation
SPECIFICATION.md        Product and technical specification

Documentation

License

Polyglot is licensed under GPL-3.0.

About

Overlay translations for streamers

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages