/babelfish.ai

A realtime live transcription and translation app built with Huggingface Transformer.js and Supabase Realtime.

Primary LanguageJavaScript

Babelfish.ai

A realtime, live transcription and translation app that works locally using a browser. Built with Huggingface Transformer.js and Supabase Realtime.

Features

🎙️ Realtime in-browser speech-to-text with OpenAI Whisper [transcriptionWorker.js]

📡 Broadcast to subscribed clients with Supabase Realtime. [broadcaster.jsx] [receiver.jsx]

🌏 Translate to 200 languages with Meta's NLLB-200 [translationWorker.js]

Demo

Watch a demo / tutorial

vlc-demo

Run locally

  • cp .env.local.example .env.local.
  • Set your Supabase credentials in .env.local.
  • Run npm run dev

Deploy to GitHub Pages

  • Set your secrets in the GitHub repository settings.
  • Push to main to deploy.