KeyFlow LogoKEYLOW
Desktop AppCLI ToolRelease Notes
Start Building
KeyFlow CLIv2026.6.28

The Editorial Architect for KeyFlow

The ultimate bridge between your local Markdown vault and the global audience. Push articles, sync images, and manage drafts without leaving your editor.

$curl -fsSL https://keyflow.me/install.sh | bash

System Architecture

Engineered for flow state.

Zero-Friction Push

Deploy local Markdown to production instantly. Assets are automatically scraped, optimized, and pushed to Cloudflare R2 edge locations.

Native Type Safety

Built on Rust & TypeScript. Every command is strictly typed to ensure predictable sync between your Vault and KeyFlow Cloud.

AI Agent Integration

Fully supports headless execution for autonomous AI bots. Build your 100% automated publishing pipeline effortlessly via environment variable tokens.

Workflow

From idea to draft. In a single command.

Parse your local markdown files and securely push them to your KeyFlow studio as private drafts with a single command.

  • Safe Private Draft Uploads
  • Smart H1 Title Extraction
  • Headless AI Agent Pipeline Support

# 1. Secure login to KeyFlow workspace

$ keyflow login

# 2. Push markdown file (Saved as draft)

$ keyflow push ./drafts/architecture-v2.md

✓ Verifying browser token authentication...

✓ Parsing markdown and extracting H1 title...

✓ Securely transferring to KeyFlow Editorial Studio...

→ Successfully saved as Private Draft!

AI Agent Prompt

Let an agent help, but keep uploads draft-only.

Copy this prompt into Codex, Claude, Gemini, or another coding agent when you want it to prepare a KeyFlow draft through the CLI. It keeps credentials out of chat, requires a dry run first, and creates only private drafts after approval.

Important: inject KEYFLOW_DEVICE_CREDENTIAL only through a secret manager or local environment variable. Do not paste credentials into chat, logs, source code, or shared shell history.
Copy-ready prompt
You are preparing a KeyFlow draft with the KeyFlow CLI.

Rules:
- Never ask for, print, log, or store KeyFlow credentials, Firebase tokens, device credentials, refresh tokens, or `.env` values.
- Use an existing authenticated local CLI session when available.
- If authentication is missing, ask the human to run `keyflow login` locally or provide `KEYFLOW_DEVICE_CREDENTIAL` through their own secret manager. Do not request the credential in chat.
- Create or update a Markdown file with a clear H1 title.
- Run `keyflow push <file> --dry-run` first and fix any local validation errors.
- Only run `keyflow push <file>` after the human has approved creating a private draft in KeyFlow.
- Treat the upload as draft-only. Do not claim the post is published.
- Report the resulting Draft ID and URL if the CLI prints them.

Start from your terminal today.

macOS, Linux, or WSL2 required. Node v18+ dependency.

KeyFlow LogoKEYLOW

Editorial Studio for modern writers.

Product

  • Home
  • About
  • ✨Become a Writer

Community

  • CLI GitHub
  • Desktop GitHub

Legal

  • Privacy Policy
  • Terms of Service

© 2026 KeyFlow. All rights reserved.