Major restructure from x-reader fork to independent project: Architecture: - readers/ — content extraction from 10+ platforms (based on x-reader, MIT) - search/ — semantic search via Exa, GitHub API, birdx (NEW) - config.py — configuration management (~/.agent-eyes/config.yaml) (NEW) - doctor.py — environment health checker (NEW) - core.py — AgentEyes unified entry point (NEW) - cli.py — full CLI: read, search, setup, doctor (NEW) - integrations/mcp_server.py — 8 MCP tools (NEW) - guides/ — 6 Agent-readable setup guides (NEW) - integrations/skill/ — OpenClaw Skill package (NEW) Platforms (zero config): - Web pages, GitHub, Bilibili, YouTube, RSS, single tweets Platforms (one free API key): - Web search, Reddit search, Twitter search (via Exa) Platforms (optional setup): - Reddit full reader, Twitter advanced, WeChat, XiaoHongShu Tests: 34/34 passing Credits: Built on x-reader by @runes_leo (MIT License)
1.2 KiB
1.2 KiB
Groq Whisper 配置指南
功能说明
当 YouTube/Bilibili 视频没有字幕时,用 Groq 的 Whisper API 进行语音转文字。Groq 提供免费额度。
Agent 可自动完成的步骤
- 检查是否已配置:
agent-eyes doctor | grep -i "groq\|whisper"
- 如果用户提供了 key,写入配置:
from agent_eyes.config import Config
c = Config()
c.set("groq_api_key", "用户提供的KEY")
- 测试(可选):
curl -s https://api.groq.com/openai/v1/models \
-H "Authorization: Bearer 用户提供的KEY" \
-o /dev/null -w "%{http_code}"
返回 200 = 可用
需要用户手动做的步骤
请告诉用户:
视频语音转文字需要一个 Groq API Key(免费)。
步骤:
- 打开 https://console.groq.com
- 用 Google 账号或邮箱注册
- 点击左侧 "API Keys"
- 点击 "Create API Key"
- 复制生成的 Key,发给我
Groq 提供免费额度,日常使用完全够用。
Agent 收到 key 后的操作
- 写入配置:
config.set("groq_api_key", key) - 测试 API 可用性
- 反馈:"✅ 语音转文字已开启!现在遇到没有字幕的视频,我也能帮你提取内容了。"