Skip to content

Mentra-Community/LiveTranslationOnSmartGlasses

Repository files navigation

Mentra Translate

Live Translation

Real-time speech translation for smart glasses

Hear a language. See the translation on your display.
100+ languages. Zero interruptions.

Install from Mentra MiniApp Store


What It Does

Live Translation captures speech through your smart glasses microphone, transcribes it in real time, and displays translated text on your HUD — all without lifting a finger.

  • Real-time translation — Transcribes and translates speech as it happens
  • 100+ languages — Supports a wide range of source and target languages
  • Intelligent display — Confidence-based filtering prevents flickering mid-word corrections
  • Adaptive layout — Text wrapping and formatting tuned for AR displays
  • Auto-clear — Display clears after 40 seconds of silence

Getting Started

Prerequisites

  1. Install MentraOS: get.mentraglass.com
  2. Install Bun: bun.sh
  3. Set up ngrok: brew install ngrok and create a static URL

Register Your App

  1. Go to console.mentra.glass
  2. Sign in and click "Create App"
  3. Set a unique package name (e.g., com.yourName.translation)
  4. Enter your ngrok URL as "Public URL"
  5. Add microphone permission

Run It

# Install
git clone <repo-url>
cd LiveTranslationOnSmartGlasses
bun install
cp .env.example .env

# Configure .env with your credentials
# API_KEY (required)

# Start
bun run dev

# Expose via ngrok
ngrok http --url=<YOUR_NGROK_URL> 80

Documentation

License

MIT

About

Live Translation app for smart glasses. Runs on MentraOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages