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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ghost-formbuilder

v1.0.1

Published

Ghost CMS drag-drop form builder plugin

Readme

Ghost FormBuilder Premium

A premium, non-destructive, zero-configuration drag-and-drop form builder companion plugin for Ghost CMS that injects a gorgeous admin workspace dashboard and dynamic database log grid directly into your Ghost Admin console.


Features

  • Zero-Touch Configuration: Automatically plugs into your existing Ghost database (SQLite/MySQL) using Ghost's live connection. Zero configuration or manual table additions needed!
  • React-Admin Native UI: Hooks cleanly into Ghost's new React-based admin navigation sidebar via an elegant, non-destructive MutationObserver injector.
  • Three-Screen Dashboard: Manage form blueprints, copy HTML embedding snippets, delete forms, and explore live, interactive response log payloads inside a frosted-glass overlay.
  • High-Performance Drag-and-Drop: Build sleek forms dynamically with text fields, phone numbers, email controls, checkboxes, dropdowns, and textareas.
  • Magic Auto-DOM Fusion: Place a Ghost Image Card, Text Card, or Callout immediately above your Form in the Ghost editor, and the plugin will seamlessly fuse them together into a side-by-side flex layout. Zero HTML coding required.
  • Unified Split Card Layouts: Choose "Split Card" in the Builder to generate professional "Hero Card" layouts. The engine automatically handles outer shadowing, corner rounding, and dynamic internal padding to ensure images kiss the edges perfectly while text is given breathing room.
  • Advanced Custom CSS Engine: Built-in CodeMirror IDE with dark-mode syntax highlighting allows power users to inject custom CSS per form.
  • Smart CSS Starter Generator: Instantly generate a boilerplate CSS stylesheet that automatically isolates specific form field names, country code selectors, and action buttons for rapid theming.
  • Zero-FOUC Rendering Engine: The backend dynamically injects a layout matrix into the frontend script, ensuring your complex flex layouts are mapped and hidden instantly on page load to prevent layout snapping or Flash of Unstyled Content.
  • Responsive Embed Engine: Auto-renders beautiful, responsive form controls with sleek focus/hover interactions on your public-facing site, safely wrapping to columns on mobile devices.

Quick Start

1. Installation

Step into your Ghost installation root directory and run the standard install pointing to this package:

npm install "/path/to/ghost-formbuilder"

Our strict environment guard will validate your Ghost ecosystem, and automatically inject the scheduling hijack config "scheduling": { "active": "ghost-formbuilder" } into your configuration.

2. Restart Ghost

Apply the integration by restarting your Ghost instance:

ghost restart

3. Uninstall

If your local NPM blocks lifecycle scripts (e.g., allow-scripts warnings), run the teardown script manually before uninstalling to ensure your Ghost configuration is cleaned properly:

node "node_modules/ghost-formbuilder/scripts/uninstall.js"
npm uninstall ghost-formbuilder

(The teardown script automatically triggers a local ghost restart).

3. Open Forms Console

Navigate to your Ghost Admin panel (http://localhost:2368/ghost/). You will see a new Forms tab right above Settings. Clicking it will slide open the beautiful glassmorphic control center.


Embedding Forms on your Site

To display a form on any of your Ghost posts or pages:

  1. In the Forms Console, click Copy Code on your desired form to copy its custom embed handle (e.g. <div data-form-id="abcdef123"></div>).
  2. Add a new HTML block in the Ghost Editor where you want the form to appear.
  3. Paste the code block and save the post.
  4. Add the frontend rendering script ui/embed.js to your Ghost site. The easiest way is to add this single line inside your Ghost Code Injection (Footer):
    <script src="/form-builder/ui/embed.js" defer></script>

Now, your form will render beautifully on the live site, and all submissions will be logged instantly in your Admin Console!