Installation
Installation
Section titled “Installation”Detailed installation instructions for all components.
Backend Installation
Section titled “Backend Installation”Option A: Pre-built Binary
Section titled “Option A: Pre-built Binary”The easiest way to get started is with the pre-built binaries.
Prerequisites:
- FFmpeg installed and in your PATH
Download:
- Go to Releases
- Download the appropriate binary for your OS:
subtide-backend-linuxsubtide-backend-macossubtide-backend-windows.exe
Run:
=== “Linux”
chmod +x subtide-backend-linux./subtide-backend-linux=== “macOS”
chmod +x subtide-backend-macos./subtide-backend-macos!!! note “macOS Security” If you see “cannot be opened because the developer cannot be verified”:
- Right-click the file → Open
- Or: System Settings → Privacy & Security → Allow anyway
=== “Windows”
.\subtide-backend-windows.exeOption B: Run from Source
Section titled “Option B: Run from Source”For development or customization.
Prerequisites:
- Python 3.9 or higher
- FFmpeg installed
Setup:
# Clone the repositorygit clone https://github.com/rennerdo30/subtide.gitcd subtide/backend
# Create virtual environmentpython -m venv venv
# Activate virtual environmentsource venv/bin/activate # Linux/macOS# orvenv\Scripts\activate # Windows
# Install dependenciespip install -r requirements.txt
# Run the server./run.sh # Linux/macOS# orpython app.py # WindowsOption C: Docker
Section titled “Option C: Docker”For containerized deployments.
cd backend
# Tier 1: Standard (YouTube captions only)docker-compose up subtide-tier1
# Tier 2: With Whisper transcriptiondocker-compose up subtide-tier2
# Tier 3/4: Managed with server-side API keySERVER_API_KEY=sk-xxx docker-compose up subtide-tier3Browser Extension Installation
Section titled “Browser Extension Installation”Chrome / Edge / Brave
Section titled “Chrome / Edge / Brave”=== “From Release”
- Download
subtide-extension.zipfrom Releases - Extract the ZIP file to a folder
- Open your browser and go to the extensions page:
- Chrome:
chrome://extensions - Edge:
edge://extensions - Brave:
brave://extensions
- Chrome:
- Enable Developer mode
- Click Load unpacked
- Select the extracted folder
- Pin the extension to your toolbar for easy access
=== “From Source”
- Clone the repository:
Terminal window git clone https://github.com/rennerdo30/subtide.git - Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select the
extensionfolder from the cloned repo
Firefox
Section titled “Firefox”=== “Temporary Installation”
- Download
subtide-extension-firefox.zipfrom Releases - Open Firefox and go to
about:debugging - Click This Firefox
- Click Load Temporary Add-on
- 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”
- Run the Firefox build script:
Terminal window node extension/scripts/build-firefox.js - Open
about:debuggingin Firefox - Click This Firefox → Load Temporary Add-on
- Select
extension/manifest.firefox.json
Verifying Installation
Section titled “Verifying Installation”Backend
Section titled “Backend”Open your browser and navigate to:
http://localhost:5001/healthYou should see:
{"status": "healthy"}Extension
Section titled “Extension”- Click the Subtide icon in your toolbar
- The popup should display the configuration options
- Go to any YouTube video
- You should see the translate button in the player controls
FFmpeg Installation
Section titled “FFmpeg Installation”FFmpeg is required for audio extraction from videos.
=== “macOS”
brew install ffmpeg=== “Ubuntu/Debian”
sudo apt updatesudo apt install ffmpeg=== “Windows”
Using Chocolatey:
choco install ffmpegOr download from ffmpeg.org and add to PATH.
=== “Verify”
ffmpeg -versionNext Steps
Section titled “Next Steps”- Configuration - Configure the extension and backend
- Backend Overview - Learn about backend options