1.0.6 ⢠Published 4 months ago
open-reviewer v1.0.6
Open Reviewer - AI-Powered Code Review
š 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
- Install the Live Server extension in VS Code.
- 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! š