Stop counting lines. Start fixing debt.
Traditional linters check style. DebtDrone analyzes architecture.
Most code quality tools rely on regex pattern matching—they're fast but fragile. A complex function signature with nested generics? False positive. A callback wrapped in middleware? Missed entirely.
DebtDrone uses Abstract Syntax Trees (AST) via Tree-sitter, the same technology that powers GitHub's code navigation. It understands your code the way a compiler does: parsing structure, not strings. This means:
- ✅ Zero false positives on complex type signatures
- ✅ Context-aware analysis of function complexity
- ✅ Multi-language support with high accuracy
If your linter is guessing, you're not measuring debt—you're measuring noise.
-
🌳 True AST Analysis
Deep parsing for Go, Python, JavaScript/TypeScript, Java, and Rust. Not regex. Not heuristics. -
🔒 Security Built-In
Detects hardcoded secrets, API keys, and CVEs via integrated Trivy scanning. -
🏠 Privacy First
Runs 100% locally. In-memory processing. Zero database. Your source code never leaves your machine. -
⚙️ CI/CD Ready
Returns exit code1on critical issues. Break builds on high debt. Enforce standards automatically. -
⚡ Blazing Fast
Written in Go. Scans large repositories in milliseconds.
brew install endrilickollari/tap/debtdronecurl -sL https://raw.githubusercontent.com/endrilickollari/debtdrone-cli/main/installation_scripts/install.sh | bashiwr -useb https://raw.githubusercontent.com/endrilickollari/debtdrone-cli/main/installation_scripts/install.ps1 | iexDownload pre-compiled binaries from the Releases Page.
Prerequisites:
- Go 1.22+
- C Compiler (gcc/clang) - Required for Tree-sitter engine
git clone https://github.com/endrilickollari/debtdrone-cli.git
cd debtdrone-cli
go build -o debtdrone ./cmd/debtdrone
./debtdrone -versionRun inside your project root:
debtdroneOr specify a path:
debtdrone ./src/my-projectFail the build if critical issues are found:
debtdrone -path . -fail-on criticalGenerate a report for other tools:
debtdrone -output json > report.jsonDebtDrone CLI finds the issues. DebtDrone Cloud fixes them.
Connect to DebtDrone Cloud (Launching Soon) to auto-fix issues with AI, track historical trends, and manage team access.
DebtDrone CLI is distributed under the MIT License. Free to use, modify, and distribute.
See LICENSE for full details.
This repository serves as the public distribution channel for DebtDrone CLI. The source code is proprietary, but we welcome:
- 🐛 Bug reports
- 💡 Feature requests
- 📖 Documentation improvements
Read our Contributing Guide to get started.
- 📖 Contributing Guidelines - How to contribute
- 🔨 Build Guide - Build system and release process
- 📋 Issues - Report bugs or request features
Built with ❤️.
If DebtDrone helped you fix a critical issue or saved you time, consider buying me a coffee!

