Skip to main content

Visualizes codebase complexity as explorable 3D galaxies.

Project description

GitGalaxy

PyPI version Python 3.8+ License: PolyForm Noncommercial Zero Dependencies Airgap Ready Local Processing Hardware Accelerated

Code is art. Logic is art. Systems engineering is art.

GitGalaxy reveals the complexity of codebases as explorable 3D galaxies by using source code as a seed for procedural generative art. It acts as a Rosetta Stone for code complexity, allowing you to visually compare the scale and risk exposure of different projects—from Apollo 11 to the Linux Kernel—under the same set of rules.

Live Demo: View 3D galaxy examples of Apollo-11, Linux, and more at GitGalaxy.io

Note: This is a condensed version of the full documentation. For the 200-page Architectural Master Blueprint, please visit: https://github.com/squid-protocol/gitgalaxy


Quickstart

1. Install

pip install gitgalaxy

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.

galaxyscope /path/to/your/local/repo

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.

Option A: The Web Viewer (Frictionless) Simply drag and drop your generated "your_repo_galaxy.json" file (or a .zip of your raw repository) directly into GitGalaxy.io. All rendering and scanning happens entirely in your browser's local memory.

Option B: The Local Server (Enterprise & Offline) For teams working behind strict corporate firewalls, you can host the 3D viewer locally. Clone the repository and spin up the included Flask server:

git clone https://github.com/squid-protocol/gitgalaxy.git
cd gitgalaxy
python app.py

Then open http://localhost:5000 in your browser and drop your JSON file in securely.

What Does it Measure?

GitGalaxy maps the hidden architecture of massive software repositories, translating codebases into non-numeric star-based dashboards (for humans), low-token markdown summaries (for AI agents), and full internal scanned audit results (for lawyers).

Accomplished by scanning codebases with the same tech used to scan strings of DNA when I was a scientist. By employing a BLAST-like algorithm, a taxonomic language feature map, and DNA fingerprinting algorithms, GitGalaxy brings 50-ish years of bioinformatics to code analysis. We parse our resulting DNA/code fingerprint into a series of risk exposure metrics (genotype to phenotype assocations).

GitGalaxy does not measure "Code Quality", which feels like a judgment, but instead measures Risk Exposure. Our measurements do not judge; they highlight. We do not assess "Bad Code"; we measure Cognitive Load Exposure—how hard it is for a human to work through the logic—because teams should be aware which files are the hardest to work on.

Risk Exposures identify general trends (this file has high API exposure) instead of providing an absolute ranking over tiny differences (this file is better than that one because it scored 6% higher in the tech debt equation). These are general guides to give engineers, managers and CTOs a visual estimate on code status. It allows a team to agree on standards and instantly see—without reading a single line of text—where their architecture might be drifting into dangerous territory.

Zero-Trust Architecture

Your code never leaves your machine. GitGalaxy performs 100% of its scanning and vectorization locally.

  • No Data Transmission: Source code is never transmitted to any API, cloud database, or third-party service.
  • Ephemeral Memory Processing: Repositories are unpacked into a volatile memory buffer (RAM) and are automatically purged when the browser tab is closed.
  • Privacy-by-Design: Even when using the web-based viewer, the data remains behind the user's firewall at all times.

License & Copyright

Copyright (c) 2026 Joe Esquibel

GitGalaxy is released under the PolyForm Noncommercial License 1.0.0. It is completely free for personal use, research, experiment, testing, and hobby projects. Use by educational or charitable organizations is also permitted.

Any commercial use or integration into commercial SaaS products or corporate CI/CD pipelines requires a separate commercial license. Please reach out via gitgalaxy.io to discuss commercial integration.

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

gitgalaxy-1.0.4.tar.gz (226.9 kB view details)

Uploaded Source

Built Distribution

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

gitgalaxy-1.0.4-py3-none-any.whl (237.8 kB view details)

Uploaded Python 3

File details

Details for the file gitgalaxy-1.0.4.tar.gz.

File metadata

  • Download URL: gitgalaxy-1.0.4.tar.gz
  • Upload date:
  • Size: 226.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gitgalaxy-1.0.4.tar.gz
Algorithm Hash digest
SHA256 06771c93b193f17ba22bd1b6d39868d488d6a5e16c77316ddcdef058f967922c
MD5 2d2167e02304afee5229697733e18196
BLAKE2b-256 4662734ca6cee3dcf417b253ef2d43d3e240adc1ee273a9bed04a8fd05a39772

See more details on using hashes here.

File details

Details for the file gitgalaxy-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: gitgalaxy-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 237.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gitgalaxy-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8b4ae3c203c03df5938190ab10ab114a611aafbe4828486b025d0c1500db3c
MD5 1f0c7df132ddd47a568c3e24b102f1c6
BLAKE2b-256 f6064d52a4447582e7530d11ed4dcf65852c6d12e95d9af0d0954d234ca61cc9

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