codeberg

n8n community node for Codeberg (Forgejo/Gitea) API integration

Package Information

Released: 8 mo ago
Downloads: 13 weekly / 60 monthly
Latest Version: 0.1.2
Author: Hans Doebel

Documentation


n8n-nodes-codeberg

NPM Version GitHub License NPM Downloads NPM Last Update Static Badge

Installation | Credentials | API Coverage | Resources | Development


An n8n community node that integrates with the Codeberg API. Manage repositories, issues, pull requests, organizations, and more on Codeberg — a free, open-source Git hosting platform powered by Forgejo.

API Coverage

The table below shows which resources are currently implemented:

View all resources
Resource Status Operations
Repository ✅ Full Create, Delete, Fork, Get, List, Search, Update
Issue ✅ Full Create, Delete, Get, List, Search, Update
Pull Request ✅ Full Create, Get, List, Merge, Update
Organization ✅ Full Create, Delete, Get, List, List Members, Update
User ✅ Full Get, Get by Username, Search
Comment ✅ Full Create, Delete, Get, List, Update
Label ✅ Full Create, Delete, Get, List, Update
Milestone ✅ Full Create, Delete, Get, List, Update
Release ✅ Full Create, Delete, Get, List, Update
Branch ✅ Full Create, Delete, Get, List
File ✅ Full Create, Delete, Get, List, Update

Installation

  1. Make a new workflow or open an existing one
  2. Open the nodes panel by selecting + or pressing Tab
  3. Search for Codeberg
  4. Select Install to install the node for your instance

For more details, see the community nodes installation guide.

Credentials

This package supports two authentication methods:

API Token

  1. Go to your Codeberg account Settings > Applications
  2. Generate a new personal access token
  3. In n8n, go to Credentials > Add credential
  4. Search for Codeberg API and paste your token

OAuth2

  1. Go to your Codeberg account Settings > Applications
  2. Register a new OAuth2 application
  3. In n8n, go to Credentials > Add credential
  4. Search for Codeberg OAuth2 API and enter your client ID and secret

Resources

Repository
Operation Description
Create Create a repository
Delete Delete a repository
Fork Fork a repository
Get Get a repository
List List repositories
Search Search repositories
Update Update a repository
Issue
Operation Description
Create Create an issue
Delete Delete an issue
Get Get an issue
List List issues
Search Search issues
Update Update an issue
Pull Request
Operation Description
Create Create a pull request
Get Get a pull request
List List pull requests
Merge Merge a pull request
Update Update a pull request
Organization
Operation Description
Create Create an organization
Delete Delete an organization
Get Get an organization
List List organizations
List Members List organization members
Update Update an organization
User
Operation Description
Get Get authenticated user
Get by Username Get a user by username
Search Search users
Comment
Operation Description
Create Create a comment on an issue
Delete Delete a comment
Get Get a comment
List List comments on an issue
Update Update a comment
Label
Operation Description
Create Create a label
Delete Delete a label
Get Get a label
List List labels
Update Update a label
Milestone
Operation Description
Create Create a milestone
Delete Delete a milestone
Get Get a milestone
List List milestones
Update Update a milestone
Release
Operation Description
Create Create a release
Delete Delete a release
Get Get a release
List List releases
Update Update a release
Branch
Operation Description
Create Create a branch
Delete Delete a branch
Get Get a branch
List List branches
File
Operation Description
Create Create a file in a repository
Delete Delete a file from a repository
Get Get a file from a repository
List List files in a directory
Update Update a file in a repository

Development

git clone https://github.com/hansdoebel/n8n-nodes-codeberg.git
cd n8n-nodes-codeberg
npm install
npm run build
npm run lint

License

MIT

GitHub | Issues | Codeberg API Docs

Discussion