n8n-nodes-codeberg
v0.1.2
Published
n8n community node for Codeberg (Forgejo/Gitea) API integration
Readme
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:
| 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
- Make a new workflow or open an existing one
- Open the nodes panel by selecting + or pressing Tab
- Search for Codeberg
- 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
- Go to your Codeberg account Settings > Applications
- Generate a new personal access token
- In n8n, go to Credentials > Add credential
- Search for Codeberg API and paste your token
OAuth2
- Go to your Codeberg account Settings > Applications
- Register a new OAuth2 application
- In n8n, go to Credentials > Add credential
- Search for Codeberg OAuth2 API and enter your client ID and secret
Resources
| 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 |
| Operation | Description | | --------- | ------------------ | | Create | Create an issue | | Delete | Delete an issue | | Get | Get an issue | | List | List issues | | Search | Search issues | | Update | Update an issue |
| 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 |
| 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 |
| Operation | Description | | -------------- | ------------------------ | | Get | Get authenticated user | | Get by Username| Get a user by username | | Search | Search users |
| 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 |
| Operation | Description | | --------- | ---------------- | | Create | Create a label | | Delete | Delete a label | | Get | Get a label | | List | List labels | | Update | Update a label |
| Operation | Description | | --------- | -------------------- | | Create | Create a milestone | | Delete | Delete a milestone | | Get | Get a milestone | | List | List milestones | | Update | Update a milestone |
| Operation | Description | | --------- | ------------------ | | Create | Create a release | | Delete | Delete a release | | Get | Get a release | | List | List releases | | Update | Update a release |
| Operation | Description | | --------- | ----------------- | | Create | Create a branch | | Delete | Delete a branch | | Get | Get a branch | | List | List branches |
| 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