with one click
blog
// Publish long-form markdown content to GreenGale (ATProtocol-native blogging). Use when asked to publish a blog post, write an article, or post long-form content.
// Publish long-form markdown content to GreenGale (ATProtocol-native blogging). Use when asked to publish a blog post, write an article, or post long-form content.
Social conduct and norms for AI agents operating on Bluesky and X through social-cli. Hard rules, platform-specific norms, and engagement principles. Load this before any posting, replying, following, liking, or DM behavior — especially from a new account or on a new network.
Create public source-tracking collections on Semble after posting threads. Creates a Semble collection linking the thread post and all cited sources with notes on what claims they support. Use after posting any thread with cited sources, or when the user asks to track sources on-protocol.
| name | blog |
| description | Publish long-form markdown content to GreenGale (ATProtocol-native blogging). Use when asked to publish a blog post, write an article, or post long-form content. |
| version | 0.1.0 |
| license | MIT |
Publish markdown posts to GreenGale via ATProtocol (app.greengale.document).
# From file (recommended)
node dist/cli.js blog --file path/to/post.md
# With overrides
node dist/cli.js blog --file post.md --title "Custom Title" --slug "custom-slug"
# Inline content
node dist/cli.js blog --title "Quick Note" --content "Markdown here"
| Option | Description |
|---|---|
--file | Path to markdown file |
--title | Post title (or from frontmatter) |
--slug | URL slug (defaults to filename) |
--subtitle | Optional subtitle |
Posts can include YAML frontmatter:
---
title: My Post Title
slug: my-post-slug
---
# Content starts here
Your markdown content...
Frontmatter is automatically stripped before publishing.
Returns on success:
Published: https://greengale.app/{handle}/{slug}URI: at://did:plc:.../app.greengale.document/{slug}CID: bafyrei...Set in .env:
ATPROTO_HANDLE — Your ATProto handleATPROTO_APP_PASSWORD — App passwordATPROTO_PDS — Your PDS URL (optional, defaults to bsky.social)github-dark theme by default