threads-to-zhpost
skill
Warn
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Warn
- fs module — File system access in generate-image.js
Permissions Pass
- Permissions — No dangerous permissions requested
Purpose
This tool is an experimental Claude Code skill that scrapes social media posts (primarily from Threads), translates them into Traditional Chinese, formats them as Facebook posts, and automatically generates promotional cover images.
Security Assessment
The overall risk is rated as Medium. The repository does not request dangerous permissions, contains no hardcoded secrets, and does not execute shell commands. However, there are notable security considerations. It actively makes external network requests to scrape data from social media platforms using a dedicated web scraper (`scrape-threads.js`). Additionally, it utilizes the `fs` module within `generate-image.js` to write files directly to the local file system to save the generated images and posts. While the tool itself is safe to run, the underlying act of scraping social media platforms violates the terms of service for many sites. The authors rightfully include a strong disclaimer that users bear all responsibility for legal compliance and copyright issues regarding the scraped content.
Quality Assessment
The project is in active development, with its last push occurring today. It is properly licensed under the permissive MIT license, and the documentation is excellent, even including a step-by-step guide of the prompts used to build it. However, community trust and visibility are currently very low. With only 6 GitHub stars, the project has not been broadly vetted by the developer community. It remains an experimental proof-of-concept rather than a battle-tested production tool.
Verdict
Use with caution — the code itself is transparent and locally safe, but scraping third-party social media content carries inherent legal and terms-of-service risks that users must evaluate before proceeding.
This tool is an experimental Claude Code skill that scrapes social media posts (primarily from Threads), translates them into Traditional Chinese, formats them as Facebook posts, and automatically generates promotional cover images.
Security Assessment
The overall risk is rated as Medium. The repository does not request dangerous permissions, contains no hardcoded secrets, and does not execute shell commands. However, there are notable security considerations. It actively makes external network requests to scrape data from social media platforms using a dedicated web scraper (`scrape-threads.js`). Additionally, it utilizes the `fs` module within `generate-image.js` to write files directly to the local file system to save the generated images and posts. While the tool itself is safe to run, the underlying act of scraping social media platforms violates the terms of service for many sites. The authors rightfully include a strong disclaimer that users bear all responsibility for legal compliance and copyright issues regarding the scraped content.
Quality Assessment
The project is in active development, with its last push occurring today. It is properly licensed under the permissive MIT license, and the documentation is excellent, even including a step-by-step guide of the prompts used to build it. However, community trust and visibility are currently very low. With only 6 GitHub stars, the project has not been broadly vetted by the developer community. It remains an experimental proof-of-concept rather than a battle-tested production tool.
Verdict
Use with caution — the code itself is transparent and locally safe, but scraping third-party social media content carries inherent legal and terms-of-service risks that users must evaluate before proceeding.
Claude Code skill: Threads → 繁中 FB 貼文 + 封面圖 | includes full build process & prompts used
README.md
threads-to-zhpost
English | 繁體中文
Experimental / 實驗性專案 — 這是一個 Claude Code skill 的概念驗證,僅供學習和研究用途。
Claude Code skills:把社群串文(Threads、X 等)爬下來、翻譯成繁體中文、格式化成 Facebook 貼文、自動產生宣傳封面圖。
這個 repo 也包含了完整的製作過程,記錄了每一步的 prompt 和 AI 的回應:
安裝
git clone https://github.com/HSNUGavin/threads-to-zhpost.git
cd threads-to-zhpost
npm install
Skills
/threads-to-fb — 一鍵完成 Threads → FB 貼文
/threads-to-fb https://www.threads.com/@username/post/XXXXX
自動爬取串文 → 翻譯成繁體中文 → 格式化 FB 貼文 → 產生 dark/light 兩版封面圖。
/generate-cover — 社群貼文封面圖產生器
根據來源平台自動配色,產生 1200×1200 宣傳圖。
支援平台配色:
| 平台 | Dark | Light |
|---|---|---|
| Threads | 黑底 + 橘色 | Claude 米色底 |
| X (Twitter) | 純黑 + 藍色 | 白底 + 藍色 |
| — | 灰底 + 藍色 | |
| 深灰 + 橘色 | — |
獨立使用
爬 Threads 串文
node scrape-threads.js <threads-url>
產生封面圖(JSON config)
node generate-image.js --config '{
"platform": "threads",
"variant": "dark",
"authorName": "Boris Cherny",
"authorHandle": "boris_cherny",
"authorRole": "Anthropic|Head of Claude Code",
"avatarPath": "assets/boris-avatar.jpg",
"headlineSmall": "Claude Code 創造者",
"headlineBig1": "剛公開",
"headlineBig2": "15 個隱藏功能",
"subtitle": "他每天都在用,但很多人不知道的功能",
"footerLeft": "繁體中文翻譯整理",
"footerRight": "2026.03.30",
"output": "output/boris-cherny-claude-code-dark.png"
}'
檔案結構
.claude/commands/
threads-to-fb.md # Skill: Threads → FB 貼文
generate-cover.md # Skill: 封面圖產生器
templates/
cover-template.html # 參數化 HTML 模板(6 種平台配色)
generate-image.js # Puppeteer 截圖腳本(支援 JSON config)
scrape-threads.js # Threads 爬蟲
output/ # 產出的貼文和圖片
assets/ # 頭像等素材
範例產出
Dark 版封面圖:

Light 版封面圖:

Disclaimer / 免責聲明
This project is an experimental proof-of-concept for Claude Code skills, intended for educational and research purposes only.
- Web scraping: This tool scrapes publicly accessible social media content. Users are responsible for complying with the terms of service of the respective platforms (Meta/Threads, X, etc.).
- Copyright: Translated and reformatted content remains the intellectual property of the original authors. Always credit the original source and obtain permission before publishing translated content.
- Avatars & media: Profile images and media are fetched for local preview purposes. Do not redistribute without permission.
- No affiliation: This project is not affiliated with, endorsed by, or associated with Meta, Anthropic, or any social media platform.
- Use at your own risk: The authors of this project assume no liability for how it is used. You are solely responsible for ensuring your use complies with applicable laws and platform policies.
本專案為 Claude Code skill 的實驗性概念驗證,僅供學習與研究用途。
- 爬蟲:本工具爬取公開的社群媒體內容。使用者有責任遵守各平台(Meta/Threads、X 等)的服務條款。
- 著作權:翻譯和重新排版的內容,著作權仍屬於原作者。發布前請務必標註原文出處,並取得原作者同意。
- 頭像與媒體:頭像圖片僅供本地預覽使用,請勿未經授權轉發。
- 無關聯性:本專案與 Meta、Anthropic 或任何社群平台無關,也未獲得任何官方背書。
- 風險自負:專案作者不對任何使用方式承擔法律責任。使用者應自行確保符合相關法律與平台規範。
License
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found