From 96e04c03e4a476d90776b5f834f0e72f3fb3326b Mon Sep 17 00:00:00 2001 From: Angus Chiu Date: Fri, 16 Oct 2026 12:39:31 +0100 Subject: [PATCH] docs: make HTTPS with a Gitea token the primary install route Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Mkpcphc9ZEjNpw867crpNF --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index deb5cb3..bb6a52b 100644 --- a/README.md +++ b/README.md @@ -11,24 +11,30 @@ Adds two MCP servers and one skill: ## Install -Gitea's SSH listens on port 2222, and Claude Code's marketplace parser does not accept `ssh://` URLs, so set the port in `~/.ssh/config` once: +You need read access to this repository, membership of **both** Authentik groups (`kb-users` and `kb-writers`), and a Gitea access token. No SSH key is required. + +**1. Create a token** in Gitea: avatar → *Settings* → *Applications* → *Generate New Token*. Name it `claude-plugin` and grant repository **read** only. Copy it now; Gitea shows it once. + +**2. Let git remember it (once).** Claude Code runs git without prompting, so the token must already be stored. Make sure a credential helper is configured (macOS: `git config --global credential.helper osxkeychain`; Windows: Git Credential Manager is the default; Linux: `libsecret` or `store`), then run: ``` -Host git.soloma.ai - Port 2222 - IdentityFile ~/.ssh/ +git ls-remote https://git.soloma.ai/soloma-core/soloma-kb-plugin.git ``` -Then, in Claude Code: +Enter your Gitea username and paste the token as the password. A list of refs means it worked and is now saved. + +**3. Add the plugin**, in Claude Code: ``` -/plugin marketplace add git@git.soloma.ai:soloma-core/soloma-kb-plugin.git +/plugin marketplace add https://git.soloma.ai/soloma-core/soloma-kb-plugin.git /plugin install soloma-kb-plugin@soloma-internal ``` -You need read access to this repository and membership of **both** Authentik groups (`kb-users` and `kb-writers`). +Restart Claude Code, then see *First sign-in* below. -(Alternative without SSH config: add `https://git.soloma.ai/soloma-core/soloma-kb-plugin.git` instead; git will need a Gitea username and access token from its credential helper.) +*If you already use SSH keys with Gitea:* set `Port 2222` under `Host git.soloma.ai` in `~/.ssh/config` and use `git@git.soloma.ai:soloma-core/soloma-kb-plugin.git` instead. Claude Code does not accept `ssh://` URLs. + +**Token expired or revoked?** Marketplace updates fail with an authentication error. Create a new token and repeat step 2. ## First sign-in