blodemd
v0.0.13
Published
Blode.md CLI
Readme
- One-command deploy: Push your entire docs folder to Blode.md with
blodemd push. - Scaffold in seconds: Generate a ready-to-edit docs folder with
blodemd new. - Config validation: Catch
docs.jsonerrors before deploying. - Zero keys: Sign in once with GitHub in your browser — the CLI handles the rest.
Install
npm install -g blodemdOr run without installing:
npx blodemdRequires Node.js 20.17+.
Quick Start
# Sign in with GitHub (opens your browser)
blodemd login
# Create a new docs site
blodemd new
# Preview locally
blodemd dev
# Deploy
blodemd pushCommands
blodemd new [directory] Create a new blode.md documentation site
blodemd login Sign in with GitHub in your browser
blodemd logout Remove stored credentials
blodemd whoami Show current authentication
blodemd validate [dir] Validate docs.json
blodemd push [dir] Deploy docs
blodemd dev [dir] Start the local docs preview serverpush Options
--project <slug> Project slug (env: BLODEMD_PROJECT)
--api-url <url> API URL (env: BLODEMD_API_URL)
--branch <name> Git branch (env: BLODEMD_BRANCH)
--message <msg> Deploy message (env: BLODEMD_COMMIT_MESSAGE)The CLI reads the project slug from the slug field in docs.json when --project is not set.
dev Options
--dir <dir> Docs directory
--port <port> Local preview port (default: 3030)
--no-open Don't open the browser automaticallyAuto-deploy without the CLI
Install the Blode.md GitHub App from your project's Git tab in the dashboard. Pushes to your configured branch deploy automatically — no CLI, no tokens, no workflows.
Configuration
The CLI looks for a docs.json file in the docs directory. Minimal example:
{
"$schema": "https://blode.md/docs.json",
"slug": "my-project",
"name": "My Project"
}The CLI searches for docs.json in the current directory, then docs/, then apps/docs/.
License
This repository is licensed under MIT. Generated docs folders do not include a license file by default.
