Firefox 浏览器附加组件
登录
Live Translator 预览

Live Translator 作者: Jack Knight

Real-time audio translation with close-captioning on videos. Captures tab audio and streams it to a local companion app for speech-to-text and translation.

实验性实验性
0(0 条评价)0(0 条评价)
21 个用户21 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
Version 0.2.0 — Initial Release

Live Translator is a browser extension that provides real-time audio transcription and translation with close-captioning on videos.

### Features

Audio Capture & Transcription
- Captures audio from browser tabs using the Tab Capture API (Chrome) or HTML5 captureStream() (Firefox)
- Streams audio to a local companion app (whisper.cpp) for real-time speech-to-text processing
- All processing runs locally on your machine — nothing is sent to external servers

Translation
- Translates transcribed speech into a user-selected target language
- Supports multiple translation models via the companion app
- Source language can be set manually or left on auto-detect

Caption Overlays
- Injects a close-captioning overlay at the bottom of HTML5 video elements
- Shows original text and translated text simultaneously
- Adjustable opacity (background darkness) and font size
- Captions auto-hide after 5 seconds of silence
- Fade-in animation for smooth appearance

Video Player Integration
- Injects a "Caption" button directly onto video players (YouTube, Twitch, etc.)
- Button appears on hover — toggle captions with one click
- Automatically detects video elements even on dynamic/SPA websites
- Re-checks periodically for late-loading videos

Model Management (Popup)
- Browse, download, select, and delete STT models
- Visual indicators for active, downloaded, and available models
- Model size and translation capability shown in the list
- One-click model switching

Companion App Integration
- WebSocket connection to ws://127.0.0.1:9876
- Auto-reconnect with configurable delay
- Status indicators (connecting, connected, error)
- Download link for the companion app when not detected

Settings & Preferences
- Server address configuration
- Source and target language selection
- Caption mode (video overlay only in this release)
- Opacity and font size controls
- All settings persisted via storage.local

### Technical
  • Chrome MV3 with service worker
  • Firefox MV2 with non-persistent background page
  • PCM audio streaming (Int16, 16kHz sample rate)
  • WebSocket binary protocol for audio data
  • All innerHTML usage replaced with safe DOM methods for store compliance

### Known Limitations
  • Firefox does not support tabCapture — uses captureStream() on video elements instead (requires an active <video> tag on the page)
  • Requires the local companion app to be installed and running separately
  • Floating overlay mode (captions outside the browser) is planned for a future release
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

根据开发者所述,必要的数据收集:

  • 网站内容

根据开发者所述,可选的数据收集有:

  • 技术和交互数据
详细了解
更多信息
附加组件链接
  • 主页
  • 支持邮箱
  • 复制附加组件 ID
版本
0.2.1
大小
35.25 KB
上次更新
1 个月前 (2026年7月2日)
相关分类
  • 语言工具
  • 社交和通信
  • 游戏和娱乐
许可证
MIT 许可证
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。