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

v0.1.0

Published

n8n community node for Diffy - AI Code Review Tool

Readme

n8n-nodes-diffy

This is an n8n community node that lets you use Diffy - an AI-powered code review tool - in your n8n workflows.

Diffy provides intelligent code reviews for GitLab and GitHub, analyzing pull requests and merge requests for bugs, security issues, performance problems, and code quality.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

npm install n8n-nodes-diffy

Or install via the n8n UI: Settings → Community Nodes → Install → Enter n8n-nodes-diffy

Operations

This node supports the following resources and operations:

Review

  • Trigger Review - Start a new code review on a merge request or pull request
  • Get Review - Get review details and comments by ID
  • List Reviews - List reviews with optional filters
  • Cancel Review - Cancel an in-progress review
  • Generate Summary - Generate an AI-powered summary for an MR/PR

Repository

  • Create - Connect a new repository to Diffy
  • Get - Get repository details
  • List - List all connected repositories
  • Update - Update repository settings
  • Delete - Disconnect a repository
  • List Merge Requests - List MRs/PRs for a repository
  • Search GitLab Projects - Search GitLab projects you have access to
  • Search GitHub Projects - Search GitHub repositories you have access to

Context

  • Get Stats - Get context/embedding statistics for a repository
  • Sync - Sync codebase context and embeddings
  • Clear - Clear all context for a repository
  • Cancel Sync - Cancel an ongoing sync operation

Knowledge Graph

  • Index Files - Index specific files in the knowledge graph
  • Index Repository - Index the entire repository
  • Search Symbols - Search for code symbols (functions, classes, etc.)
  • Analyze Impact - Analyze the impact of file changes
  • Ask Question - Ask questions about the codebase
  • Get Graph - Get the knowledge graph for a repository

Metrics

  • Get Overview - Get overall metrics summary
  • Get Trends - Get review trends over time
  • Get Categories - Get issue breakdown by category
  • Get Top Files - Get files with the most issues
  • Get File Types - Get issues broken down by file type
  • Get Hourly Distribution - Get review distribution by hour

Rules

  • List Global Rules - List global review rules
  • Create Global Rule - Create a new global rule
  • Update Global Rule - Update an existing global rule
  • Delete Global Rule - Delete a global rule
  • List Repo Rules - List repository-specific rules
  • Create Repo Rule - Create a repository-specific rule

Agent

  • List Agents - List available review agents
  • Get Agent - Get agent details
  • Get Agent Prompt - Get the system prompt for an agent

Pattern

  • List Patterns - List learned code patterns
  • Create Pattern - Create a new pattern
  • Get Pattern - Get pattern details
  • Update Pattern - Update a pattern
  • Delete Pattern - Delete a pattern
  • Get Stats - Get pattern statistics
  • Analyze Code - Analyze code for matching patterns

Admin

  • Health Check - Check API health status
  • List Models - List available LLM models
  • Get Providers - Get provider information

Credentials

To use this node, you need to configure the following credentials:

  1. Base URL - The Diffy API base URL (default: https://app.diffy.site)
  2. API Token - Your Diffy API token from Settings → API Tokens
  3. Environment - Optional label for organization (Production/Staging/Development)

Example Workflows

Automatic Code Review on GitLab Webhook

  1. Add a GitLab Trigger node to receive MR events
  2. Add a Diffy node with operation "Trigger Review"
  3. Map the MR IID and repository from the webhook payload
  4. Optionally add a Slack node to notify your team

Scheduled Metrics Report

  1. Add a Schedule Trigger node (e.g., weekly)
  2. Add a Diffy node with operation "Get Overview"
  3. Add a Diffy node with operation "Get Trends"
  4. Add an Email or Slack node to send the report

Impact Analysis Before Merge

  1. Trigger on MR update via GitLab Trigger
  2. Use Diffy "Analyze Impact" to assess changes
  3. Based on impact score, add labels or request additional reviews

Resources

License

MIT License

Support