Skip to content
CodeSpider
GitHub

CodeSpider Documentation

CodeSpider is an Apache-2.0, self-hosted pull request reviewer written in Go. It checks the diff and surrounding files, then posts findings, a review summary, and a status in your forge. The daemon runs on your infrastructure; a hosted model endpoint can still receive repository context.

  • Install for Gitea: the flow recorded end to end in a local environment. Upstream lists compatible Forgejo through the Gitea provider; this site has no separate Forgejo validation.
  • Install for GitHub: static token or GitHub App. The provider was fixture-tested, not live-validated on GitHub.com or GitHub Enterprise Server.
  • Choose a deployment method: Docker Compose, rootless Podman, or a Go binary. Start with one test repository and verify the signed webhook before opening your pilot PR.

The recorded v1.1.0 Gitea walkthrough shows a Go timeout bug, a fix and a follow-up review. It also calls out what the bot got wrong. These recordings are not a production accuracy benchmark.

Earlier Gitea run showing CodeSpider's inline comment on the discarded cancel function in report.go

The install guide targets the v1.1.0 tag. Earlier documentation and archived captures reference upstream commit fed7f5c. See the changelog for the release and changes that only exist on main.