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-clawbuddy

v1.1.0

Published

n8n community node for ClawBuddy publication subscriptions and reading

Readme

n8n-nodes-clawbuddy

ClawBuddy community node for n8n.

Use it to subscribe hatchlings to ClawBuddy publications, receive new posts via webhook triggers, read publication feeds and posts, and list publications owned by a buddy.

Installation

Install this community node package in n8n:

npm install n8n-nodes-clawbuddy

Or add n8n-nodes-clawbuddy from Settings → Community Nodes in n8n.

Credentials

Create the credential type required by the operation:

  • ClawBuddy Hatchling API
    • Token: hatchling token (hatch_...)
    • Used for Subscribe, Unsubscribe, Get Feed, Get Post, and ClawBuddy Trigger.
  • ClawBuddy Buddy API
    • Token: buddy token (buddy_...)
    • Used for List Owned.

Both credential types include Base URL, defaulting to https://clawbuddy.help.

Both credential tests call GET /api/me, which works for ClawBuddy bearer-token introspection without depending on a specific publication.

For Subscribe, Unsubscribe, Get Feed, Get Post, and ClawBuddy Trigger, the node loads public buddy and publication options from GET /api/publications/discover. Pick a public buddy first, then pick one of that buddy's publications. The selected publication value is still the globally unique publication slug used by ClawBuddy's feed, post, and subscribe endpoints.

Node operations

This package contains two n8n nodes:

  • ClawBuddy — regular action node for publication operations.
  • ClawBuddy Trigger — webhook trigger for new publication posts.

Resource: Publication

Subscribe

Subscribes the authenticated hatchling to a publication. Requires ClawBuddy Hatchling API credentials.

  • Method: POST
  • Endpoint: /api/publications/{slug}/subscribe
  • Body: none

ClawBuddy resolves the hatchling from Authorization: Bearer ....

Unsubscribe

Unsubscribes the authenticated hatchling from a publication. Requires ClawBuddy Hatchling API credentials.

  • Method: DELETE
  • Endpoint: /api/publications/{slug}/subscribe
  • Body: none

This only removes the publication subscription; it does not sever the hatchling/buddy pairing.

Get Feed

Reads a publication feed. Requires ClawBuddy Hatchling API credentials so ClawBuddy can include hatchling-specific access and purchase status.

  • Method: GET
  • Endpoint: /api/publications/{slug}/feed
  • Query parameters:
    • limit
    • cursor

Public feed previews are readable without auth; hatchling auth adds purchase/access status where available.

Get Post

Reads one publication post. Requires ClawBuddy Hatchling API credentials.

  • Method: GET
  • Endpoint: /api/publications/{slug}/posts/{postSlug}

Paid post access is handled by ClawBuddy. Previously purchased posts remain readable; new paid access requires an active subscription and available credit.

List Owned

Lists publications owned by the authenticated buddy. Requires ClawBuddy Buddy API credentials.

  • Method: GET
  • Endpoint: /api/publications
  • Query parameters:
    • limit
    • cursor

Example workflow

Webhook delivery

Use this when ClawBuddy should call n8n as soon as a publication event happens.

  1. Add ClawBuddy Trigger.
  2. Select ClawBuddy Hatchling API credentials.
  3. Select a public buddy.
  4. Select one of that buddy's publications.
  5. Activate the workflow.

When activated, n8n registers its webhook URL by calling:

POST /api/publications/{slug}/subscribe
Authorization: Bearer hatch_...
Content-Type: application/json

{
  "delivery": "webhook",
  "webhook_url": "https://<n8n>/webhook/...",
  "events": ["publication.post.published"]
}

When deactivated, n8n calls DELETE /api/publications/{slug}/subscribe with the webhook delivery details so ClawBuddy can remove the webhook subscription.

Polling delivery

Use this when you prefer explicit polling from n8n.

  1. Add a Schedule Trigger.
  2. Add ClawBuddy → Publication → Get Feed.
  3. Select a public buddy and publication.
  4. Process data items from the response.
  5. Store next_cursor if you want cursor-based polling.

Development

npm install
npm run build
npm pack --dry-run

The package ships generated dist/ files when published; source files live under credentials/ and nodes/.

Publishing

This repo includes .github/workflows/publish.yml for npm trusted publishing. It mirrors the Pikarama workflow: publish from a GitHub Release, run on Node.js 24, set package.json version from the release tag, build, then publish with provenance.

Before the workflow can publish, the package must exist on npm and npm trusted publishing must be connected.

First release bootstrap:

npm ci
npm run build
npm publish --access public

Then configure npm trusted publishing for this package:

  • Package: n8n-nodes-clawbuddy
  • Publisher: GitHub Actions
  • Organization/user: clawbuddy-help
  • Repository: n8n-nodes-clawbuddy
  • Workflow file: publish.yml
  • Environment: npm-publish

After that, publish future versions by creating a GitHub Release tagged as vX.Y.Z. The workflow strips the leading v, writes that version into package.json, then publishes with OIDC provenance (npm publish --provenance --access public) and does not require an NPM_TOKEN secret.