Skip to main content

GitHub Pull Request audit toolkit with LLM and CLI support

Project description

RepoRadar 🛰️

RepoRadar is a GitHub Pull Request audit and analytics toolkit built with Python.

It can be run in two modes:

  • Standalone CLI-based audit with simple config input.
  • 🤖 LLM-integrated server (via MCP protocol) for natural language-driven code review analytics.

🔧 Features

  • 📊 Pull request insights by team, author, or date range
  • ✅ Track test failures, large PRs, non-main merges
  • 🧠 LLM integration (e.g., GPT-4o / o3-mini) via MCP (Model Context Protocol)
  • 📁 Output as JSON or Markdown
  • 🔌 GitHub API (via PyGithub)
  • ⚙️ Designed for CI, cron, or local use

📦 Steps to Install and Use the toolkit

  1. Install using the below command
    pip install repo-radar
    
  2. Copy and use the example json to include required configurations. config.example.json at repo_radar/examples
  3. Run the following CLI by passing the config.json path
    repo-radar-config-audit --config path/to/config.json
    
  4. To automatically pick and run the query using LLM
    1. Add the OpenAI API token to .env file, and use the below command
    2. Run the following CLI by passing the config.json path and the prompt
    repo-radar-llm-audit --config path/to/config.json --prompt "Which were stale PRs last week"
    

⬇️ To Contribute: Clone the repository and install the dependencies as follows:

git clone https://github.com/karthickshanmugarao/repo-radar.git
cd repo-radar
pip install uv
uv pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repo_radar-0.1.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repo_radar-0.1.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file repo_radar-0.1.1.tar.gz.

File metadata

  • Download URL: repo_radar-0.1.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for repo_radar-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ec8dc97ae5ca377613d2514f6ab86f375cbaa4742df1bba4b2e95b7fcae30fc8
MD5 5506319f849e4deb7aefc59c61ef4384
BLAKE2b-256 05ed467148bbf119599cc1fe50c490ff5d7c23117038f26bf886102aa7bea224

See more details on using hashes here.

File details

Details for the file repo_radar-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: repo_radar-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for repo_radar-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1f6ef3928081695a83d8f381c35c6a979b37c753f619ea99b3be0416251ddc
MD5 33165a96ced420fb6c801653c8e2c312
BLAKE2b-256 55936226209eccefd8146ed6db812333f29f3168b9d12fbf91f9a1d0bac3ca89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page