deepseek-review  by hustcer

CLI tool for DeepSeek-powered code review, local or via GitHub Actions

created 6 months ago
325 stars

Top 85.0% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides a tool for automating code reviews using DeepSeek models, targeting developers and teams seeking to improve code quality and streamline their CI/CD pipelines. It offers both GitHub Actions integration and local CLI capabilities for flexible code analysis.

How It Works

The tool leverages the DeepSeek API to analyze code changes. It can be configured to run automatically on pull request events or triggered manually via labels. Users can customize the DeepSeek model, prompts, and file inclusion/exclusion patterns to tailor the review process. For local use, it integrates with Nushell and Git commands to process diffs and stream output.

Quick Start & Requirements

  • GitHub Action: Use the hustcer/deepseek-review@v1 action in your workflow. Requires CHAT_TOKEN secret.
  • Local CLI: Requires Nushell (>= 0.103) and awk/gawk. Clone the repo and use the cr command.
  • Configuration: Local usage requires a config.yml file.
  • Documentation: GitHub Action, Local CLI

Highlighted Details

  • Supports both DeepSeek V3 and R1 models.
  • Allows self-hosting of DeepSeek models.
  • Customizable system and user prompts, enabling language control for review output.
  • Can review remote GitHub PRs directly from the local CLI.

Maintenance & Community

The project is maintained by hustcer. Community links are not explicitly provided in the README.

Licensing & Compatibility

Licensed under the MIT license, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

The max-length parameter defaults to 0, meaning reviews might be skipped for very large changes if not explicitly configured. The tool relies on specific versions of Nushell and awk/gawk for local execution.

Health Check
Last commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
2
Issues (30d)
1
Star History
18 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
3 more.

AutoPR by irgolic

0.1%
1k
AI-powered workflows for codebase automation
created 2 years ago
updated 1 year ago
Feedback? Help us improve.