← Back to Skills Marketplace
phentse

Web TTS Speaker

by Zach · GitHub ↗ · v3.0.0 · MIT-0
cross-platform ✓ Security Clean
90
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install web-tts-speaker
Description
网页一键朗读:输入URL或文本,TTS转语音,飞书语音条推送
README (SKILL.md)

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 包
Usage Guidance
Install only if you are comfortable sending the chosen text or webpage content to Edge TTS and Feishu. Confirm the Feishu destination, ensure FFmpeg is installed in a trusted location, and prefer pinned dependencies if you need reproducible or stricter security behavior.
Capability Analysis
Type: OpenClaw Skill Name: web-tts-speaker Version: 3.0.0 The skill is a legitimate utility designed to extract text from URLs and convert it to audio files using Edge TTS and FFmpeg. The code in `cli.py` uses standard libraries and follows its stated purpose without any signs of data exfiltration, unauthorized network calls, or malicious execution. While it contains a hardcoded Windows-specific path for the FFmpeg executable, this is a functional limitation rather than a security risk.
Capability Assessment
Purpose & Capability
The code is coherent with the stated webpage/text-to-TTS purpose, including URL fetching, Edge TTS generation, Opus output, and a Feishu voice-message handoff.
Instruction Scope
It outputs a machine-readable marker for Cron/Agent use and includes a raw snippet of fetched/user text, so downstream parsers should treat that field as untrusted data.
Install Mechanism
The skill uses third-party Python packages with version ranges and references a pip install in SKILL.md, while the registry says there is no install spec; FFmpeg is also required but not declared as a required binary.
Credentials
Fetching a user-supplied URL, writing an output audio file, and running FFmpeg are expected for this skill, but the FFmpeg path is hard-coded to a Windows location.
Persistence & Privilege
No persistence or credential storage is shown, but the intended workflow uses the agent's Feishu message capability to send the generated voice file.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install web-tts-speaker
  3. After installation, invoke the skill by name or use /web-tts-speaker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.0
v3.0 简化重构
Metadata
Slug web-tts-speaker
Version 3.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Web TTS Speaker?

网页一键朗读:输入URL或文本,TTS转语音,飞书语音条推送. It is an AI Agent Skill for Claude Code / OpenClaw, with 90 downloads so far.

How do I install Web TTS Speaker?

Run "/install web-tts-speaker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Web TTS Speaker free?

Yes, Web TTS Speaker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Web TTS Speaker support?

Web TTS Speaker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Web TTS Speaker?

It is built and maintained by Zach (@phentse); the current version is v3.0.0.

💬 Comments