Luna Translator

Luna Translator

Self-Hosted Live Speech Translation

Description

Sitting through a talk in another language usually means squinting at captions, and a face-to-face chat with a foreign colleague turns into typing sentences into a phone one at a time. Luna Translator handles it like a simultaneous interpreter: while you speak, the original captions and the translation scroll on screen, and you can hear translated speech in the target language, with up to 3 target languages at once.

This repository is the community edition open-sourced by VUI Labs under Apache-2.0, with a Web front end, a Go back end and an iOS client. Deployment is one Docker Compose command: two containers and one data volume, no external database, and no GPU on your machine, because recognition and translation run through external model APIs. Without keys it starts in a simulation mode that plays fixed sample captions, so you can get the whole flow running first.

Features



Solo interpretation: pick the input language (Chinese or English) and the target languages, then speak to get captions, translation and translated audio.

Face-to-face conversation: a Chinese speaker and an English speaker take turns on one device, switching the active speaker, each reading captions in their own language on their side of the screen.

Playback afterwards: every session is kept in a local data volume, so you can reread the text and play or download the original and translated audio as WAV.

Revocable sharing: create a time-limited snapshot link for a session, valid for up to 30 days, viewable without the workspace password; revoke it or delete the session and the link stops working.

WAV testing: no microphone needed for testing; feed a PCM16 WAV file at real-time speed to reproduce the full interpretation pipeline.

Model adapters: the back end connects to the Luna interpretation API, Bailian ASR and embeddings through adapters, keeping credentials server-side while the browser only captures and plays audio.

iOS client: the first open-source release covers quick interpretation, microphone capture, live captions and translated audio, shares a workspace with the Web app, and builds in Xcode.