About GitMesh
GitMesh is the first-party source hosting product for the 0Trust stack — a GitHub-style home for mesh-native code collaboration.
Stack
- go-git — real bare Git repositories (objects, refs, pack protocol)
- ultimate_db — B-Tree KV for repo metadata, issues, PRs, stars
- guikit — GML templates, CSP noncing, Live components
- product_security — DBSC device-bound sessions + secure headers
- 0Trust OIDC — passkey identity via the mesh IdP
Features
- Bare repos on disk — same object model as git / libgit2
- Smart HTTP clone / fetch / push (git-upload-pack / git-receive-pack)
- Web-based file create / edit with real git commits
- Branches, issues, comments, and go-git merge for pull requests
- Stars, profiles, explore, and JSON API
Git remote
git clone https://gitmesh.0trust.cloud/{owner}/{name}.git
Also: /git/{owner}/{name}.git (same smart HTTP)
API
GET /api/health
GET /api/repos?q=query
POST /api/repos {\"name\",\"description\",\"private\"}
GET /api/repos/{owner}/{name}/tree?ref=main&path=
POST /api/files {\"owner\",\"repo\",\"branch\",\"path\",\"content\",\"message\"}