baoyu-post-to-weibo

Automates Weibo publishing including tweets, images, videos and formatted documents via your own browser.

Updated May 5, 2025
One-click install
npx skills add https://github.com/yopitek/Obsidian --skill baoyu-post-to-weibo-yopitek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-post-to-weibo
Source: https://github.com/yopitek/Obsidian/tree/main/HQ/10_resources/01_AI_Skills/baoyu-skills/skills/baoyu-post-to-weibo
Command: npx skills add https://github.com/yopitek/Obsidian --skill baoyu-post-to-weibo-yopitek

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires baoyu-chrome-cdp, baoyu-md, and includes scripts (resource) components.

What problem does it solve?

This Skill automates posting content to Weibo (微博) using a real Chrome browser, enabling regular posts, image/video uploads, and long-form articles without manual browser interactions.

Core Features & Use Cases

  • Regular Posts: publish text plus images or videos to the Weibo homepage.
  • Headline Articles: publish long-form Markdown content via Weibo's editor, including cover images and captions.
  • End-to-end workflow: manage Chrome profile, render Markdown to HTML, insert content into ProseMirror, and handle image placeholders and media embedding.

Quick Start

Provide your post content and media paths, then run the script to publish to Weibo and review in the browser before final publish.

Frequently Asked Questions about baoyu-post-to-weibo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting articles to Weibo using Markdown?

To automate posting articles to Weibo using Markdown, you can use a script that renders Markdown to HTML and inserts it into Weibo's ProseMirror editor. This process handles cover images, captions, and media embedding automatically via a real Chrome browser.

Can I automate uploading images and videos to Weibo without manual browser interaction?

You can automate uploading images and videos to Weibo by using Chrome CDP to control a real Chrome browser. This approach manages media uploads and embeds placeholders directly into your posts without requiring manual browser interaction.

Do I need a specific environment to run scripts for automating social media publishing?

You need a local Chrome or Chromium browser and a Bun-based or Node.js environment to run the TypeScript scripts for automating social media publishing. These scripts leverage Chrome CDP to manage browser profiles and execute publishing tasks reliably.

What is the best way to publish long-form content to Weibo automatically?

The best way to publish long-form content to Weibo automatically is by using a tool that renders Markdown input into HTML and handles media management. This ensures your articles, including cover images, are formatted correctly within Weibo's editor before final publish.

Why does automated Weibo publishing require a real Chrome browser?

Automated Weibo publishing requires a real Chrome browser to reliably interact with Weibo's dynamic editor and media upload interfaces. Using Chrome CDP allows the automation script to bypass anti-bot restrictions and manage complex UI elements like ProseMirror.

Are there limitations when using Chrome CDP for Weibo article publishing?

When using Chrome CDP for Weibo article publishing, you must review the content in the browser before the final publish step. Additionally, the workflow strictly requires a local Chrome instance and a compatible TypeScript runtime environment to function correctly.