Summary
- 把小宇宙播客链接转成文字稿和文章。实现原理:下载小宇宙音频 → Groq Whisper 转录成文字 → 由 Claude 编写成文章。
- 触发词:"小宇宙转文字"、"播客转文章"、"把这个小宇宙链接转成文章"、"小宇宙文稿",或用户直接发来 xiaoyuzhoufm.com…
spacezephyr/read-buddy · Archived
把小宇宙播客链接转成文字稿和文章。实现原理:下载小宇宙音频 → Groq Whisper 转录成文字 → 由 Claude 编写成文章。 触发词:"小宇宙转文字"、"播客转文章"、"把这个小宇宙链接转成文章"、"小宇宙文稿",或用户直接发来 xiaoyuzhoufm.com 的单集链接。 产出两份:逐字文稿(含标点润色)+ 改写后的文章。
npx skills add spacezephyr/read-buddy --skill read-xiaoyuzhou-article
This repository is archived — consider an actively maintained alternative.
Fetch and extract content from web pages, converting HTML to clean markdown.
5 installs翻译在线文章为中文并保存为 Markdown 格式。当用户需要翻译网页文章、博客文章时使用此技能,例如:"…
5 installsAI热点采集工?
5 installs从 YouTube 视频链接提取字幕并转换为中文文字稿。支持自动生成字幕和手动字幕。 使用场景:(1) 用户…
4 installsOther skills from spacezephyr/read-buddy · top by installs.
npx skills add spacezephyr/read-buddy
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Parsed from SKILL.md frontmatter.
Files included with this skill beyond the listing page.
SKILL.md
3,506 B
SUMMARY.md
431 B
把一条小宇宙单集链接(xiaoyuzhoufm.com/episode/xxx)变成:
小宇宙链接
→ 抓页面里的音频 CDN 直链(无需登录/API)
→ curl 下载音频
→ ffmpeg 转码压缩(单声道 64k mp3)
→ 按 10 分钟/段切片(避免单段过长导致 Whisper 524 超时)
→ Groq Whisper large-v3 转录(language=zh,带 429/5xx 自动重试)
→ 清洗 Whisper 幻觉噪声("请点赞订阅"、"字幕由 Amara.org 提供"等)
→ Groq Llama 3.3 70B 补中文标点+分段(可选 --polish)
→ 输出逐字文稿
→ Claude 把文稿编写成文章
1. 工具(命令行需可用):curl、ffmpeg、ffprobe、perl、python3
brew install ffmpeg~/.local/bin/(脚本会自动把该目录加入 PATH)。arm64 静态版可从 osxexperts.net 获取 ffmpeg/ffprobe。2. Groq API Key(免费)——转录这一步需要:
gsk_ 开头的 keyexport GROQAPIKEY=gsk_xxxxx用户给出小宇宙单集链接后,默认开启 --polish(标点润色,阅读体验更好)。
GROQ_API_KEY=$GROQ_API_KEY bash ~/.claude/skills/read-xiaoyuzhou-article/scripts/transcribe.sh \
--polish "<小宇宙链接>" "/tmp/podcast_transcript.md"
脚本会输出逐字文稿到 /tmp/podcast_transcript.md。读取它作为下一步素材。
长播客转录可能需要几分钟(下载 + 转码 + 多段调用 API)。如遇 Groq 429 限流,脚本会自动等待重试。
读取 /tmp/podcast_transcript.md,把逐字稿改写成一篇结构化文章。要求:
把文章保存为 /tmp/podcast_article.md,并把两份产出(文稿 + 文章)路径告知用户。
/episode/),不支持播客主页。media.xyzcdn.net/*.m4a|mp3;若小宇宙改版导致提取失败,需更新脚本里的正则。