baoyu-post-to-weibo
Installation
Summary
Post text, images, videos, and Markdown articles to Weibo via Chrome automation.
- Two posting modes: regular posts (text with up to 18 images/videos) and long-form headline articles with Markdown input
- Supports custom Chrome profiles and persists login sessions across runs
- Article publishing includes title/summary validation (32 and 44 character limits), cover image support, and automatic image placeholder replacement
- Scripts fill content into the browser; user reviews and manually publishes to maintain control over final posts
SKILL.md
Post to Weibo
Posts via a real Chrome browser (CDP), which avoids anti-bot detection. Scripts only fill content in the browser — the user reviews and publishes manually.
Script Directory
{baseDir} = this SKILL.md's directory; scripts are at {baseDir}/scripts/<script-name>.ts. Resolve ${BUN_X}: bun if installed → else npx -y bun → else suggest installing bun.
| Script | Purpose |
|---|---|
scripts/weibo-post.ts |
Regular posts (text + images) |
scripts/weibo-article.ts |
Headline article publishing (Markdown) |
scripts/copy-to-clipboard.ts |
Copy content to clipboard |
scripts/paste-from-clipboard.ts |
Send real paste keystroke |
Preferences (EXTEND.md)
First found wins: