Skip to content

Installation

Detailed installation instructions for all components.


The easiest way to get started is with the pre-built binaries.

Prerequisites:

  • FFmpeg installed and in your PATH

Download:

  1. Go to Releases
  2. Download the appropriate binary for your OS:
    • subtide-backend-linux
    • subtide-backend-macos
    • subtide-backend-windows.exe

Run:

=== “Linux”

Terminal window
chmod +x subtide-backend-linux
./subtide-backend-linux

=== “macOS”

Terminal window
chmod +x subtide-backend-macos
./subtide-backend-macos

!!! note “macOS Security” If you see “cannot be opened because the developer cannot be verified”:

  1. Right-click the file → Open
  2. Or: System Settings → Privacy & Security → Allow anyway

=== “Windows”

Terminal window
.\subtide-backend-windows.exe

For development or customization.

Prerequisites:

  • Python 3.9 or higher
  • FFmpeg installed

Setup:

Terminal window
# Clone the repository
git clone https://github.com/rennerdo30/subtide.git
cd subtide/backend
# Create virtual environment
python -m venv venv
# Activate virtual environment
source venv/bin/activate # Linux/macOS
# or
venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
# Run the server
./run.sh # Linux/macOS
# or
python app.py # Windows

For containerized deployments.

Terminal window
cd backend
# Tier 1: Standard (YouTube captions only)
docker-compose up subtide-tier1
# Tier 2: With Whisper transcription
docker-compose up subtide-tier2
# Tier 3/4: Managed with server-side API key
SERVER_API_KEY=sk-xxx docker-compose up subtide-tier3

=== “From Release”

  1. Download subtide-extension.zip from Releases
  2. Extract the ZIP file to a folder
  3. Open your browser and go to the extensions page:
    • Chrome: chrome://extensions
    • Edge: edge://extensions
    • Brave: brave://extensions
  4. Enable Developer mode
  5. Click Load unpacked
  6. Select the extracted folder
  7. Pin the extension to your toolbar for easy access

=== “From Source”

  1. Clone the repository:
    Terminal window
    git clone https://github.com/rennerdo30/subtide.git
  2. Open chrome://extensions
  3. Enable Developer mode
  4. Click Load unpacked
  5. Select the extension folder from the cloned repo

=== “Temporary Installation”

  1. Download subtide-extension-firefox.zip from Releases
  2. Open Firefox and go to about:debugging
  3. Click This Firefox
  4. Click Load Temporary Add-on
  5. Select the ZIP file

!!! warning “Temporary Add-ons” Temporary add-ons are removed when Firefox restarts. For permanent installation, the extension needs to be signed by Mozilla.

=== “From Source”

  1. Run the Firefox build script:
    Terminal window
    node extension/scripts/build-firefox.js
  2. Open about:debugging in Firefox
  3. Click This FirefoxLoad Temporary Add-on
  4. Select extension/manifest.firefox.json

Open your browser and navigate to:

http://localhost:5001/health

You should see:

{"status": "healthy"}
  1. Click the Subtide icon in your toolbar
  2. The popup should display the configuration options
  3. Go to any YouTube video
  4. You should see the translate button in the player controls

FFmpeg is required for audio extraction from videos.

=== “macOS”

Terminal window
brew install ffmpeg

=== “Ubuntu/Debian”

Terminal window
sudo apt update
sudo apt install ffmpeg

=== “Windows”

Using Chocolatey:

Terminal window
choco install ffmpeg

Or download from ffmpeg.org and add to PATH.

=== “Verify”

Terminal window
ffmpeg -version