1.0.6 • Published 4 months ago

open-reviewer v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Open Reviewer - AI-Powered Code Review

Open Reviewer

šŸš€ Open Reviewer is a powerful CLI tool that scans your JavaScript/TypeScript codebase, evaluates it using AI, and generates an insightful review report with suggestions for improvements.

✨ Features

  • āœ… Scans your entire project for .js, .jsx, .ts, .tsx files.
  • šŸ¤– Integrates with AI for intelligent code analysis based on your prompt.
  • šŸ“„ Generates a beautiful HTML report for better visualization.
  • šŸ” Highlights code improvements, best practices, and potential issues.
  • šŸŽØ Styled with a clean UI for better readability.

šŸš€ Usage

Run the following command in your project's root directory:

npx open-reviewer review

šŸ“Œ Configuration

Before running the tool, set up the required environment variables in your project where your planning to run the tool:

GROQ_API_KEY="your-groq-api-key"
DEFAULT_PROMPT=""
GROQ_MODEL=""//optional

šŸ”‘ Get your API Key from Groq.

āš ļø If the API key is missing, the tool will display a warning and exit.

🌐 Viewing the HTML Report

After running the analysis, an HTML report will be generated in your project root as review_report.html. You can open it using Live Server:

šŸš€ Using VS Code Live Server Extension

  1. Install the Live Server extension in VS Code.
  2. Right-click review_report.html and select "Open with Live Server".

šŸ–„ļø Using Live Server via CLI

Alternatively, you can use npx to serve the file:

npx live-server --open=review_report.html

šŸ’” Enhance your code reviews today with Open Reviewer! šŸš€

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago