← 返回
未分类 Key 中文

Podcastfy Clawdbot Skill

Generate an AI podcast (MP3) from one or more URLs using the open-source Podcastfy project. Use when the user says “make a podcast from this URL/article/vide...
使用开源 Podcastfy 项目从一个或多个 URL 生成 AI 播客(MP3),适用于用户要求‘从此 URL/文章/视频制作播客’的场景。
watermelon11
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 303
下载
💾 1
安装
1
版本
#latest

概述

Podcastfy (Clawdbot)

Generate a podcast-style audio conversation (MP3) from a URL (or multiple URLs) using podcastfy.

This skill provides a wrapper script that:

  • creates/uses a local venv ({baseDir}/.venv)
  • installs/updates podcastfy
  • runs Podcastfy with Gemini for transcript generation and Edge for TTS

One-time setup

1) Ensure ffmpeg is installed on the host.

Ubuntu/Debian:

sudo apt-get update && sudo apt-get install -y ffmpeg

2) Provide a Gemini API key:

Set env var GEMINI_API_KEY (recommended), or create a project .env and export it before running.

Example keys file: {baseDir}/references/env.example

Quick start

Generate an MP3 from a single URL:

cd {baseDir}
export GEMINI_API_KEY="..."
./scripts/podcastfy_generate.py --url "https://example.com/article"

Multiple URLs:

cd {baseDir}
./scripts/podcastfy_generate.py --url "https://a" --url "https://b"

Long-form:

cd {baseDir}
./scripts/podcastfy_generate.py --url "https://example.com/long" --longform

Output

The script writes outputs under:

  • {baseDir}/output/audio/ (MP3)
  • {baseDir}/output/transcripts/ (transcript)

Podcastfy prints the final MP3 path on success.

Optional tuning

  • PODCASTFY_LLM_MODEL (default: gemini-1.5-flash)
  • PODCASTFY_EDGE_VOICE_Q (default: en-US-JennyNeural)
  • PODCASTFY_EDGE_VOICE_A (default: en-US-EricNeural)

Automation / reliability tips (important)

Prefer RSS feeds over browser automation for cron jobs

In isolated cron jobs, avoid relying on a system browser (Chrome/Chromium) or extra Python deps (e.g. bs4).

For TechCrunch categories, prefer the RSS feed:

  • https://techcrunch.com/category/artificial-intelligence/feed/

This reduces breakage from:

  • “No supported browser found …”
  • missing site parsing dependencies in the cron runtime

Validate MP3 output (avoid 0-second audio)

We observed podcastfy can occasionally produce an MP3 that is effectively empty/truncated (e.g., a ~261-byte file), which shows up as 0s in Telegram.

This wrapper now validates MP3 output and will automatically fall back to edge-tts synthesis from the latest transcript when the MP3 is invalid.

Safety / workflow

  • Prefer “draft-first”: tell the user what will be generated (language/length) before running.
  • Never paste API keys into chat logs.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 13:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Context Management Context Save

watermelon11
在处理上下文管理及保存上下文时使用。
★ 0 📥 497

Monorepo Management

watermelon11
精通 Turborepo、Nx 和 pnpm workspaces 的单仓库管理,构建高效、可扩展的多包仓库,优化构建与依赖管理。
★ 0 📥 423

Java Spring Boot

watermelon11
构建生产级Spring Boot应用(REST API、安全、数据、Actuator)
★ 1 📥 1,019