Basta is a Rust-engined CLI that detects unused files, exports, imports and declarations in JS/TS and Python codebases.
Yes, Basta is open source under the MIT license.
Basta is free to use.
Yes, Basta can be self-hosted (the source is available under the MIT license).
MIT-licensed dead-code detector with a Rust engine that finds unused files, exports, imports and declarations across JavaScript/TypeScript and Python. It is a command-line developer tool for codebase hygiene — you run it against a repo and it reports what is provably unreferenced so it can be safely removed. Rust is the analysis engine, not a target language; the languages it analyzes are JS/TS and Python. Actively maintained (npm v0.3.0 published 2026-09-22).
The honest framing: this is not a GTM tool. It is codebase-hygiene tooling for the people building the GTM stack — the same class as the registry's "drop" sandbox entry. AI-native teams that ship fast accumulate dead files, orphaned exports and stale imports quickly, and that cruft slows every later change and every agent that reads the repo. Basta is the mechanical answer: a fast, Rust-engined pass that flags what is provably unreferenced across JS/TS and Python so it can be pruned in review or CI. If your GTM engine is software you maintain, keeping that codebase lean is the leverage; if you are buying GTM tools rather than building them, this one is out of scope.