Skip to content
项目

关于

通过易于使用的 Web 界面将音频和视频转换为字幕。所有处理都在本机上运行。前身为 Whishper。

设计与媒体

这些数字如何统计

可以做什么

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

实测星标增长

24小时
+1
7天
+4
15天
+12
1个月
+19

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

https://github.com/user-attachments/assets/1d23abb7-8379-4ad3-8705-cbf8f5821c9c

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.

探索相关项目

加载中…