ecto
由 visionik 提供
CLI Utilities简介
Ghost.io blog management via Admin API.
描述
该技能的功能
CLI for Ghost.io's Admin API. Manages posts, pages, tags, images, and webhooks across one or more Ghost sites. Outputs JSON for scripting and supports markdown files and stdin as content sources.
Lets you manage Ghost content entirely from the terminal or CI/CD pipelines, without opening the Ghost admin UI.
何时使用
- Publishing a markdown file directly as a Ghost blog post
- Scheduling a draft post to go live at a specific date and time
- Batch-publishing all draft posts in a single shell command
- Creating and organizing tags across a Ghost blog
- Registering webhooks to trigger external services on post events
示例工作流
User asks: publish my post.md file as a new post titled 'Launch Day' with the 'announcements' tag
- 1
Run
ecto auth addto register the Ghost site with its URL and Admin API key - 2
Run
ecto post create --title "Launch Day" --markdown-file post.md --tag announcements --status published - 3
Confirm the post is live by running
ecto post <slug> --json
Post created and published; JSON response includes post ID, URL, and publication timestamp
前置要求
- Ghost Admin API key (generated in Ghost admin under Integrations)
- Ghost site URL
安装
clawhub install visionik/ecto运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。