GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JStaRFilms/jstar-code-review: A context-aware AI code review bot that acts like a Senior Engineer. Features 2-stage triage, documentation drift detection, and architectural enforcement.

BranchesTags
Open more actions menu

Latest commit

 

History

73 Commits
73 Commits

Folders and files

NameName
Last commit message
Last commit date
.agent
.agent
 
 
.husky
.husky
 
 
00_Notes
00_Notes
 
 
bin
bin
 
 
docs
docs
 
 
scripts
scripts
 
 
test
test
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.project_meta.json
.project_meta.json
 
 
ONBOARDING.md
ONBOARDING.md
 
 
README.md
README.md
 
 
dry-run-output.md
dry-run-output.md
 
 
final_report.txt
final_report.txt
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
raw_output.txt
raw_output.txt
 
 
review_output.txt
review_output.txt
 
 
setup.js
setup.js
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

J-Star Reviewer

Local-first, context-aware AI code review for any Git-based project.

J-Star Reviewer combines a local repository index, deterministic security checks, and LLM-assisted review so you can inspect staged changes, pull request diffs, commits, or full audit scopes from the command line.

Why use it

  • Reviews changes with repository context instead of isolated diffs
  • Runs deterministic security checks alongside AI review
  • Supports staged changes, PR-style comparisons, commit hashes, and ranges
  • Produces Markdown and JSON outputs for local workflows or automation
  • Keeps a reusable .jstar workspace inside the project being reviewed

What you can do

  • jstar init builds the local index
  • jstar review reviews staged changes or a selected diff target
  • jstar audit runs the deterministic security audit pipeline
  • jstar detect runs a faster static-only rules pass
  • jstar chat resumes the last review session
  • jstar setup prepares .jstar/, .env.example, and .gitignore

Requirements

Before installing on a PC, make sure the machine has:

  • Node.js 18 or newer
  • npm (included with Node.js)
  • pnpm (optional alternative to npm)
  • Git

For AI-powered review features, you will also need:

  • GEMINI_API_KEY or GOOGLE_API_KEY
  • GROQ_API_KEY

If you only want deterministic scanning, jstar audit and jstar detect can still be useful without model keys.

Install On Someone's PC

There are two common ways to get this onto a computer.

Option 1: Install the published CLI globally

This is the easiest option if the person just wants to use the tool.

npm install -g jstar-reviewer

With pnpm:

pnpm add -g jstar-reviewer

Then confirm the install:

jstar --help

Option 2: Download the source code to a local machine

Use this if the person wants the full project folder, wants to edit the code, or wants to run it from source.

Clone with Git

git clone https://github.com/JStaRFilms/jstar-code-review.git
cd jstar-code-review
npm install

With pnpm:

git clone https://github.com/JStaRFilms/jstar-code-review.git
cd jstar-code-review
pnpm install

Or download the ZIP from GitHub

  1. Open the repository in a browser.
  2. Click Code.
  3. Click Download ZIP.
  4. Extract the ZIP to the PC.
  5. Open the extracted folder in PowerShell or Terminal.
  6. Run npm install or pnpm install.

Quick Start

If you installed the CLI globally, open a terminal inside the repository you want to review and run:

jstar setup

Then create a local env file from the generated template:

copy .env.example .env.local

On macOS or Linux, use:

cp .env.example .env.local

With pnpm, the setup command stays the same:

jstar setup

Add your keys to .env.local:

GEMINI_API_KEY=your_gemini_api_key_here
GROQ_API_KEY=your_groq_api_key_here

Build the local index:

jstar init

If you are running from source instead of a global install, you can also use:

npm run index:init

Or with pnpm:

pnpm run index:init

Stage the code you want reviewed, then run:

git add .
jstar review

From source, the equivalents are:

npm run review
pnpm run review

Run a deterministic audit at any time:

jstar audit

From source, you can also run:

npm run audit
pnpm run audit

Output Files

Review output:

  • .jstar/last-review.md
  • .jstar/session.json

Audit output:

  • .jstar/audit_report.md
  • .jstar/audit_report.json

CLI Usage

Core commands

jstar setup
jstar init
jstar review
jstar audit
jstar detect
jstar chat

Review examples

# Review staged changes
jstar review

# Review a pull request diff against main
jstar review --pr

# Review against a different base branch
jstar review --pr --base develop

# Review the latest commit
jstar review --last

# Review a specific commit
jstar review --commit <hash>

# Review a ref range
jstar review --range <start> <end>

Audit examples

# Full workspace audit
jstar audit

# Audit a specific path
jstar audit --path src

# Audit output as JSON
jstar audit --json

Automation-friendly usage

# Machine-readable review output
jstar review --json

# Resume the last review session in headless mode
jstar chat --headless

Typical Workflow

jstar setup
jstar init
git add .
jstar review
jstar audit

For later runs, you usually only need:

git add .
jstar review

Re-run jstar init when the codebase changes significantly and you want the local context index refreshed.

Notes

  • jstar review requires valid AI API keys
  • jstar audit is the deterministic security-focused scan
  • jstar detect is the lighter static-only pass
  • jstar setup updates .env.example and .gitignore in the current project
  • Audit ignore rules live in .jstar/audit-ignore.json

Development

If you are working on this package itself:

npm install
npm run build
npm test

With pnpm:

pnpm install
pnpm run build
pnpm test

Useful package scripts:

  • npm run index:init
  • pnpm run index:init
  • npm run review
  • pnpm run review
  • npm run audit
  • pnpm run audit
  • npm run chat
  • pnpm run chat
  • npm run detect
  • pnpm run detect
  • npm test
  • pnpm test

Publishing

This package is published on npm as jstar-reviewer and exposes the jstar CLI.

To publish a new version:

npm login
npm publish

License

MIT

Links

  • Repository: https://github.com/JStaRFilms/jstar-code-review
  • npm package: https://www.npmjs.com/package/jstar-reviewer

Last reviewed: 2026-03-07

About

A context-aware AI code review bot that acts like a Senior Engineer. Features 2-stage triage, documentation drift detection, and architectural enforcement.

Topics

ai-agentautomationcode-reviewcode-review-automationdocumentation-driftgithub-actionsgroqtypescriptvercel-ai-sdk

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.