threerocks/article2media

把一篇文章或一条视频(抖音、B 站、YouTube,先转逐字稿)一键做成小红书图文、杂志长图、公众号排版和 AI 配音口播短视频的开源 Claude Code / Codex Skill。21 套主题,自动验收,零 npm 依赖。

What it solves

Good articles are hard to finish inside a scrolling feed. Turning an article into platform-ready visuals normally takes hours of screenshotting, layout design, image sourcing, voice recording, and editing — and after completing one platform, you start over for the next. article2media hands that whole job to AI: you give it a link or video, and it produces finished, directly publishable content for several Chinese social platforms.

How it works

The workflow has three phases:

  1. Claude reads and understands the source. For summaries, it restructures the article into a style-independent structured form. For verbatim output, it keeps every word unchanged. For translation, it renders the text paragraph by paragraph.
  2. Scripts render the result into whatever format each platform needs.
  3. Automatic acceptance checks run before delivery — problems are reported as errors instead of being left for human eyes.

The project is split into 10 independent skills: article fetching, video-to-text, rewriting/summarizing, full-text translation, long images, image cards, WeChat public-account layout, talking-head video, logic-whiteboard argument diagrams, and comics. Each skill can be used alone (e.g., just lay out your own essay for WeChat, or just transcribe a video), or combined freely. Skills hand off to each other only through files in the working directory — article.md (source), article.zh.md (translation), content.json (rewritten draft), rewrite.md (draft as an article). The main entry /article2media provides common one-click combinations plus batch processing and publishing-data recording.

Who it's for

Content creators, writers, editors, and social-media operators who publish on Xiaohongshu (RED), WeChat public accounts, Douyin, YouTube, or Bilibili. It suits anyone who needs to repurpose an article or video into multiple visual formats quickly, or who wants to know which cover style and visual theme actually performs better after publishing. It requires Node.js 22 and a Chrome browser; no other dependencies. Voice, alignment, rendering, and speech recognition are optional and auto-detected — if missing, the tool degrades gracefully or tells you clearly rather than downloading anything.

Highlights

  • Independent, combinable skills: each of the 10 capabilities works alone or in any combination, with a one-click main entry for common pipelines (e.g., article-to-long-image, video-to-Xiaohongshu, one-source-many-outputs).
  • Three source paths: verbatim original (byte-for-byte verified against the source), AI summary (restructured with charts and data panels), or full translation — all connect to long images, cards, and WeChat layout.
  • Articles and videos both work as input: videos are first converted to transcripts, preferring human subtitles, then platform auto-subtitles, then local Whisper recognition; traditional-to-simplified Chinese conversion and proper-noun fixes are handled.
  • Content/style separation: Claude produces theme-agnostic content.json; layout, typography, and themes are handled by deterministic scripts, so restyling does not require rewriting content.
  • One draft, many outputs: a single rewrite can produce long images, card sets (3:4 / 4:5 / 1:1 / 9:16), WeChat layout, plus lighter forms — single-page summaries, quote graphics, and Q&A cards — plus talking-head video, whiteboard, and comics.
  • 12 recommended themes (plus 9 legacy ones) with distinct moods — business magazine, Swiss minimal, dark tech, national style, notebook grid, Y2K chrome, and more — covering covers, color palettes, fonts, and quote-card styling.
  • Automatic acceptance for every output: layout checks for overflow, truncation, and overlap; verbatim outputs are re-read block by block against the source; translations are checked for block structure, omissions, and lost numbers; videos are frame-checked for caption drops, loudness, pacing, and static shots.
  • Publishing toolkit built in: multiple cover versions, brand kits (avatar, brand color, issue number), batch processing with a queue board, per-piece publishing checklists with alternative titles, and platform-specific performance reports once you record post-publish stats.
  • Local-first design: zero npm dependencies, only Node 22 plus an existing Chrome; fonts can be cached locally (around 65 MB) so rendering works offline; all data stays on your machine.
  • Publishable-quality video: local VoxCPM2 voice generation at 48 kHz with word-level subtitles, ~4.5 characters per second narration, non-flickering captions, and 10 shot types synced to the spoken word; 6 bundled voice packs are designed purely from text descriptions and imitate no real person, with AI-generation labeling on the first frame and MP4 metadata.

Related

  • Project
  • Project
  • Project
  • Project