Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

silverbulletmd/silverbullet-ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghost plug for Silver Bullet

IMPORTANT UPDATE: This plug is now deprecated in favor of this library: https://github.com/zefhemel/silverbullet-libraries/blob/main/Ghost.md

This allows you to publish your pages as Ghost pages or posts. I use it to publish Zef+.

Configuration

In your SETTINGS specify the following settings:

```yaml
ghost:
  myblog:
    url: https://your-ghost-blog.ghost.io
```

Then, create a Custom Integration (in your Ghost control panel under Settings > Advanced > Integrations > Add Custom Integration). Enter a name (whatever you want), then copy the full Admin API Key in your SECRETS file, mirroring the structure of SETTINGS:

```yaml
ghost:
  myblog: your:adminkey
```

Usage

The plugin hooks into Silver Bullet's Share infrastructure. Therefore to share a page as either a Ghost page or post, add a $share front matter key. For posts this should take the shape of:

---
$share:
- ghost:myblog:post:my-post-slug
---

And for pages:

---
$share:
- ghost:myblog:page:my-page-slug
---

Now, when you {[Share: Publish]} (Cmd-s/Ctrl-s) your post will automatically be created (as a draft) or updated if it already exists.

Enjoy!

Installation

Open your PLUGS note in SilverBullet and add this plug to the list, or simply use the Plugs: Add command:

- github:silverbulletmd/silverbullet-ghost/ghost.plug.js

Then run the Plugs: Update command and off you go!

About

Ghost plug for Silver Bullet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •