π GitGalaxy Documentation
Code is art. Logic is art. Systems engineering is art.
GitGalaxy is a high-velocity, deterministic function-level knowledge graph engine designed for planetary-scale codebases.
While the project is widely recognized for its interactive 3D WebGL visualizerβwhich renders repositories as explorable galaxiesβthis visualizer is ultimately just a presentation layer. The true core of the project is the blAST Engine (Bypassing LLMs and ASTs): a polyglot structural physics engine that extracts the architectural heuristics of 50+ languages simultaneously without requiring compilation.
π§ Where should I start?
GitGalaxy is a massive ecosystem. Choose your entry point based on your operational domain:
π‘οΈ For Enterprise Architects & DevSecOps
If you are looking to secure supply chains, audit AI agents, and generate compliance artifacts, start here: * π The SHBOM Standard (Structural Health Bill of Materials) * π€ Autonomous AI Guardrails (Dev Agent Firewall) * β±οΈ The Continuous Delta Paradigm (CI/CD Integration) * ποΈ Cookbook: Enforce a Zero-Trust Supply Chain Firewall
π¦ For Legacy Modernization Teams
If you are tasked with breaking apart 40-year-old IBM monoliths without using an emulator: * π The Legacy Bridge (Mainframe Modernization Philosophy) * πΈοΈ The DAG Architect (Topological Execution Mapping) * β Cookbook: Refactoring COBOL into Spring Boot
βοΈ For Systems Engineers (The Physics & Proofs)
If you want to understand the mathematics driving the engine and the empirical proofs that validate our AST-free approach: * π¬ The blAST Paradigm (Heuristics vs. ASTs vs. LLMs) * βοΈ Claim 10: The Heuristic vs. AST Paradigm * π‘οΈ Claim 8: Empirical Validation of AST-Free Parsing (The Gauntlets) * π The 13-Point Risk Exposure Equations
βοΈ The Hub and Spoke Ecosystem
1. The Hub: The blAST Engine (GalaxyScope)
A hyper-scale, language-agnostic static analysis CLI. Bypassing traditional ASTs, it parses code at ~100,000 LOC/second using deterministic regular expressions and a multi-phase Physics Engine. It outputs rich JSON telemetry, SQLite databases, and low-token Markdown briefs optimized for AI-agent workflows.
2. The Spokes: Enterprise Operations
The core engine powers a massive ecosystem of specialized tools: * Legacy Modernization: Automated pipelines to map, slice, and refactor legacy COBOL into modern Java microservices. * Security & Auditing: Zero-trust firewalls that verify physical dependencies, hunt Shadow APIs, and perform Binary X-Rays. * AI Governance: Threat sensors designed to hunt RCE Funnels, God-Mode Agents, and Context Window Shredders.
3. The Presentation: The Observatory
Drop your _galaxy.json into the free viewer at GitGalaxy.io or use the repo's airgap_observatory, a standalone WebGPU visualizer. Both visualizers read the JSON contract and render the entire codebase as a procedural 3D galaxy where files are stars, allowing humans to visually map scale and risk exposure instantly.
π Master Documentation Index
Core Concepts & Claims
- 01-01: Project Overview
- 03-02: Claim 2 - Explicitness
- 03-04: Claim 4 - Comparing Languages
- 03-05: Claim 5 - File Archetypes
- 03-06: Claim 6 - Keyword Fingerprinting
- 03-07: Claim 7 - Doom Comparisons
- 03-09: Claim 9 - Universal Logic Extraction
- 03-20: Future Outlooks
Pipeline & Architecture
- 02-02: Optical Orchestration
- 02-06: Security Lens
- 02-12: Audit Recorder
- 06-01: GitGalaxy Configuration
- 06-03: Analysis Lens
Security & Threat Intelligence
Legacy Mainframe Refraction
- 05-07: Mainframe Compiler Forge
- 05-10: Graveyard Reaper (Dead Code Math)
- 05-11: JCL Meta Auditor
- 05-12: Zero-Trust JCL Forge
- 05-13: Lexical Patcher
- 05-14: Microservice Slicer
- 05-15: Cloud Schema Forge
- 05-16: Anomaly Agent Task Forge
- 05-17: System Limits Reporter
Mathematical Physics (3D Geometry)
- 07-01: Code Complexity
- 07-02: Stars Size
- 07-03: Stars Pulse Rate
- 07-04: Stars Shape
- 07-05: Satellite Unit
- 07-06: Satellite Orbital Distance
- 07-07: Number of Satellites
- 07-08: Relative Positioning (Phyllotaxis)
- 07-09: Node Size
- 07-10: Planetary Rings (Dependencies)
- 07-11: Sequence Affinity
- 07-12: Miscellaneous Equations
Mathematical Physics (Risk Exposures)
- 08-02: Sub Equations
- 08-03: Transforming Regex Counts
- 08-04: Ownership Entropy
- 08-05: Cognitive Load
- 08-06: Deep Churn
- 08-07: Structural Fortification
- 08-08: Technical Debt
- 08-09: Documentation Risk
- 08-10: File Stability
- 08-11: Test Coverage
- 08-12: Civil War (Layout Unity)
- 08-13: Graveyard Detector
- 08-14: API Exposure
- 08-15: Concurrency Exposure
- 08-16: State Flux Exposure
- 08-18: Specification Alignment
- 08-19: Obscured Payload Exposure
- 08-20: Logic Bomb Exposure
- 08-21: Injection Surface Exposure
- 08-22: Memory Corruption Exposure
- 08-23: Hardcoded Secrets Exposure
ποΈ The Cookbook (Applied Use Cases)
- Audit Local AI Models
- Continuous Delta Monitoring
- Cross-Cultural M&A Technical Due Diligence
- Deploy Vault Sentinel
- Detect Architectural Drift
- Detect Binary Anomalies
- Generate LLM Architecture Briefs
- Generate Zero-Trust SBOM
- Hunt PII Leaks
- Hunt Shadow APIs
- Prevent Agentic RCE
- Sandbox Autonomous Agents
- Scaffold Spring Boot
Legacy Modernization Cookbooks
- COBOL Microservice Slicing
- Creating DAG from COBOL Files
- Creating JCL from COBOL Files
- Creating Schema from COBOL Files
- Identifying Dead Code in COBOL
- Prove Dead Code Logs
- Unpacking ETL from CBL Files
- COBOL to Java: Automated Spring Boot Build System
- COBOL to Java: Mainframe Data Serialization Forge
- COBOL to Java: REST API Generation
- COBOL to Java: Spring Boot Entity Forge
- COBOL to Java: Spring Boot Service Forge
π Quickstart
1. Install
2. Scan a Repository Point the GalaxyScope at any local repository or ZIP archive. The engine runs entirely on your local machineβzero data is transmitted.
3. View the Galaxy
GitGalaxy offers two ways to visualize your 3D architecture, both built on a strict Zero-Trust Privacy Model where your code never leaves your machine.
* The Web Viewer (Frictionless): Drag and drop your generated _galaxy.json file directly into GitGalaxy.io. All rendering and scanning happens entirely in your browser's local memory.
* The Local Server (Enterprise & Offline): For teams operating under strict compliance rules, GitGalaxy includes a 100% static, zero-telemetry local viewer called the Airgap Observatory.
π Zero-Trust Architecture
Whether you are running the command-line engine or the WebGL visualizer, GitGalaxy operates on a strict Zero-Trust Privacy Model: Your code never leaves your computer.
- No Data Transmission: Source code is never transmitted to any API, cloud database, or third-party LLM service.
- Air-Gap Ready: The entire suite of tools is designed to run in highly secure, internet-disconnected environments.
- Ephemeral Memory Processing: Repositories are unpacked into a volatile memory buffer and are automatically purged when the operation completes.
π Powered by the blAST Engine
This documentation is part of the GitGalaxy Ecosystem, an AST-free, LLM-free heuristic knowledge graph engine.
- πͺ Explore the GitHub Repository for code, tools, and updates.
- π Visualize your own repository at GitGalaxy.io using our interactive 3D WebGPU dashboard.