⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
docs: add Gitea integration setup guide
Tin408585aa32b4
diff --git a/apps/docs/core/integrations/gitea/setup.mdx b/apps/docs/core/integrations/gitea/setup.mdxnew file mode 100644index 000000000..09182a734--- /dev/null+++ b/apps/docs/core/integrations/gitea/setup.mdx@@ -0,0 +1,60 @@+---+title: Gitea Setup+description: Connect Kaneo to a Gitea instance (issues, pull requests, webhooks).+---++## Overview++The Gitea integration links a Kaneo project to a repository on your Gitea instance. Tasks sync with issues, and webhooks keep Kaneo updated when issues, pull requests, or pushes change.++You need:++- **Gitea base URL**: e.g. `https://git.example.com`.+- **Personal access token** with permission to read/write issues and repository contents for the target repo.+- **Repository owner and name**: same as in the Gitea UI.++## Personal access token++1. In Gitea, open **Settings → Applications → Generate New Token** (paths may vary slightly by version).+2. Enable scopes for **repository** and **issues** (write access where needed).+3. Copy the token and store it securely; paste it into Kaneo’s Gitea integration settings.++## Webhook in Gitea++Kaneo verifies incoming webhooks with a **HMAC SHA256** secret stored per integration.++### Where to create the webhook in Gitea++1. Log in to Gitea and **open the same repository** you linked in Kaneo (`owner/repo`).+2. Open the repository **Settings**.+3. In the **left sidebar**, open **Webhooks** (sometimes grouped under a “Repository” section).+ - If you do not see it, you need **admin** access to that repository (owner or collaborator with admin).+4. Click **Add Webhook** and choose **Gitea**.++**Direct URL pattern** (replace host, owner, and repo):++`https://<your-gitea-host>/<owner>/<repo>/settings/hooks`++Example: `https://git.example.com/acme/my-app/settings/hooks`++### Configure the webhook++1. Connect the repository in Kaneo **Project → Integrations → Gitea** and save.+2. Copy the **Webhook URL** and **Secret** shown in Kaneo (after saving).+3. In Gitea: **Add Webhook → Gitea**.+4. Set **Payload URL** to the Kaneo webhook URL.+5. Set **Secret** to the exact value from Kaneo.+6. Enable **Content type**: `application/json`.+7. Enable events:++ - **Push**+ - **Pull requests**+ - **Issues** (open, close, label, edit, etc.)+ - **Issue comments**+ - **Create** (used for label creation events on some Gitea versions)++8. Save and use **Test Delivery** to confirm a `200` response from Kaneo.++The webhook URL includes your integration id, for example:++`https://your-kaneo-host/api/gitea-integration/webhook/<integrationId>`diff --git a/apps/docs/docs.json b/apps/docs/docs.jsonindex 116386f78..590377c54 100644--- a/apps/docs/docs.json+++ b/apps/docs/docs.json@@ -79,6 +79,10 @@"core/integrations/github/troubleshooting"]},+ {+ "group": "Gitea Integration",+ "pages": ["core/integrations/gitea/setup"]+ },{"group": "Integrations","pages": [diff --git a/apps/docs/index.mdx b/apps/docs/index.mdxindex 9c82d3899..d18baf01c 100644--- a/apps/docs/index.mdx+++ b/apps/docs/index.mdx@@ -11,6 +11,7 @@ This docs site is built to get you from zero to a running instance fast, then he- [Quick Start](/core/index) for the fastest path to a running instance- [Installation Guide](/core/installation/index) to choose drim vs Docker Compose- [GitHub Integration Setup](/core/integrations/github/setup) for repo sync+- [Gitea Integration Setup](/core/integrations/gitea/setup) for self-hosted Gitea- [Outgoing webhooks](/core/integrations/outgoing-webhooks) for Slack, Discord, and custom HTTP notifications- [API Introduction](/api-reference/introduction) for authenticated API usage