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

@froggy1014/n8n-nodes-gitea

v0.5.0

Published

Unofficial n8n community node for the Gitea API. Generated from the official Gitea swagger spec and kept in sync automatically. Not affiliated with Gitea Ltd.

Readme

n8n-nodes-gitea

Unofficial n8n community node for the Gitea API. Works with any Gitea instance (self-hosted or gitea.com). Not affiliated with Gitea Ltd.

Pinned Gitea API version: v1.27.1 — see scripts/spec/gitea-version.json.

How it stays up to date

The node definitions are generated from the official Gitea swagger spec, not written by hand:

scripts/spec/swagger.json   ← fetched from go-gitea/gitea (fetch-spec.mjs)
        │
        ▼  scripts/generate.mjs  (filtered by scripts/allowlist.json)
nodes/Gitea/descriptions/*.ts   — n8n UI fields per resource
nodes/Gitea/registry.ts         — method/path/param mapping per operation

A scheduled GitHub Action checks for new Gitea releases every Monday. When one appears it re-fetches the spec, regenerates everything, bumps the package version, and opens a PR with the diff for review. CI verifies that generated files always match the pinned spec.

To update manually:

npm run fetch-spec -- 1.28.0   # fetch new spec + move the pin
npm run build                  # regenerate + compile

Resources and operations

47 operations across 10 resources (allowlist of the 482 operations in the full spec):

| Resource | Operations | |----------|-----------| | Repository | Search, Get, Create, Delete, List Commits, List Tags | | Branch | List, Get, Create | | File | Get, Create, Update, Delete | | Issue | List, Get, Create, Update, Search, List/Create Comments, List/Add Labels | | Pull Request | List, Get, Create, Update, Merge | | Release | List, Get, Get Latest, Create, Update, Delete | | Webhook | List, Create, Delete | | User | Get Current, Get, Search, List Repos, List Own Repos | | Organization | List, Get, List Members, List Repos, Create Repo | | Instance | Get Version |

Need another endpoint? Add its operationId to scripts/allowlist.json and run npm run build — no hand-written node code required.

Gitea Trigger

The Gitea Trigger node starts workflows on repository events (push, issues, pull requests, releases — 24 event types). Unlike passive webhook triggers, it manages the webhook for you:

  • Activate → registers the webhook on the repository via the Gitea API
  • Deactivate → deletes it again
  • A random secret is set on registration and every delivery's X-Gitea-Signature (HMAC-SHA256) is verified — unauthorized calls get a 403

Just pick owner, repository, and events. Requires a token with repository webhook scope.

Mock Data

Every operation has a Mock Data toggle: turn it on to get a deterministic sample response generated from the operation's response schema in the spec — no credential or Gitea instance needed. Useful for sketching workflows before wiring the real thing. Mocks are regenerated together with the descriptions on every spec update.

Credentials

Create a Gitea API credential in n8n:

  • Base URL — root of your instance, e.g. https://gitea.example.com (no /api/v1)
  • Access Token — Gitea > Settings > Applications > Generate New Token (needs at least the read:user scope)

The credential test calls GET /api/v1/user, which actually validates the token — /version responds 200 even without authentication on most instances.

Installation

Community nodes panel: Settings > Community Nodes > Install@froggy1014/n8n-nodes-gitea.

Or in a custom Docker image:

RUN npm install -g @froggy1014/n8n-nodes-gitea

Development

npm install
npm run build   # generate + tsc + copy assets
npm run lint

Generated files (nodes/Gitea/descriptions/, nodes/Gitea/registry.ts) are committed so the package builds without network access, but must never be edited by hand — CI fails if they drift from the spec.

License

MIT