Python MIT

whisper-website

Self-hosted web application, which can be used to convert audio to subtitles by OpenAI's Whisper model

K

Kabanosk

Dernière activité 24 sept. 2026
Kabanosk/whisper-website

325

étoiles

76

forks

0

issues ouvertes

audio-to-textfastapiopen-sourceopenaipython3speech-to-textsubtitlessubtitles-generatoruvicornwebsitewhisper

Ce README est souvent en anglais.

whisper-website

A simple, self-hosted web app for turning audio into text and subtitles, powered by OpenAI's Whisper. Upload a file, pick a model, and download .srt, .vtt, or plain .txt - with optional translation.

License Python

Features

  • Transcription with any Whisper model size (tiny → large)
  • Export as .srt, .vtt, or plain .txt
  • Optional timestamps - plain text export when they're off
  • Optional translation of the transcript into another language
  • No cloud dependency for transcription - everything runs on your own machine

Quick start (Docker Compose)

This is the recommended way to run the app - it also keeps downloaded Whisper models cached between restarts.

  1. Install Docker and Docker Compose
  2. Clone the repo:
    git clone https://github.com/Kabanosk/whisper-website.git
    cd whisper-website
  3. Start the app:
    docker compose up -d
  4. Open http://127.0.0.1

To stop it: docker compose down. Your downloaded models stay cached in a Docker volume, so the next up won't re-download them.

Quick start (local, no Docker)

  1. Clone the repo and go into it:
    git clone https://github.com/Kabanosk/whisper-website.git
    cd whisper-website
  2. Install dependencies with uv - this also creates the virtual environment:
    uv sync
  3. Run it:
    cd src
    uv run uvicorn main:app --reload
  4. Open http://127.0.0.1:8000 if it doesn't open automatically

You'll also need ffmpeg installed and available on your PATH for this route - the Docker image already includes it.

License

MIT

Projets similaires

🎞️ Subtitles generation tool (Web-UI + CLI + Python package) powered by OpenAI's Whisper and its variants 🎞️

Pythonclisubtitlessubtitles-generator
Aabsadiki
1,7 k étoiles137

A Web UI for easy subtitle using whisper model.

Pythonaigradioopen-source
Jjhj0517
2,9 k étoiles443

Transcribe any audio to text, translate and edit subtitles 100% locally with a web UI. Powered by whisper models!

Svelteaiaudio-to-textgolang
Ppluja
3,1 k étoiles182