← 返回
未分类 中文

podcast-highlights-deck

Create a highly visual, editorial long-scroll HTML microsite from a podcast episode. Use when the user gives a podcast link (Apple Podcasts/Spotify/RSS/direc...
从播客单集生成高度视觉化、编辑风格的单页长卷HTML微站。当用户提供播客链接(Apple Podcasts / Spotify / RSS / 直链等)时使用。
ken-chy129 ken-chy129 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 287
下载
💾 0
安装
1
版本
#latest

概述

Podcast Highlights Deck

(Internal skill id: podcast-highlights-deck)

What it creates

Create a premium editorial long-scroll highlight deck with a sticky TOC rail, multilingual toggle, and original audio clips.


Workflow

Inputs

  • podcast_url: episode page URL (Apple/Spotify/RSS/YouTube/direct MP3)
  • languages: list of language codes, e.g. en, ja, zh

Output

  • A static website (Vite build) with:
  • editorial hero (no full-bleed podcast artwork)
  • sticky left rail: metadata + language toggle + table of contents
  • 8–12 highlight sections
  • per-highlight audio clip playback (original audio)
  • global language switching (no mixed-language UI)

Workflow (execute in order)

1) Acquire audio (source-of-truth)

Prefer a direct audio URL (RSS ). Recommended approach:

  1. Use search_web to find the show’s RSS feed (queries like: "" RSS feed, or the Apple show id + RSS).
  2. Use get_web_page_contents to fetch the RSS XML.
  3. Parse RSS to locate the exact episode and extract:
    • title
    • publish date
    • duration (if present)
    • cover image
    • enclosure mp3 URL

If RSS is unavailable:

  • If YouTube exists, use yt-dlp to download audio.
  • If a platform blocks direct audio access, ask the user for the RSS link or direct mp3.

Download audio to a working folder (example):

  • podcast_work/episode.mp3

2) Transcribe with timestamps

Primary:

  • Run anygen-speech-to-text episode.mp3 -o transcript -f json,md,srt.

Fallback (if the tool fails):

  • Split audio into chunks with ffmpeg (10 min chunks)
  • Use OpenAI Whisper (whisper-1) with response_format="verbose_json"
  • Merge segments by adding time offsets

You need a machine-readable file like:

  • transcript/episode_verbose.json containing segments with start, end, text

3) Curate 8–12 highlights (do NOT dump transcript)

Selection philosophy:

  • Prefer fewer, stronger highlights.
  • Only use quotes that exist in the transcript.

For each highlight, produce:

  • id (h1..h12)
  • start + end timestamps in seconds (from transcript)
  • title (translate later)
  • quote (English, exact or lightly cleaned)
  • context (1 sentence)
  • takeaway (editorial interpretation)

4) Translate + global UI copy

For every supported language:

  • Translate titles, context, takeaway, and quote (transcreation; keep meaning + tone).

Important behavior:

  • In non-English modes, show translated quote as primary.
  • Preserve a connection to English:
  • show “Original (English)” as a secondary expandable panel.

Also translate all UI strings:

  • hero framing
  • sidebar labels
  • buttons (“Play clip”, “Back to top”, etc.)
  • closing section labels

5) Clip original audio per highlight

Use the bundled script:

  • python scripts/clip_audio.py --audio episode.mp3 --highlights highlights.json --out-dir site_assets

Conventions:

  • add ~2s padding before/after for natural listening
  • output:
  • site_assets/audio/h1.mp3

6) Build the site with the bundled editorial template

Use website_init to create a new site project.

Then copy assets into the project:

  • src/assets/highlights.json
  • src/assets/cover.jpg
  • src/assets/audio/*.mp3

Then replace template files from this skill:

  • assets/template/Home.tsxsrc/pages/Home.tsx
  • assets/template/index.csssrc/index.css
  • assets/template/index.html → project index.html

Notes:

  • The template expects highlights.json schema similar to assets/template/highlights.schema.example.json.
  • Ensure document.documentElement.dataset.lang is set from the language toggle.

7) Bundle and deliver

Run website_bundle and deliver the generated dist/index.html.

Template assets in this skill

  • assets/template/Home.tsx: editorial layout + global language switching + expandable English original
  • assets/template/index.css: Swiss‑brutalist paper/ink theme + language font stacks
  • assets/template/index.html: Google Fonts includes Instrument Serif, Manrope, IBM Plex Mono, and Noto JP/SC
  • assets/template/highlights.schema.example.json: reference structure

版本历史

共 1 个版本

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

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 914 📥 209,154
data-analysis

predict-intelligence

ken-chy129
AI智能体预测情报技能,生成包含概率排序预测、D3可视化及Polymarket共识的专业PDF报告...
★ 0 📥 576
content-creation

humanizer-zh

liuxy951129-cpu
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段
★ 63 📥 29,963