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 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-forgejo

v0.2.0

Published

n8n node for Forgejo API integration

Readme

n8n-nodes-forgejo

This is an n8n community node that lets you use Forgejo in your n8n workflows.

Forgejo is a self-hosted lightweight software forge. It is a fork of Gitea and provides Git repository hosting, issue tracking, pull requests, wikis, and more.

n8n is a fair-code licensed workflow automation platform.

Installation Operations Credentials Compatibility Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

For npm:

npm install n8n-nodes-forgejo

For Docker:

docker run -it --rm \
  --name n8n \
  -p 5678:5678 \
  -e N8N_CUSTOM_EXTENSIONS="/home/node/.n8n/nodes" \
  -v ~/.n8n:/home/node/.n8n \
  n8nio/n8n \
  npm install n8n-nodes-forgejo

Operations

This node supports comprehensive Forgejo API operations across 10 resources:

Repository

  • Create, Get, Update, Delete, List, Search
  • Get Contents, Create File, Update File, Delete File

Issue

  • Create, Get, Update, Delete, List, Search
  • Add Comment, List Comments, Edit Labels
  • Close, Reopen

Pull Request

  • Create, Get, Update, Delete, List
  • Merge, Close, Reopen
  • List Commits, List Files

User

  • Get, Get Authenticated User, List, Search
  • Get Repositories, Get Organizations

Organization

  • Create, Get, Update, Delete, List
  • List Members, List Repositories, List Teams

Release

  • Create, Get, Update, Delete, List
  • List Assets, Upload Asset

Webhook

  • Create, Get, Update, Delete, List, Test

Branch

  • Create, Get, Delete, List
  • Get Protection, Update Protection

Tag

  • Create, Get, Delete, List

Commit

  • Get, List
  • Get Status, Create Status, List Statuses

Credentials

To use this node, you need to set up Forgejo API credentials in n8n:

  1. Forgejo Server URL: The URL of your Forgejo instance (e.g., https://code.squarecows.com)
  2. Access Token: Generate an API token from your Forgejo settings:
    • Go to Settings → Applications
    • Click "Generate New Token"
    • Give it a descriptive name and select appropriate scopes
    • Copy the generated token

Compatibility

  • Tested with Forgejo v1.19+
  • Compatible with n8n v1.0.0+
  • Works with self-hosted Forgejo instances
  • Also compatible with Gitea API (as Forgejo is a Gitea fork)

Resources

Development

If you want to contribute or modify this node:

# Clone the repository
git clone https://code.squarecows.com/ric/n8n-nodes-forgejo.git
cd n8n-nodes-forgejo

# Install dependencies
npm install

# Build the node
npm run build

# Run linting
npm run lint

# Format code
npm run format

License

MIT

Support

For bugs or feature requests, please open an issue on the Forgejo repository.