ghost-md-publisher · Markdown publisher for Ghost
Open sourcePublishingFrom Markdown to Ghost in one command
Write in Markdown, in your own editor and under version control if you like, and publish without opening a browser. It uploads and optimises the images and creates the post as a draft through Ghost's Admin API.
From a Markdown file to a Ghost draft, images and all
ghost-publish article.md
▶ Reading: article.md
· title: How to publish to Ghost from Markdown
· status: draft · tags: Example, Tutorials
▶ Local images detected: 2
▶ Processing and uploading images…
· encabezado.jpg → …/images/2026/10/encabezado.7f54532cc4.jpeg
· interior_1.jpg → …/images/2026/10/interior_1.21a17b0612.jpeg
▶ Rendering Markdown to HTML…
▶ Creating/updating post (status=draft)…
✓ Done.
· URL: https://example.com/p/f97b38b7-268c-414d-b864-8c252debf535/
It stays a draft; images come optimised with EXIF stripped
Who it is for
- Ghost writers and editors
- Newsrooms that write in Markdown
- Xpresiva sites
- Developers
What it does
Images ready to go
Resizes them and converts them to WebP with sharp before upload, with a cache.
Native cards
Video, bookmark, callout, image caption and product card.
No duplicates
If the slug already exists, it stops and only updates the post when you ask.
Dry run
Shows what it would send to Ghost without sending anything.
7
languages
5
native card types
Standard
- Drafts by default
- Ghost limits checked before sending
- Open source (MIT)
Pricing
Free · open source
Licence: MIT