Skip to content
puryshoPublic

About

Local repository forensics: structure, hotspots, risks, dependencies and suspicious code patterns, without uploading a line.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

BLACKBOX icon

BLACKBOX

Local repository forensics for structure, hotspots, risks, dependencies, and suspicious code patterns.

CI Releases MIT Status: beta

Download: Windows · macOS · Linux · Run from source · Report an issue

BLACKBOX scanning a repository: risk score, file and line counts, and the language overview

📹 Demo GIF coming in the next release. See the screenshot above for the current UI.

What it does

  • Repository structure and language mix
  • Large files and code hotspots
  • TODO/FIXME-style findings and suspicious-pattern signals
  • Dependency and cycle signals
  • Git repository context
  • Exportable JSON reports

Why not SonarQube, CodeClimate, semgrep or cloc?

Tool What it does better Where BLACKBOX differs
SonarQube Deep language-aware analysis, quality gates, and history over time. Runs as a server with a database. BLACKBOX understands far less about your code. It gives a first read of an unfamiliar repository in one scan, with nothing to install or host.
Code Climate A hosted service wired to your Git host that tracks maintainability on every pull request. BLACKBOX is a one-off local look, not continuous tracking, and your code never leaves your machine.
semgrep Syntax-aware pattern rules with a large community registry, built for CI. BLACKBOX's secret and pattern signals are regular expressions: expect more false positives and more misses. Use semgrep when findings need to be trusted.
cloc Accurate code, comment and blank line counts for hundreds of languages. BLACKBOX's line counts are raw line totals. It adds what cloc does not attempt: hotspots ranked by complexity, Git churn and inbound imports, plus import cycles.

These are great tools, and each goes deeper than BLACKBOX in its own area. The difference is operational, not technical: BLACKBOX is a single portable download, needs no account, no server, no Docker, and no configuration to start, and keeps nothing on disk unless you export a report. If you already use one of the tools above and it works for you, keep using it. BLACKBOX exists for the first ten minutes with a repository you do not know yet, with zero setup and no cloud dependency.

Part of the Depot suite

Depot (in development) brings these tools together in one app — shared workspace context, an event bus that connects them, and a unified session timeline.

Depot · Switchyard · Needle · Relay · Pulse · BLACKBOX · Forge

Download

Platform File
Windows 10/11 (x64) BLACKBOX-Windows-x64.exe — portable, no installer
macOS (Apple Silicon) BLACKBOX-macOS-arm64.zip — unzip and move to Applications
Linux (x86_64) BLACKBOX-Linux-x86_64.tar.gz — extract and run ./BLACKBOX

Each release is built from the tagged source by GitHub Actions and carries a SHA256SUMS.txt. The builds are not yet code-signed, so on first launch Windows SmartScreen may ask you to confirm ("More info" → "Run anyway"), and macOS may need you to Control-click the app and choose Open.

Status: beta. BLACKBOX does what this README describes and is covered by CI on Windows, macOS and Linux, but it is young: expect rough edges, and please report them.

Run from source

Requirements: Python 3.10+ with Tk support.

pyw blackbox_desktop.pyw

The application uses Python's standard library at runtime.

Build a standalone Windows executable

powershell -ExecutionPolicy Bypass -File .\build-windows.ps1

Output:

dist\BLACKBOX.exe

Privacy

Scanning happens locally. BLACKBOX does not require an account, backend, or source-code upload.

Scope

BLACKBOX is a first-pass forensic view, not a compiler-grade static analyzer. Findings are investigation signals rather than proof that code is unsafe or defective.

Release process

  • Every push runs tests/compile checks and builds a Windows executable artifact.
  • Tags matching v* build the executable again, compute SHA256, and publish both files to GitHub Releases.
  • See CHANGELOG.md for release history.

Contributing

See CONTRIBUTING.md and docs/ARCHITECTURE.md. Security reports: SECURITY.md.

License

MIT

About

Local repository forensics: structure, hotspots, risks, dependencies and suspicious code patterns, without uploading a line.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages