返回顶部
x

x-article-reader

Read X (Twitter) Articles aloud using macOS text-to-speech. Accepts an X Article URL and reads the content out loud. Automatically detects Chinese vs English and picks the appropriate voice. Use when user says "读出来", "朗读", "read aloud", "read this X article", or provides an x.com/articles URL and wants it spoken.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
347
下载量
0
收藏
概述
安装方式
版本历史

x-article-reader

# X Article Reader Read X (Twitter) Articles aloud using macOS `say` command. Automatically detects language and selects the right voice. ## What This Skill Does - Opens the X article URL in a **local headless browser** (patchright/Chromium — runs 100% locally) - Extracts the article title and body text - Reads it aloud via macOS built-in `say` command (no external TTS API) ## What Gets Installed | Component | Size | Where | |-----------|------|--------| | `patchright` (Python pkg) | ~5MB | your Python env | | Chromium browser | ~170MB | `~/.cache/ms-playwright/` | All processing is local. No data is sent to any third-party service. ## Prerequisites ```bash # macOS only (uses built-in say command) pip install patchright python3 -m patchright install chromium ``` ## First-Time Setup (One-Time Login) The skill stores its own browser profile at: ``` <skill_dir>/data/browser_state/ ``` This is **completely isolated** — it does not read or write credentials from any other skill or app. ```bash cd <skill_dir>/scripts python3 auth_setup.py ``` A browser window opens → log in to X → session saved automatically (~7 days). ## Usage ```bash cd <skill_dir>/scripts python3 read_article.py "https://x.com/user/articles/123" ``` ### Options ```bash # Force a voice python3 read_article.py "<url>" --voice Tingting # Save audio file instead of playing python3 read_article.py "<url>" --output ~/Desktop/article.aiff # Show browser (debug) python3 read_article.py "<url>" --show-browser ``` ## Voices | Language (auto-detected) | Voice | |--------------------------|-------| | 中文 (>15% Chinese chars) | Tingting | | English | Samantha | ## Source Code https://github.com/ewangchong/x-article-reader ## Trigger Examples - "帮我读一下这篇X文章:https://x.com/xxx/articles/yyy" - "Read this X article aloud: https://x.com/xxx/articles/yyy" - "朗读 https://x.com/xxx/articles/yyy"

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 x-article-reader-1776123555 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 x-article-reader-1776123555 技能

通过命令行安装

skillhub install x-article-reader-1776123555

下载 Zip 包

⬇ 下载 x-article-reader v0.1.1

文件大小: 6.16 KB | 发布时间: 2026-4-15 15:02

v0.1.1 最新 2026-4-15 15:02
- Added standalone authentication and article reading scripts for easier setup and usage.
- Updated documentation for clearer local install steps and isolated authentication (no longer shares login state with other skills).
- Added homepage and source code link for easier access.
- Detailed all installed dependencies, privacy (everything runs locally), and browser data storage location.
- Improved documentation on usage, options, and supported voices.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部