GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - IchenDEV/podcast-transcript-studio: Podcast Transcript Studio 是一个本地优先的播客转写工具

This repository was archived by the owner on Aug 27, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Sources
Sources
 
 
assets
assets
 
 
docs/developer
docs/developer
 
 
packages
packages
 
 
podcast_transcript_studio
podcast_transcript_studio
 
 
podcast_web
podcast_web
 
 
scripts
scripts
 
 
skills/podcast-transcript-studio
skills/podcast-transcript-studio
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE
LICENSE
 
 
NOTICE.md
NOTICE.md
 
 
Package.swift
Package.swift
 
 
README.en.md
README.en.md
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
requirements-dev.lock
requirements-dev.lock
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements-local-asr.txt
requirements-local-asr.txt
 
 
requirements-worker.lock
requirements-worker.lock
 
 
requirements-worker.txt
requirements-worker.txt
 
 
requirements.lock
requirements.lock
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Podcast Transcript Studio

English

Podcast Transcript Studio 是一个本地优先的播客转写工具。项目提供网页入口、macOS 入口、Python worker,以及可复用的 transcript 数据结构,适合把播客、访谈、会议录音和本地视频转成可读文本。

当前状态

项目处在可运行开发版本,已经具备核心使用路径:

  • 上传本地音频或视频文件
  • 从公开播客链接导入音频,覆盖 Apple Podcasts、小宇宙、喜马拉雅公开 RSS/专辑页和直连音频
  • 创建转写任务并查看任务状态
  • 生成可读稿和逐字稿
  • 导出 TXT、JSON、SRT、MD
  • 提供快速、标准、高质量三种模式
  • Web 与 macOS 入口共用 Python worker 设计

安装 CLI

最简单的方式是用 pipx 安装一个独立的命令行工具:

python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install "podcast-transcript-studio[worker] @ git+https://github.com/IchenDEV/podcast-transcript-studio.git"

如果你已经在用 uv:

uv tool install "podcast-transcript-studio[worker] @ git+https://github.com/IchenDEV/podcast-transcript-studio.git"

macOS 需要先准备 ffmpeg:

brew install ffmpeg

安装后检查命令:

podcast-transcript-studio --help

从源码安装:

git clone https://github.com/IchenDEV/podcast-transcript-studio.git
cd podcast-transcript-studio
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[worker,web,dev]"

仓库内开发也可以继续使用 requirements*.lock,它们固定了当前验证过的依赖版本。

网页入口

推荐先使用网页入口。

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[web,worker]"
python -m uvicorn podcast_web.app:app --reload

打开:

  • http://127.0.0.1:8000

在首页上传文件,或粘贴公开播客链接,选择模式,然后创建任务。任务完成后可以在结果页查看文本并下载文件。

链接导入只处理公开可访问的音频页面、RSS 和直连音频地址;需要登录或付费权限的内容请先下载成本地文件。

命令行转写

本地文件:

podcast-transcript-studio ./demo.m4a --mode quick --output transcripts/demo.txt --json

公开播客链接:

podcast-transcript-studio "https://podcasts.apple.com/..." --mode standard --output-dir transcripts --json

常用参数:

  • --mode quick|standard|high_quality
  • --diarize / --no-diarize
  • --asr-provider auto|whisper|qwen3|mimo
  • --skip-text-refinement
  • --keep-fillers

未指定 --output 时,文本会写入 transcripts/。公开播客链接会先下载到 .pts-cli/audio/,再交给本地 worker 转写。

源码目录里也可以直接运行:

python -m podcast_transcript_studio ./demo.m4a --output transcripts/demo.txt

模型文件

默认 ASR 模型为 openai/whisper-tiny。高质量模式会优先尝试本地 Qwen3-ASR;本地依赖或模型不可用时会回退到 Whisper。MiMo-V2.5-ASR 作为可选本地 ASR,可以通过 worker 参数手动启用。

多说话人能力依赖 pyannote 相关模型,其中部分模型需要 Hugging Face 登录和模型许可。

本地模型资源目录:

~/Library/Application Support/PodcastTranscriptStudio/Models/

macOS app 的设置页可以修改模型目录,并直接下载所需模型。需要使用多说话人能力时,先在 Hugging Face 接受 pyannote 相关模型许可,再在设置页填写 token。

Qwen3-ASR / MiMo-V2.5-ASR 的依赖较重,不在默认 worker 依赖里。用 pipx 安装后,需要本地高质量 ASR 时可以追加依赖:

pipx inject podcast-transcript-studio "qwen-asr>=0.1"

源码环境使用:

python -m pip install -e ".[local-asr]"

如需下载 Qwen3-ASR 和 MiMo-V2.5-ASR 权重,可执行:

python Sources/PodcastTranscriptStudioCore/Resources/Scripts/download_models.py \
  --models-dir "$HOME/Library/Application Support/PodcastTranscriptStudio/Models" \
  --include-local-asr

如果需要把模型一起放进 DMG,可以先在本机完成 Hugging Face 登录和模型许可,再执行 ./scripts/package_models.sh。该脚本会把模型复制到:

Sources/PodcastTranscriptStudioCore/Resources/Models/

项目结构

podcast_web/                  FastAPI 网页入口
packages/core/                transcript 数据结构和可读稿逻辑
packages/podcast_fetcher/     公开播客链接解析与音频下载
packages/transcriber/         用户模式与 worker preset 映射
packages/python_worker/       Python worker 入口和转写脚本
Sources/PodcastTranscriptStudioCore/  Swift 核心模块
Sources/PodcastTranscriptStudioApp/   SwiftUI macOS 入口
tests/                        Python 与 Swift 测试
scripts/                      打包和模型资源脚本
docs/developer/               开发架构文档

开发命令

Python 测试:

source .venv/bin/activate
python -m pytest tests -v

Swift 测试:

swift test

如果当前 xcode-select 指向 Command Line Tools,且测试时报 no such module 'XCTest',使用完整 Xcode 路径:

DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test

macOS 入口:

swift run PodcastTranscriptStudioApp

模型资源脚本:

./scripts/package_models.sh

单独运行设置页同款模型下载脚本:

python Sources/PodcastTranscriptStudioCore/Resources/Scripts/download_models.py \
  --models-dir "$HOME/Library/Application Support/PodcastTranscriptStudio/Models"

worker 推理依赖体积较大,需要时再安装:

python -m pip install -r requirements-worker.lock

requirements*.txt 保留宽松版本范围,适合主动升级依赖;requirements*.lock 固定当前验证过的版本,适合日常开发、测试和打包。worker 推理依赖建议使用 Python 3.10 到 3.12。

许可

项目源代码使用 MIT License,见 LICENSE。

模型和第三方依赖有各自的许可与访问条件。默认 ASR 使用 openai/whisper-tiny;多说话人能力使用 pyannote 系列模型;文本后处理可使用 Qwen/Qwen3-0.6B。打包或重新分发带模型的版本前,请先阅读 NOTICE.md 和对应模型卡。

文档

  • 开发架构:docs/developer/architecture.md
  • macOS 说明:docs/developer/macos-app.md

适用场景

  • 播客和访谈转写
  • 会议录音整理
  • 本地隐私优先的音视频文本化
  • macOS 本地转写产品的继续开发

About

Podcast Transcript Studio 是一个本地优先的播客转写工具

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.