CLI tool that reviews code for bugs and quality issues using the DeepSeek AI API.
- Analyzes source files or code snippets via the DeepSeek chat model, reporting issues by severity (Critical/High/Medium/Low)
- Supports focused reviews on security, performance, readability, or maintainability
- Handles large files by chunking with parallel processing, retries, and exponential backoff
- Runtime: Node.js >= 18 (ESM)
- AI Backend: DeepSeek API (
deepseek-chat) - CLI Framework: Commander.js
- Dependencies: chalk, ora, dotenv, node-fetch
git clone https://github.com/dominiclynch/Code-Checker.git
cd Code-Checker
npm install
cp .env.example .env
# Add your DeepSeek API key to .env# Review a file
node bin/ai-code-review.js -f path/to/file.js
# Review a code snippet
node bin/ai-code-review.js -c "const x = eval(input)"
# Focused review
node bin/ai-code-review.js -f app.js --focus security,performance --output markdownMIT