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

v0.1.5

Published

Verified-ready n8n community node package for the MAX Bot API.

Readme

n8n-nodes-maxbridge

Verified-ready n8n community node package for the MAX Bot API.

Published package name: n8n-nodes-maxbridge. Node display names in n8n remain Max and Max Trigger. The Max action node exposes an AI tool variant named Max Tool; Max Trigger is intentionally not exposed as an AI tool.

Status

This repository is in phased development.

Current implementation:

  • Max action node with Message, Upload, and Raw API resources
  • Max Trigger with webhook subscription lifecycle and secret validation
  • Shared MAX credentials, transport, upload, and error helpers
  • Automatic attachment.not.ready retry/backoff for message operations that send attachments
  • Message send/get outputs expose messageId from the live MAX body.mid field for easier chaining in n8n

Remaining release work:

  • Publish the package to npm so it can be installed in n8n as a community node
  • Run the published package scanner after the first npm release

Installation

npm install n8n-nodes-maxbridge

For local development in this repository:

npm install
npm run lint
npm run typecheck
npm run test
npm run build
npm run scan

Credentials Setup

Create MAX API credentials in n8n and provide:

  • Access Token: bot token from the MAX bot panel
  • Use Custom Base URL: leave disabled unless you are targeting a non-default environment
  • Base URL: advanced override, default is https://platform-api.max.ru

Important constraints:

  • MAX authentication uses only the Authorization header
  • Tokens are never sent in query parameters
  • Trigger webhook secrets are configured on the Max Trigger node, not in shared credentials

Operations Matrix

Max

| Resource | Operations | |---|---| | Message | send, get, edit, delete, answerCallback | | Upload | getUploadUrl, uploadBinary, uploadAndReturnAttachment | | Raw API | arbitrary method, path, query, JSON body, optional full response |

Max Trigger

| Capability | Support | |---|---| | Register webhook on activate | Yes | | Unregister webhook on deactivate | Yes | | Validate X-Max-Bot-Api-Secret | Yes | | Filter update_types on registration | Yes | | Normalize incoming Update payload | Yes |

Example Workflows

Send Message

  • Add Max
  • Choose Resource = Message
  • Choose Operation = Send
  • Select Recipient Type = Chat or User
  • Provide the recipient ID and message text
  • Use {{$json.messageId}} from the node output when you want to chain Get, Edit, or Delete

Send Message with File

  • Add a node that produces binary data
  • Add Max
  • Choose Resource = Upload
  • Choose Operation = Upload and Return Attachment
  • Set Binary Property
  • Use the returned attachment object in a later message step or Raw API call
  • If MAX responds with attachment.not.ready during the later message send, use the message-level attachment retry fields in Additional Fields

MAX Trigger -> Branch by Update Type

  • Add Max Trigger
  • Configure Webhook Secret
  • Optionally narrow Update Types
  • Use an IF node on {{$json.updateType}}

Raw API Call

  • Add Max
  • Choose Resource = Raw API
  • Set HTTP Method, Path, Query, and Body
  • Enable Return Full Response when you need response metadata

Verified-Ready Constraints

This package is designed around the n8n verified community node requirements:

  • TypeScript only
  • No runtime dependencies
  • n8n HTTP helpers for API traffic
  • MIT license
  • GitHub Actions release workflow with npm provenance
  • Community node package metadata and local verification script

Local verification:

  • npm run scan validates repository metadata and packaging prerequisites in this workspace
  • npm run scan also verifies the compiled dist artifacts and release workflow provenance command
  • npm run scan:published is reserved for the official @n8n/scan-community-package check after the package exists on npm

Development Notes

The official npm create @n8n/node@latest bootstrap was unstable in this environment, so the project foundation was assembled manually to match n8n starter conventions. Local quality checks currently pass with:

npm run lint
npm run build
npm run test
npm run scan

Live smoke test status:

  • Validated GET /me against MAX with a real bot token
  • Switched the live webhook subscription to the production webhook URL
  • Verified live send -> get -> edit -> delete against a test chat

Known limits:

  • Callback answers have not been smoke-tested live because no real callback_id test fixture is available in this workspace