Jejkobb / Speechfire

Speech-to-Text extension for Firefox and Chrome
6 stars 0 forks source link

Speechfire 🔥

Speechfire Banner

Overview

Speechfire is a Firefox extension that provides offline speech-to-text functionality. It uses a local server for processing and supports multiple languages.

Key Features

Installation

  1. Set up Python environment

    python -m venv speechfire
    source speechfire/bin/activate  # On Windows: speechfire\Scripts\activate
    pip install -r requirements-lock.txt # confirmed working
    # or
    pip install -r requirements.txt # latest versions, may break
  2. Install Extension

    • Add the extension via the official Firefox Add-ons site or Chrome Web Store
    • Or install from source:
      • Manually install extension-firefox.xpi in Firefox
      • Manually install extension-chrome.zip in Chrome

Usage

  1. Start the server

    python server.py

    Or use the system tray icon:

    # On Windows:
    python system-tray/start_tray_windows.py
    # On Linux:
    python system-tray/start_tray_linux.py

    After launching the system tray application:

    1. Right-click on the tray icon
    2. Select "Start Server" from the menu
  2. Use the extension

    • Focus on a text field in Firefox
    • Press Alt+A to start/stop recording
    • Transcription will appear in the focused field
  3. Stop the server

    • Press Ctrl+C in the terminal
    • Or use the system tray icon menu

Icon Guide

Additional Notes