bear-blog-publisher
由 cattalk2 提供
Coding Agents & IDEs简介
Publish blog posts to Bear Blog platform.
描述
该技能的功能
Publishes blog posts to Bear Blog (bearblog.dev). Supports user-provided markdown, AI-generated content via OpenAI or Kimi, and auto-generated architecture diagrams using Playwright.
Combines content generation, diagram creation, and publishing into a single step without switching tools or logging into Bear Blog manually.
何时使用
- Publishing a write-up directly from a chat prompt
- Generating and posting a blog on a given topic with one command
- Attaching an auto-generated architecture diagram to a technical post
- Publishing from a CI/CD pipeline using environment variable credentials
- Running a multi-user publishing bot where each user supplies their own credentials
示例工作流
User asks: Write and publish a blog post about Python asyncio
- 1
Reads Bear Blog credentials from environment variables or config file
- 2
Calls OpenAI API to generate content on the Python asyncio topic
- 3
Authenticates to Bear Blog using CSRF token session flow
- 4
Publishes the generated post to Bear Blog
- 5
Returns the live URL of the published post
A live Bear Blog URL pointing to the published Python asyncio post
前置要求
- Bear Blog account at bearblog.dev (email and password required)
- OpenAI API key (optional, only needed for AI content generation)
- Kimi API key (optional, alternative to OpenAI for AI content generation)
安装
clawhub install cattalk2/bear-blog-publisher运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。