Skip to content
plujaPublic

About

Turn audio and video into subtitles with an easy-to-use web UI. Everything runs on your own machine.

Topics

Resources

Contributing

Security policy

Stars

3.1k stars

Watchers

33 watching

Forks

Latest commit

 

History

307 Commits

Folders and files

Repository files navigation

Anysub

Anysub (formerly Whishper) makes subtitles from audio and video. Upload a recording, let Whisper transcribe it, then fix the text and timing in the editor and export. It runs on your own computer or server.

The Anysub studio with the video, the subtitle list and the waveform timeline

Features

  • Transcription with Whisper, from the tiny model to large-v3-turbo.
  • Word-level timings.
  • A subtitle editor with a waveform timeline, undo and autosave.
  • Warnings for subtitles that are too fast, too long, or overlap.
  • Export to SRT, WebVTT, plain text or JSON.
  • Uploads that resume, for hours-long files.
  • A searchable library.
  • Admin pages for models, defaults, upload limits, disk space and workers.

Install

You need Linux on x86-64 with Docker and Docker Compose.

  1. Create a folder and download the Compose file:

    mkdir anysub && cd anysub
    curl -fsSLO https://github.com/pluja/anysub/releases/latest/download/compose.yaml
  2. Optional. Skip to step 3 to transcribe on the CPU. Otherwise, download one extra file into the same folder and turn it on:

    • NVIDIA GPU. You need the NVIDIA Container Toolkit and a GTX 16xx, RTX 20xx or newer card.

      curl -fsSLO https://github.com/pluja/anysub/releases/latest/download/compose.cuda.yaml
      echo "COMPOSE_FILE=compose.yaml:compose.cuda.yaml" >> .env
    • External providers only. If you only transcribe with a service such as OpenAI or Groq, this smaller worker leaves out the local models and needs no GPU. Add the service under Administration > External providers once Anysub runs. See External providers.

      curl -fsSLO https://github.com/pluja/anysub/releases/latest/download/compose.remote.yaml
      echo "COMPOSE_FILE=compose.yaml:compose.remote.yaml" >> .env
  3. Start Anysub:

    docker compose up -d
  4. Open http://localhost:5173 and create your account. It asks for a setup code, which docker compose logs web shows.

A GPU transcribes several times faster than a CPU. AMD and Intel GPUs aren't supported yet, but we plan to add them.

Install covers Podman, reverse proxies and building from source. NVIDIA GPUs helps when the GPU doesn't work.

Coming from Whishper 3

Whishper 3 is no longer maintained, and Anysub can't read its data. Coming from Whishper 3 explains how to move over. The old code is in the v3-legacy branch.

Not built yet

  • Translation.
  • Speaker labels.
  • Watched folders.
  • Import from a URL or an existing subtitle file.
  • More than one account.
  • Workers on other machines.
  • ARM images.

These will come in 4.x releases. See the changelog.

Documentation

See docs.

AI disclosure

Large language models helped write the code and docs. A human reviews and tests every change before it ships.

License

AGPL-3.0-only.

About

Turn audio and video into subtitles with an easy-to-use web UI. Everything runs on your own machine.

Topics

Resources

Contributing

Security policy

Stars

3.1k stars

Watchers

33 watching

Forks

Releases

Packages

Used by

Contributors

Languages