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

n8n-nodes-graphx-pdf

v0.1.0

Published

n8n community node for a managed GraphX Gotenberg PDF service

Readme

n8n-nodes-graphx-pdf

GraphX PDF is an n8n community node for a separately deployed Gotenberg service. The node does not contain, install, or launch Gotenberg. It sends conversion requests to the configured service over HTTPS and returns the generated document as n8n binary data.

Installation

Install n8n-nodes-graphx-pdf from Settings > Community Nodes in a self-hosted n8n instance, or install it in the n8n user directory:

npm install n8n-nodes-graphx-pdf

Credentials

Create a GraphX PDF API credential with:

  • Base URL: the HTTPS origin of the separately hosted GraphX PDF service, without a route path. A trailing slash is accepted and removed internally.
  • Access Client ID: the client ID from a Cloudflare Access service token.
  • Access Client Secret: the matching Cloudflare Access service token secret.

The credential sends CF-Access-Client-Id and CF-Access-Client-Secret headers. Its connection test calls GET /health. Keep the service token in n8n credentials; do not place it in workflow JSON or expressions.

Convert HTML to PDF

  1. Add a GraphX PDF node.
  2. Select PDF > Convert HTML to PDF.
  3. Choose JSON String or Binary File as the HTML source.
  4. For JSON input, place the HTML string in ticket_html or change HTML Property.
  5. For binary input, select the n8n binary property containing the HTML file.
  6. Set the output binary property and filename, then execute the node.

Example input:

{
  "ticket_html": "<!doctype html><html><body><h1>Example</h1></body></html>",
  "recordId": "example-001"
}

The node preserves the original JSON, uploads the HTML to Gotenberg as index.html, and writes the returned PDF to the configured binary property. The binary metadata includes the normalized .pdf filename, application/pdf MIME type, and pdf extension. Each incoming n8n item produces a separate output item.

Service Requirements

  • Deploy Gotenberg separately from this npm package.
  • Expose the Gotenberg health and conversion routes through HTTPS.
  • Protect the service with a Cloudflare Access service credential.
  • Permit GET /health and POST /forms/chromium/convert/html for the service token.

Current Scope

Version 0.1.0 implements HTML-to-PDF conversion. The planned full Gotenberg route expansion is tracked in docs/FULL-SERVICE-ROADMAP.md.

License

MIT