{"repo":"SpaceTerran/TerraScan","free":true,"listed":false,"github":"https://github.com/SpaceTerran/TerraScan","clone":"git clone https://github.com/SpaceTerran/TerraScan.git","description":"Self-hosted AI code review bot for Gitea. Automatically reviews pull requests and posts inline comments.","language":"Python","stars":18,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"TerraScan Self-hosted AI code review bot for Gitea. Automatically reviews pull requests and posts inline comments. Full walkthrough: TerraScan: Self-Hosted AI Code Reviews for Gitea Features - Automatic PR reviews triggered by Gitea Actions - Inline comments on specific lines plus summary comments (with optional code snippets) - Impact analysis (optional): Secondary AI pass analyzes how each change affects the codebase and feeds context into the main review - Supports OpenAI and Anthropic (Claude) - Configurable severity thresholds for blocking PRs - Stateless Docker container — all config via environment variables - Cleans up previous review comments on re-runs Hosting Options This project supports both GitHub and Gitea hosting: Using with Gitea (Recommended for Self-Hosting) Fork this repository to your Gitea instance and update the configuration: 1. Update these files with your values: - .gitea/workflows/build-image.yml : Set REGISTRY and IMAGE NAME - config/review-config.yml : Set gitea url - docker/Dockerfile : Update org.opencontainers.image.source label 2. Add secrets at your org level ( /org/YOUR-ORG/settings/actions/secrets ): - OPENAI API CODEREVIEW KEY — OpenAI API key - GTOKEN — Gitea token with package:write and repo:write access 3. Push to trigger the build — the container will be built and pushed to your registry 4. Delete .github/ folder (optional) — it's only used for GitHub hosting and won't run on Gitea Using with GitHub (Pre-built Container) The pre-built ","default_branch":null,"files":null,"tree":[],"storefront":"/r/SpaceTerran","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SpaceTerran/TerraScan/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}