Skip to main content

YouTube video transcription using OpenAI Whisper with a beautiful web interface

Project description

Whisper Scribe

YouTube video transcription using OpenAI Whisper with a beautiful web interface.

Features

  • Simple Web Interface - Clean, modern UI with real-time progress tracking
  • YouTube Support - Just paste any YouTube URL to transcribe
  • AI Analysis - Get summaries, key takeaways, and topic extraction
  • Translation - Translate transcriptions to 12+ languages
  • Multiple Export Formats - Download as TXT, SRT, or VTT subtitles
  • Batch Processing - Queue multiple videos for transcription
  • History - Browse and search your past transcriptions
  • Automatic Chunking - Handles long videos by splitting audio automatically

Installation

pip install whisper-scribe

Prerequisites

  • Python 3.9 or higher
  • FFmpeg (required for audio processing)
  • OpenAI API key

Installing FFmpeg

macOS:

brew install ffmpeg

Ubuntu/Debian:

sudo apt update && sudo apt install ffmpeg

Windows: Download from ffmpeg.org or use:

choco install ffmpeg

Quick Start

  1. Start the server:

    whisper-scribe
    
  2. Open your browser: The app will automatically open at http://localhost:8000

  3. Configure your API key: Click the Settings icon and enter your OpenAI API key

  4. Transcribe: Paste a YouTube URL and click Transcribe!

Command Line Options

whisper-scribe --help                 # Show all options
whisper-scribe --port 9000            # Use custom port
whisper-scribe --host 0.0.0.0         # Listen on all interfaces
whisper-scribe --no-browser           # Don't open browser automatically
whisper-scribe --reload               # Enable auto-reload (development)

Configuration

Settings are saved in ~/.whisper-scribe/config.json:

  • OpenAI API Key: Required for transcription and AI analysis
  • Output Directory: Where transcription files are saved (default: ~/.whisper-scribe/transcriptions/)

AI Features

Analysis

After transcription, click "Analyze with AI" to get:

  • Summary - A concise overview of the video content
  • Key Takeaways - The main points and insights
  • Topics - Main themes discussed in the video

Analysis responses are in the same language as the original video.

Translation

Translate your transcriptions to:

  • English, Spanish, French, German, Italian, Portuguese
  • Russian, Japanese, Chinese, Korean, Arabic, Hindi

API

Whisper Scribe exposes a REST API at /api:

  • POST /api/transcribe - Start a transcription job
  • GET /api/status/{job_id} - Check job status
  • GET /api/result/{job_id} - Get transcription result
  • POST /api/analyze/{item_id} - AI analysis
  • POST /api/translate/{item_id} - Translation
  • GET /api/history - List past transcriptions
  • GET /api/export/{item_id} - Export in various formats

License

MIT License - see LICENSE for details.

Author

Created by Issam Alameh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whisper_scribe-2.4.0.tar.gz (149.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whisper_scribe-2.4.0-py3-none-any.whl (164.4 kB view details)

Uploaded Python 3

File details

Details for the file whisper_scribe-2.4.0.tar.gz.

File metadata

  • Download URL: whisper_scribe-2.4.0.tar.gz
  • Upload date:
  • Size: 149.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for whisper_scribe-2.4.0.tar.gz
Algorithm Hash digest
SHA256 7557c62e051859bfcd7dd4cc08a2d58443747d92836013060fb45c22ca3d20d3
MD5 a073d016bd9b00ee7dddec112e9baa19
BLAKE2b-256 e279343d5b07ef97d31dac67d5edea8d8ac11c4e583d575da6e6327917364e5c

See more details on using hashes here.

File details

Details for the file whisper_scribe-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: whisper_scribe-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 164.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for whisper_scribe-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bac2825d354b297dfc8589014d610be9f206803f37610e9f6f27c242f805d3b1
MD5 ecb899480928c4f9a33563b6ae221196
BLAKE2b-256 1634fcb75e3084725176b98111b2347fbf3fcda8e58b210653d2bb04aef0ed64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page