
Xtracticle
com.xtracticlev3.2.0更新于 Oct 3, 2026
Read public X (Twitter) posts, threads and X Articles as clean Markdown. Read-only, no auth.
概览
让助手通过远程只读端点,将公开的 X(Twitter)帖文、串文和 X 文章读取为干净的 Markdown。
- 功能
- 这是一个远程 MCP 服务器,在提供方的 /mcp 端点上通过 Streamable HTTP 暴露单一工具 read_x_post。它把公开的 X 帖文、自串文和 X 文章转换为 Markdown,并可选纯文本、展开串文和 YAML front-matter。同一服务还提供 Markdown HTTP API,以及 PDF、EPUB、ZIP 和文本等网页导出。
- 适用场景
- 当助手需要以文本形式引用、总结或归档公开 X 内容,而不是抓取网页时适用。适合研究、完整阅读串文,以及把帖文导入笔记或知识库。
- 运行要求
- 需要支持 Streamable HTTP 的远程 MCP 客户端;未声明任何软件包、运行时、账号、API 密钥或环境变量。需要能访问提供方端点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Xtracticle,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"xtracticle": {
"type": "http",
"url": "https://xtracticle.com/mcp"
}
}
}README
Xtracticle
Download X (Twitter) Articles, threads & posts as PDF, Markdown, EPUB/Kindle, text or a ZIP with images.
Free, open source, no login required.
[Xtracticle - Download X articles & threads as Markdown, Text or PDF | Product Hunt]
Features • Getting Started • Architecture • SEO & AI • API • Contributing
[React 19] [TypeScript] [Vite 6] [TailwindCSS 4] [Cloudflare Workers]Live: xtracticle.com — or just change x.com to xtracticle.com in any post URL.
Features
Export formats
Content
- 📝 X Articles — full Draft.js conversion: cover, inline images, videos, captions, embedded posts
- 🧵 Threads from any post — paste the first, a middle or the last post; the whole self-thread is assembled (other people's replies are excluded)
- 💬 Posts — line breaks, photos, videos and quoted posts
- 🔗 Flexible input — x.com, twitter.com, mobile, fxtwitter/vxtwitter/fixupx, nitter/xcancel links,
/i/web/status/, bare IDs, links inside shared text
Workflow
- 🔁 URL swap —
xtracticle.com/{user}/status/{id}opens a post directly, with rich link previews (Open Graph) when shared - 📚 Batch mode — up to 20 links → one ZIP of Markdown files
- 🔖 Bookmarklet and PWA share target (share from the X app on Android)
- 🔊 Listen — read aloud with the browser's text-to-speech
- 📱 iPhone/iPad Shortcut — share a post from the X app straight to Xtracticle (
public/shortcuts/) - 🤖 MCP server + Markdown API — AI assistants read X posts as Markdown (
/mcp,/api/markdown/:id) - 📜 History, 🌙 dark mode, 🌍 English, Español, Português, 日本語, 简体中文, العربية, Türkçe (Arabic is right-to-left)
- 📈 Analytics events —
extract,download(format),copy,share,listen,batch_extract, errors — in GA4
Getting Started
The dev server runs at http://localhost:5173. /api/* is served by the same handler as the Worker (src/shared/api.ts), and every landing page is rendered on the fly — no wrangler needed.
Deployment
Cloudflare Workers + Static Assets, deployed automatically on push to main (build: npm run build, deploy: npx wrangler deploy). No environment variables.
wrangler.json:
run_worker_first— only/api/*,/mcp,/video/*and/*/status/*hit the Worker; everything else is served straight from the CDNnot_found_handling: "404-page"— unknown URLs return a real404(no soft-404s)public/_headers— security headers,Link: </llms.txt>, download headers for the iOS Shortcut
Architecture
Heavy export libraries are dynamically imported, so the initial page only loads React + the app.
SEO & AI Discoverability
API
Tweet mirrors the FxTwitter status object (text, author, media, quote, article, …). Responses are edge-cached for 5 minutes — please be gentle.
Weekly “Best X Articles”
/best-x-articles is a hand-reviewed weekly selection built from site/curated/*.json (title, author and a one-sentence summary in our own words — never the article text).
The newest issue is shown on /best-x-articles (its /best-x-articles/<week> page canonicals to the hub until the next issue); older issues stay at /best-x-articles/<week>.
Contributing
- Fork the repo
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes
- Open a Pull Request
Notes:
- Landing page copy lives in
site/pages.ts; runnpm run buildto see the generated HTML - Keep
src/shared/*free of DOM/Node-only APIs — it runs in both the Worker and the dev server - Test Worker-only behavior (SSR, 404, headers) with
npm run preview:worker
License
MIT
来源:README.md,提交 5f58f88
工具
0版本历史
1- v3.2.0最新Oct 3, 2026