Skip to content

minkxx/judex-auditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Judex-Auditor

A local AI-powered codebase audit CLI

Installation

pip install judex-auditor

CLI Usage

usage: judex [-h] [-m MODEL] [-o OUTPUT_NAME] [-l] [-s [STRATEGY]] [-e [ENGINE]] [target_path]

Audit a codebase and generate a markdown review report.

positional arguments:
  target_path           Directory to audit (defaults to the current directory).

options:
  -h, --help            show this help message and exit
  -m, --model MODEL     Ollama model name to use for the audit.
  -o, --output-name OUTPUT_NAME
                        Markdown file name to write inside the audited directory.
  -l, --list            List available components.
  -s, --strategy [STRATEGY]
                        Strategy name to use for the audit.
  -e, --engine [ENGINE]
                        Engine name to use for the audit.

import usage

from judex import NestJsStrategy, OllamaEngine, CodebaseAuditor

if __name__ == "__main__":
    engine = OllamaEngine("qwen2.5-coder:7b")
    strategy = NestJsStrategy()

    auditor = CodebaseAuditor(engine, strategy)

    auditor.execute(".")

Build - DIY

1. Git clone this repo

git clone https://github.com/minkxx/judex-auditor.git

cd judex-auditor

2. Install required dependencies

pip install -r requirements.txt

3. Build the judex-auditor package

python -m build

4. Install the judex-auditor package

pip install -e .

5. Use it

judex --help

About

A local AI-powered codebase audit CLI tool

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Contributors

Languages