mirror of
https://github.com/d0zingcat/obsidian-send-to-ghost.git
synced 2026-05-13 23:16:49 +00:00
d4cf477b23188ba08293c451f04d9446a971d4b9
Send to Ghost
A maintained fork of Jay Nguyen's obsidian-ghost-publish. It allows you to send Obsidian notes to the Ghost blogging platform, either as published or draft posts.
Usage
- In Ghost, create a new Custom Integration following this guide. You will need the Admin API Key and the API URL later.
- Install and enable the plugin
- In the plugin settings, fill in the API URL and Admin API Key from the Custom Integration you created earlier.
- You can now publish documents by clicking the little ghost in the sidebar, or by using the command pallete.
Front Matter format
Send to Ghost uses front matter to set Ghost-specific settings such as the title, tags, and the featured image. You can add front matter by enclosing it in --- at the beginning of a note.
The following options are supported:
---
title: String (default: filename)
tags: (default: none)
- tag1
- tag2
featured: Boolean (default: false)
published: Boolean (default: false)
excerpt: String (default: blank)
feature_image: String (default: blank)
---
Development
This plugin uses PNPM for dependency management.
- Clone the repository.
- Run
pnpm ito install the necessary dependencies - Run
pnpm devto automaticlly recompile as the project files change.
Manual installation
- Run
pnpm build - Copy
main.jsandmanifest.jsontoVaultFolder/.obsidian/plugins/send-to-ghost/whereVaultfolderis the location of your Obsidian vault.
Issues & Support
If you find a bug, please submit an issue. Otherwise, please contact me via my website.
Languages
TypeScript
74.8%
JavaScript
25.2%