Skip to main content

X-ray any git repository

Project description

☢️ RepoXray

Instantly understand the DNA of any codebase.

Jumping into a massive, unfamiliar repository can be overwhelming. RepoXray is a lightning-fast static analysis CLI tool that scans a project's directory structure, reads manifest files, and analyzes import graphs to give you an instant architectural summary of the codebase.

Whether you are onboarding to a new company project, exploring an open-source library, or just need to know where a repository "starts," RepoXray gives you the map.


✨ Features

  • 🚀 Zero-Friction Scanning: Point it at a local directory, a full Git URL, or just use the GitHub shorthand (username/repo).
  • 🧠 Intelligent Heuristics: It doesn't just guess; it analyzes file sizes, directory depth, and inbound import frequencies to rank the most "important" files.
  • 🏗️ Architecture Detection: Automatically identifies patterns like Monorepos, MVC, SPA, Event-Driven, and API-to-Database pipelines.
  • 🤖 Deep Framework Knowledge: Recognizes dozens of frameworks across Python, JavaScript, TypeScript, Go, Rust, Ruby, and more—including deep learning stacks like PyTorch, TensorFlow, and Hugging Face.
  • ⚡ Ephemeral Cloning: When scanning a remote repo, it performs a shallow clone into a temporary directory, analyzes it, and cleans up after itself automatically.
  • 🔌 JSON Output: Native support for --json output, making it perfect for CI/CD pipelines or automated repository auditing.

💻 Example Output

$ repoxray huggingface/transformers

Scanning [https://github.com/huggingface/transformers](https://github.com/huggingface/transformers) …

Project Summary

  Language:      Python
  Framework:     pytest, PyTorch, Hugging Face
  Entry point:   Unknown
  Architecture:
    library / package

  Important files:
     src\transformers\cli\transformers.py
     src\transformers\data\processors\utils.py
     src\transformers\generation\utils.py
     src\transformers\pipelines\base.py
     src\transformers\quantizers\base.py

  Scan completed in 86.40 seconds

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

repoxray-0.1.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

repoxray-0.1.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file repoxray-0.1.0.tar.gz.

File metadata

  • Download URL: repoxray-0.1.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for repoxray-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a135b80736c9ec9df0c65c70a6f887fb18a1d2c20dea76ef5ae46606107dd3d2
MD5 a0a1c2345f00c22ec4547f6367aba48e
BLAKE2b-256 9c34015b8d442f98a53dadab3d8a3556d07de7ac91ba71d3d686d6e3cc62f073

See more details on using hashes here.

File details

Details for the file repoxray-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: repoxray-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for repoxray-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59b0d3ecf8958f700f97f3864f638af310bcc8604fe4c03855e13b69d7f6fd85
MD5 db65a2669ec65170ab252c681eea20ce
BLAKE2b-256 065cc6016b3b4bb0cdb51f7ce3e1876556c22d0392c4a7203cacb09846eeae7a

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