npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@vladoportos/n8n-nodes-ghostplus

v0.1.98

Published

Enhanced Ghost CMS node with V2 API support for n8n

Readme

N8N Ghost Plus Node

Enhanced Ghost CMS integration for n8n with support for Ghost Content API v3 and Admin API v2.

Features

This node extends the default Ghost CMS integration with additional features:

Content API (v3)

  • Get Post: Retrieve a single post by ID or slug
  • Get Many Posts: Retrieve multiple posts with filtering options

Admin API (v2)

  • Post Management:

    • Create: Create new blog posts with support for full post properties including excerpt
    • Get: Retrieve a single post by ID or slug
    • Get Many: Retrieve multiple posts with filtering options
    • Update: Update existing blog posts with all available fields including excerpt
    • Delete: Remove posts from your Ghost site
    • Feature Image Support:
      • feature_image: Set a featured image URL for your post
      • feature_image_alt: Add alternative text for the featured image
      • feature_image_caption: Add a caption for the featured image
  • Image Upload (NEW in 0.1.77):

    • Upload images directly to your Ghost CMS media library
    • Support for different image purposes (general image, profile image, icon)
    • Custom file name and reference metadata
  • Media Upload (NEW in 0.1.80):

    • Upload videos and audio files to your Ghost CMS media library
    • Support for thumbnail uploads for videos
    • Custom file name and reference metadata

Requirements

  • N8N version 1.0.0 or later
  • Ghost CMS instance with Content API or Admin API credentials

Installation

Install via NPM:

npm install @vladoportos/n8n-nodes-ghostplus

For manual installation, copy the contents of the dist directory to your n8n custom nodes directory.

Usage

Credentials

Two credential types are available:

  1. Ghost Plus Content API

    • URL: Your Ghost site URL (e.g., https://your-ghost-site.com)
    • API Key: Your Content API key
  2. Ghost Plus Admin API

    • URL: Your Ghost site URL (e.g., https://your-ghost-site.com)
    • API Key: Your Admin API key in the format {id}:{secret}

Working with Posts

Select the "Post" resource to work with blog posts. Operations differ based on the selected API source:

Content API

  • Get: Retrieve a post by ID or slug
  • Get Many: List multiple posts with filtering options

Admin API

  • Create: Create a new blog post with title, content format (HTML or MobileDoc), and content
  • Get: Retrieve a post by ID or slug
  • Get Many: List multiple posts with filtering options
  • Update: Modify an existing post
  • Delete: Remove a post

Image Upload (Admin API)

Select the "Image" resource and "Upload" operation to add images to your Ghost CMS. Required parameters:

  • Binary Property: Name of the binary property containing the image data
  • Additional Fields:
    • Purpose: Choose between "Image", "Profile Image" (must be square), or "Icon" (must be square)
    • File Name: Custom file name for the uploaded image (optional)
    • Reference: Optional reference identifier for the image (e.g., original file path)

Example Usage

Upload an Image and Use in a Post

  1. Use a node to fetch or generate an image (HTTP Request, Read Binary File, etc.)
  2. Connect to Ghost Plus node configured with:
    • Source: Admin API
    • Resource: Image
    • Operation: Upload
    • Binary Property: data (or your binary property name)
  3. Add another Ghost Plus node configured with:
    • Source: Admin API
    • Resource: Post
    • Operation: Create
    • Title: Your post title
    • Content: Include the uploaded image URL from the previous node in your HTML content

License

MIT

Changelog

0.1.82 (2025-02-27)

  • Fixed the excerpt field implementation to use custom_excerpt instead of excerpt
  • Ghost uses custom_excerpt as the editable field that can be set via API

0.1.81 (2025-02-27)

  • Added support for the excerpt field in Create Post and Update Post operations
  • This allows setting a custom excerpt for posts instead of using the auto-generated one

0.1.80 and earlier

  • Various features and improvements (see commit history)