Skip to content

chris-tse/ghost-export-to-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghost-export-to-markdown

A simple CLI to export Ghost posts to Markdown using the Ghost Content API.

Installation

Run from NPM:

# Can alternatively use GHOST_URL and GHOST_API_KEY env vars
# Default export location is `ghost-export`
npx ghost-export-to-markdown --url=your.ghost.url --api-key=Your1Ghost2Api3Key --dir=path/to/export/dir

Build from source:

git clone https://github.com/chris-tse/ghost-export-to-markdown
go build -o bin/cli ./cli/main.go

Development

Requirements:

  • Go 1.24
go run ./cli/main.go

About

Simple CLI written in Go to export Ghost posts as markdown

Resources

Stars

Watchers

Forks

Packages

No packages published