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.3.0.tar.gz (147.1 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.3.0-py3-none-any.whl (161.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: whisper_scribe-2.3.0.tar.gz
  • Upload date:
  • Size: 147.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 99cf344d3bb98837dee802dc5d3b7c55997a8812148c796d315c810b9117df1e
MD5 2e69bf73ecb3fcf91f4a55030c14bba8
BLAKE2b-256 981435040f2c22a75249664e2f8712bd8e2f92bbad32bd7f8c0ae7f088aa057a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: whisper_scribe-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 161.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6401f3c2bf78ed4cf3fe6f00ca23563713f569730d1f683c3ca0f6e5ac53248b
MD5 481ca7f356d74a93c10fb679f61ae724
BLAKE2b-256 123c3ec8730c9560dde4b4025a790162c72b4fd82d5fd548726795debeb5d1a4

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