{"id":51280517,"url":"https://github.com/tangka/x-post-cover","last_synced_at":"2026-06-30T01:05:27.466Z","repository":{"id":366531634,"uuid":"1255822252","full_name":"tangka/x-post-cover","owner":"tangka","description":"把 X 推文转成公众号封面卡图 + Markdown · Codex/Claude Code skill","archived":false,"fork":false,"pushed_at":"2026-06-22T08:05:50.000Z","size":1754,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-22T09:27:19.050Z","etag":null,"topics":["claude-code","codex","skill","twitter","wechat"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tangka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-01T07:48:00.000Z","updated_at":"2026-06-22T08:05:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tangka/x-post-cover","commit_stats":null,"previous_names":["tangka/x-post-cover"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tangka/x-post-cover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangka%2Fx-post-cover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangka%2Fx-post-cover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangka%2Fx-post-cover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangka%2Fx-post-cover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangka","download_url":"https://codeload.github.com/tangka/x-post-cover/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangka%2Fx-post-cover/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34948251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","codex","skill","twitter","wechat"],"created_at":"2026-06-30T01:05:26.730Z","updated_at":"2026-06-30T01:05:27.461Z","avatar_url":"https://github.com/tangka.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# x-post-cover\n\nA Claude Code skill that turns any X (Twitter) post into a styled cover image + Markdown file — ready for WeChat articles.\n\n**One command:**\n```\n/x-cover https://x.com/someone/status/123456789\n```\n\nClaude scrapes the tweet, translates it, generates a cover PNG, and saves everything to your library folder.\n\n---\n\n## What it produces\n\n```\nlibrary/\n└── 2026-05-31_OpenAIDevs_206076.../\n    ├── cover.png      ← styled tweet card (360 × auto px, 2× retina)\n    └── content.md     ← original text + translation + metadata\n```\n\n---\n\n## Requirements\n\n- macOS (uses Chrome's cookie store for X authentication)\n- [Node.js](https://nodejs.org) ≥ 18\n- Google Chrome — logged into X\n- [Claude Code](https://claude.ai/code)\n- A [DeepSeek API key](https://platform.deepseek.com) for translation\n\n---\n\n## Install\n\n```bash\ngit clone https://github.com/tangka/x-post-cover ~/.claude/skills/x-post-cover\n```\n\nThen run `/x-cover \u003curl\u003e` — the skill handles the rest automatically.\n\n---\n\n## Configuration (`.env`)\n\n| Key | Required | Description |\n|-----|----------|-------------|\n| `DEEPSEEK_API_KEY` | Yes | DeepSeek API key for translation |\n| `LIBRARY` | Yes | Absolute path to output folder |\n| `TARGET_LANG` | No | Translation language — BCP 47 tag (default: `zh`) |\n| `QRCODE` | No | Show QR code: `show` or `hide` (default: `show`) |\n| `CHROME` | No | Chrome executable path (macOS default works out of the box) |\n| `COOKIES_DB` | No | Chrome Cookies DB path (override for non-default profiles) |\n\nReplace `public/assets/codexx-qrcode.jpg` with your own QR code image.\n\n---\n\n## Usage\n\n```\n/x-cover https://x.com/someone/status/123456789\n```\n\nOr run directly:\n\n```bash\nnpm run cover -- https://x.com/someone/status/123456789\n```\n\n---\n\n## Supported translation languages\n\n`zh` · `ja` · `ko` · `fr` · `de` · `es` · `pt` · `ru` · `ar`\n\n---\n\n## License\n\nMIT\n\n## 📣 关于作者 \u0026 支持\n\n这套工具来自我运营的两个公众号,欢迎关注 👇\n\n- **Codexx** —— Codex 铁粉中文社区\n- **ClaudeDevs** —— Claude 中文社区\n\n\u003cimg src=\"promo/codexx-qrcode.jpg\" width=\"160\" alt=\"Codexx 公众号\"\u003e \u0026nbsp;\u0026nbsp; \u003cimg src=\"promo/claudedevs-qrcode.jpg\" width=\"160\" alt=\"ClaudeDevs 公众号\"\u003e\n\n如果这些工具帮到你,欢迎请我喝杯咖啡 ☕\n\n\u003cimg src=\"promo/wx_qr.png\" width=\"200\" alt=\"微信\"\u003e \u0026nbsp;\u0026nbsp; \u003cimg src=\"promo/ali_qr.png\" width=\"200\" alt=\"支付宝\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangka%2Fx-post-cover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangka%2Fx-post-cover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangka%2Fx-post-cover/lists"}