← 开源

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

ApplicationsContent creationTypeScript
增长势头
+024 小时新增 Star0.0%
3.12k
Star
186
Fork
+4
本周
2
贡献者
创建于 2023-08-26 · 更新于 2026-12-04 · 今日第 9543 名
主要开发者
README

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.

anysub-demo-final.mp4

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.
  • Translation into other languages, on your server or with a provider's chat model.
  • Export to SRT, WebVTT, LRC, 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 I 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

  • 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.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载