web-tts-speaker

网页一键朗读:输入URL或文本,TTS转语音,飞书语音条推送

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "web-tts-speaker" with this command: npx skills add phentse/web-tts-speaker

web-tts-speaker v3.0

网页/文字 → TTS语音 → 飞书语音条

一个极简的网页转语音工具,只做三件事:提取文字 → 生成语音 → 输出标记

使用方式

# 朗读网页
python cli.py --url https://example.com/article

# 直接文字转语音
python cli.py --text "你好世界"

输出格式

脚本输出 [FEISHU_VOICE] 标记供 Cron/Agent 读取:

[FEISHU_VOICE]
file=/path/to/voice.opus
text=标题...
[/FEISHU_VOICE]

Agent 读取后用 message 工具发送飞书语音条:

message(
  action: "send",
  channel: "feishu",
  asVoice: true,
  filePath: "/path/to/voice.opus"
)

依赖

pip install edge-tts beautifulsoup4 requests

也依赖系统安装的 FFmpeg(用于转码为标准 opus 格式)。

架构原则

  • 🎯 只做一件事:网页→语音,不搞复杂架构
  • 🚫 不调飞书API:不依赖 app_id/app_secret
  • 🔧 不转码:交给 FFmpeg 处理
  • 📦 极简依赖:只需 3 个 Python 包

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ling Mem

Durable memory across sessions — a model of who the user is, not a log of what was done. Markdown core plus a RAG store via the `ling-mem` daemon. Same seman...

Registry SourceRecently Updated
General

Ai Bug Report Snapshot Card

Creates a tester-ready bug report snapshot with repro steps, environment, evidence inventory, impact, redaction notes, and open questions while keeping scree...

Registry SourceRecently Updated
General

Document Signature Packet Builder

Organizes document signing instructions into a clear checklist detailing signatures, dates, witnesses, attachments, logistics, and confirmation items for smo...

Registry SourceRecently Updated
General

MEV Engine

MEV Engine v6.5 — Minimal-enforcement task execution framework. 1 preflight command + 9 gates with trust-but-verify validation.

Registry SourceRecently Updated