See through your source code.
A blazing-fast ⚡ desktop app that scans, visualizes, and grades your codebase in seconds. Built with Rust and Tauri v2 for native speed. Supports 546+ programming languages.
| 🔍 Feature | Description |
|---|---|
| 📊 Dashboard | LOC, language distribution, complexity histograms, COCOMO cost estimation |
| 🫀 Health Score | DRYness, comment density, semantic role breakdown with letter grading (A+ → F) |
| 📦 Asset Intelligence | Scans, classifies, and estimates savings for Multimedia (image/video/audio), 3D/Game assets, and CAD drawing dependencies |
| 🔐 Secrets Scanner | Detects exposed AWS keys, GitHub tokens, JWT, private keys — auto-masked |
| 📝 Annotations | Searchable TODO / FIXME / HACK / BUG tracker with filters |
| 💡 Insights | Analyzes code issues, security bugs, and refactoring recommendations |
| 🔥 Refactoring Hotspots | 2D Risk Matrix ( |
| 🕸️ Living Dep Graph | C4 model hierarchy, heatmaps (Complexity/Churn/Hotspots), SVG/PNG/Mermaid export |
| 🌳 Treemap | Interactive squarified treemap sized by physical code volume |
| 📁 546+ Languages | From Rust to COBOL, Solidity to GDScript — with shebang detection |
| 📄 Export Center | JSON · CSV · Markdown · HTML reports + SVG/PNG/Mermaid graph diagrams |
Locsight is a pre-compiled desktop app. You do not need to clone the code or install Node.js/Rust to use it.
- Download the installer for your operating system from Releases.
- Install and launch:
- Windows: Run the
.msior.exeinstaller. - macOS: Drag the
.dmgapplication to your/Applicationsdirectory. - Linux: Install the
.debpackage or execute the.AppImage.
- Windows: Run the
Tip
First-time Launch Notice (Unsigned App Warnings): Locsight is a community open-source project:
- Windows (SmartScreen): Click "More info" ➔ "Run anyway".
- macOS (Gatekeeper): Run in Terminal:
xattr -cr /Applications/Locsight.app(or Right-click ➔ Open). - Linux (AppImage): Run
chmod +x Locsight_*.AppImagebefore launching. For full setup, system dependencies, and VM troubleshooting, see the Full Installation Guide.
If you want to compile Locsight from source:
# 1. Clone repository
git clone https://github.com/ThanhNguyxnOrg/Locsight.git
cd Locsight
# 2. Install dependencies
npm install
# 3. Launch dev environment
npm run tauri dev📋 Prerequisites: Node.js (v18+), Rust (v1.75+), and Tauri v2 prerequisites for compilation.
Backend → Rust · Tauri v2 · Rayon · WalkDir · SHA-256 · Regex
Frontend → React 19 · TypeScript · Vite · Tailwind CSS · Recharts
CI/CD → GitHub Actions · Dependabot · Auto-merge
| 📄 Document | Description |
|---|---|
| 🚀 Installation | Cross-platform setup, security bypass, and VM troubleshooting |
| 📐 Architecture | System design, module breakdown, data flow |
| ✨ Features | Detailed feature guide with examples |
| 💻 Development | Local setup, project structure, debugging |
| 🤝 Contributing | How to contribute, code style, PR guidelines |
| 📋 Changelog | Version history and release notes |
| 🔒 Security | Vulnerability reporting policy |
| 📜 Code of Conduct | Community standards |
| ⚖️ License | MIT License |
Locsight provides an intuitive, high-performance dark user interface tailored for instant codebase insights.
| Screen | Shortcut | Description |
|---|---|---|
| 🏠 Welcome | Ctrl/Cmd + 1 |
Folder picker, recent project history, and custom .locignore rule preset setup |
| 📊 Dashboard | Ctrl/Cmd + 2 |
High-level LOC overview, language distribution, complexity distribution histogram, and COCOMO II simulator |
| 📁 Files & Treemap | Ctrl/Cmd + 3 |
Interactive directory tree and squarified treemap sized by physical code volume |
| 📦 Asset Intelligence | Ctrl/Cmd + 4 |
Media (images, audio, video), 3D assets, CAD drawing tracking, SHA-256 duplicate detection, and orphan asset analysis |
| 🕸️ Dependency Graph | Ctrl/Cmd + 5 |
C4 model hierarchy, dynamic heatmaps, blast radius tracing, and SVG/PNG/Mermaid export |
| 🔥 Refactoring Hotspots | Ctrl/Cmd + 6 |
2D Risk Matrix ( |
| 🫀 Health Score | Ctrl/Cmd + 7 |
DRYness gauge (ULOC vs LOC), comment density, semantic role breakdown, and letter grading (A+ → F) |
| 🔐 Insights & Secrets | Ctrl/Cmd + 8 |
Exposed secrets detection (AWS, GitHub, Google API, private keys) with Shannon entropy scoring, plus searchable TODO/FIXME annotations tracker |
| 📈 Git Analytics | Ctrl/Cmd + 9 |
File churn, change coupling matrix, and author contribution breakdown |
| 📄 Export Center | Ctrl/Cmd + 0 |
Generate comprehensive reports in Markdown, JSON, CSV, and HTML with granular category filters |
| ⚡ Open Folder | Ctrl/Cmd + Shift + O |
Quick project picker shortcut from any screen |
Made with 🦀 Rust + ⚛️ React by ThanhNguyxn

