Skip to content

Releases: CrashBytes/codesentri

v1.0.0 — CodeSentri Launch

08 Mar 17:15

Choose a tag to compare

CodeSentri v1.0.0

AI-powered code review bot for GitHub, powered by Claude.

Features

  • Automatic PR reviews — installs as a GitHub App, reviews every pull request
  • Security vulnerability detection — SQL injection, XSS, authentication issues, OWASP Top 10
  • Bug detection — off-by-one errors, null pointer risks, race conditions, missing awaits
  • Performance analysis — N+1 queries, resource leaks, algorithmic complexity
  • One-click fixes — code suggestions using GitHub's suggestion syntax
  • Severity classification — Critical, Warning, Suggestion, Nitpick
  • Auto-approval — approves PRs when no issues are found
  • Bot PR detection — automatically skips Dependabot, Renovate, and other bots
  • Plan-based tiering — Free (5/mo, Haiku), Pro ($19, 100/mo, Sonnet), Team ($49, 500/mo)
  • GitHub Marketplace integration — install and manage billing through GitHub
  • Cloudflare Worker deployment — edge-deployed for low latency globally
  • Self-hosting support — full Express.js server for on-premise deployment

Install

GitHub App: github.com/apps/codesentri

Self-hosted:

git clone https://github.com/crashbytes/codesentri.git
cd codesentri && npm install
cp .env.example .env  # fill in credentials
npm run db:migrate && npm run dev

Test Coverage

Metric Coverage
Statements 88.9%
Branches 89.7%
Functions 76.4%
Lines 88.9%

160 tests across 22 test files covering:

  • AI review engine (reviewer, parser, prompts)
  • GitHub integration (handlers, webhooks, comments)
  • Billing (Stripe, usage limits, Marketplace)
  • Dashboard REST API (installations, reviews, checkout)
  • Database queries (CRUD, upserts, usage tracking)
  • Cloudflare Worker (webhook routing, review flow, plan config)

Tech Stack

  • TypeScript + Express.js (server) / Cloudflare Workers (edge)
  • Anthropic Claude SDK (AI review engine)
  • Octokit (GitHub API)
  • PostgreSQL / D1 (database)
  • Stripe (billing)
  • Vitest (testing)

License

MIT