Navigate your code like a hologram. Interactive 3D visualization of complex codebases.
| Dashboard | Hologram |
|---|---|
![]() |
![]() |
Understanding large codebases is hard. Navigating flat files and nested folders doesn't reveal the true structure of software.
CÓDIGO GPS transforms Git repositories into interactive 3D graphs, allowing developers and architects to visualize dependencies, complexity, and the real topology of their systems in real-time.
- Interactive 3D Hologram: Visualize nodes (files) and edges (dependencies) in an immersive 3D environment.
- Nebulas: Visual grouping of folders and modules to identify domains at a glance.
- Mentor Mode: Intelligent analysis suggesting refactors and detecting code smells visually.
- Impact Analysis: Select a node to see which parts of the system depend on it.
- Local Support: Analyze your code without uploading to the cloud (100% Privacy).
The system uses a modern client-server architecture. See ARCHITECTURE.md for details.
graph LR
User["User"] --> Frontend["Frontend (Next.js + Three.js)"]
Frontend <-->|HTTP/REST| Backend["Backend (FastAPI)"]
Backend -->|Git/FS| LocalRepo["Local Repository"]
Backend -->|NetworkX| Graph["In-Memory Graph"]
- Frontend: Next.js 14, React Three Fiber (3D Visualization), TailwindCSS.
- Backend: Python FastAPI, NetworkX (Graph Analysis), GitPython.
Prerequisites: Docker and Docker Compose installed.
-
Clone the repository:
git clone https://github.com/MerariJafet/codigo-gps.git cd codigo-gps -
Spin up services:
docker-compose up --build
-
Open in your browser:
- Frontend: http://localhost:3000
- API Docs: http://localhost:8000/docs
Prerequisites: Python 3.10+, Node.js 18+.
-
Use the automatic start script (Linux/Mac):
./scripts/dev.sh
-
Or run manually:
Backend:
cd backend python -m venv venv source venv/bin/activate pip install -r requirements.txt uvicorn backend.main:app --reload --port 8000
Frontend:
# In another terminal cd frontend npm install npm run dev
The project works out-of-the-box, but you can configure environment variables.
Copy .env.example or configure manually:
Frontend (.env.local):
API_BASE_URL: Backend URL (default: http://localhost:8000)
- Load Repository: Open the app and select your local project folder.
- Explore Graph:
- Left Click: Rotate camera.
- Right Click: Pan.
- Scroll: Zoom.
- Click on Node: View file details and connections.
- Filter: Use the sidebar to filter by file type or metrics.
- CORS Error: Ensure you access via
localhost:3000. If backend is on another port, adjustnext.config.ts. - File System Access: Chrome/Edge require explicit permissions for local folders. If it fails, use "Upload ZIP" or the server explorer.
- Backend Offline: Verify
http://localhost:8000/health.
CÓDIGO GPS is designed to handle small to medium codebases with high fluidity (>60 FPS). Check BENCHMARKS.md for detailed metrics and testing methodology.
- Support for more languages (Java, C++).
- GitHub API integration for remote repos.
- Real-time collaboration.
- Desktop version (Electron/Tauri) - In progress.
This project is licensed under the MIT License. See LICENSE for details.


