Navigate code spatially. Debug visually. Build intelligently.
Stop drowning in file trees. Start seeing your architecture.
Traditional IDEs show you a flat list of files. VISOR shows you a living system.
VS Code → VISOR
─────────────────────────────────────────
📁 src/ → [Interactive Graph]
📁 components/ → Nodes pulse as code runs
📁 utils/ → Edges show dependencies
📄 App.jsx → Errors glow red instantly
Built for:
- 🧠 Understanding complex codebases in minutes, not days
- 🐛 Debugging by seeing execution flow visually
- 🎯 Refactoring with confidence (see all impacts)
- 🚀 Onboarding new developers 10x faster
- 🔮 Traveling through Git history spatially
# Install globally
npm install -g @visor/cli
# Launch in any project
cd your-project
visor .# Clone the repo
git clone https://github.com/nothariharan/visor.git
cd visor
# Install dependencies
npm install
# Build client
cd client && npm run build && cd ..
# Link globally
npm link
# Run in your project
cd /path/to/your/project
visor .That's it. Open http://localhost:6767 and see your codebase come alive.
Runtime error? Click "✨ AI Fix" on the red node. VISOR:
- Reads the file + error stack
- Sends to Gemini/OpenRouter
- Applies the fix
- Restarts your app automatically
60% success rate on common errors. Zero thinking required.
Errors don't just show in terminal. They glow red on the graph. Execution path highlighted. One click to jump to the problem.
Edit files directly in VISOR. Changes sync to your IDE (VS Code, Cursor, etc.). Syntax highlighting. IntelliSense. Autocomplete.
Works with:
- JavaScript/TypeScript (React, Vue, Svelte, Node)
- Python (Django, Flask, FastAPI)
- Go, Rust, Ruby (coming soon)
Catppuccin Mocha theme. Monospace everything. Hard shadows. No blur. Looks like a hacker terminal from the future.
Create visor.config.js in your project root:
module.exports = {
// AI Provider
aiProvider: 'gemini', // or 'openrouter'
// Files to ignore
ignorePatterns: [
'**/node_modules/**',
'**/dist/**',
'**/.git/**',
'**/build/**'
],
// Editor integration
defaultEditor: 'vscode', // or 'cursor', 'vim', etc.
// Graph settings
graph: {
maxNodes: 1000,
collapseFolders: true,
showHiddenFiles: false
},
// Forge mode
forge: {
autoRestart: true,
errorTracking: true,
aiAutoFix: false // Set true to auto-fix without clicking
}
};Environment Variables (.env):
# Required for AI features
GEMINI_API_KEY=your_key_here
OPENROUTER_API_KEY=your_key_here
# Optional
VISOR_PORT=6767visor .What happens:
- VISOR scans your project
- Builds dependency graph
- Opens browser at
localhost:6767 - You see your codebase as a living graph
- Scroll to zoom
- Drag to pan
- Click node to open file in editor
- Click folder to expand/collapse
- Cmd+P to search files instantly
- Click Forge mode
- Click
▶️ Run on your app card - Watch nodes light up as code executes
- Errors turn red with "AI Fix" button
- Click Chronicle mode
- Click any commit in timeline
- Files on disk change to that commit
- Click "Return to Present" when done
visor/
├── client/ # React frontend
│ ├── src/
│ │ ├── components/ # UI components
│ │ ├── hooks/ # Custom hooks
│ │ └── store/ # Zustand state
│ └── vite.config.js
├── server/ # Node.js backend
│ ├── runner/ # Process management
│ ├── tracer/ # Execution tracking
│ ├── git/ # Git operations
│ └── ai/ # AI auto-fix service
└── package.json
Tech Stack:
- Frontend: React, React Flow, Monaco Editor, Socket.io Client
- Backend: Node.js, Express, Chokidar, simple-git, Socket.io
- AI: Gemini API, OpenRouter
- Parsing: dependency-cruiser, tree-sitter
We're building the future of code visualization. Help us.
- 🐛 Report bugs - Open an issue
- 💡 Suggest features - Start a discussion
- 🔧 Submit PRs - See CONTRIBUTING.md
- 📖 Improve docs - Docs live in
/docs - ⭐ Star the repo - Seriously, it helps
# Fork and clone
git clone https://github.com/YOUR_USERNAME/visor.git
cd visor
# Install deps
npm install
cd client && npm install && cd ..
# Run in dev mode
npm run dev
# Build for production
npm run buildBefore submitting PR:
- Test on 3+ projects
- Add tests if adding features
- Update docs
- Follow existing code style
MIT License - see LICENSE for details.
TL;DR: Do whatever you want. Credit appreciated but not required.
Stop reading files. Start seeing systems.
⭐ Star on GitHub • 🚀 Try the Demo • 💬 Join Discord
Made with 🔥 by @nothariharan and contributors



