Skip to content

dominiclynch/Code-Checker

Repository files navigation

Code-Checker

CLI tool that reviews code for bugs and quality issues using the DeepSeek AI API.

What It Does

  • 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

Tech Stack

  • Runtime: Node.js >= 18 (ESM)
  • AI Backend: DeepSeek API (deepseek-chat)
  • CLI Framework: Commander.js
  • Dependencies: chalk, ora, dotenv, node-fetch

Setup

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

Usage

# 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 markdown

License

MIT

About

CLI tool that reviews code for bugs and quality issues using the DeepSeek AI API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors