octet

Product Codebases · Install

Run the estimate on your own machine.

One standalone program for macOS, Linux and Windows. It analyses a git repository locally and prints an illustrative estimate. Nothing is uploaded. Product Codebases only licenses private repositories.

macOS and Linux

Picks the build for your computer, checks it against the published SHA-256 checksums and installs it to ~/.local/bin. It stops if the checksum doesn’t match. No sudo needed.

curl -fsSL https://octetdata.net/codebases/install.sh | sh

Another folder: | sh -s -- --dir ~/bin. Read the script before you run it.

Windows

In PowerShell. Same checks; installs to %USERPROFILE%\.local\bin and tells you how to add it to your PATH.

irm https://octetdata.net/codebases/install.ps1 | iex

Read the script before you run it.

Commands

octet-codebases .
Analyses the repository in this folder (or pass a path). Prints a quality score and letter grade, each factor's score with reasons, and an illustrative range.
octet-codebases --json
The same report as JSON, for scripts and agents.
octet-codebases submit
Optional. Opens the submit page in your browser. You connect GitHub there so we can confirm you control the repository.
octet-codebases update
Checks whether a newer release exists and prints the install command.

The score and range are illustrative, from a local analysis. They aren’t an offer, and some codebases never sell.

What it reads

Only the repository you point it at, on your machine, using git.

  • The files git tracks in the repository: it counts lines of code by language and spots tests, CI, generated and vendored code
  • The commit history: dates, authors and messages, including AI-agent attributions
  • git blame on the 25 largest source files, to see when each line was last changed
  • The origin remote's owner/name, to label the report (any credentials in the URL are dropped)

What it sends

Nothing during analysis. Two commands reach outside, and only when you run them.

  • Analysis: nothing. No network calls, no upload, no telemetry.
  • submit: opens our submit page with a one-way fingerprint (a hash of the first commit's ID and the remote's owner/name). No code, paths or emails.
  • update: asks GitHub for the latest release number, only when you run it.

Download and verify by hand

Every build and its checksum file are on the releases page. Download your build and SHA256SUMS, check the hash, then put the program somewhere on your PATH. Binaries only; the source isn’t published.

curl -fsSLO https://github.com/afisherdev/octet-codebases-releases/releases/latest/download/octet-codebases-darwin-arm64
curl -fsSLO https://github.com/afisherdev/octet-codebases-releases/releases/latest/download/SHA256SUMS
shasum -a 256 -c SHA256SUMS --ignore-missing
chmod +x octet-codebases-darwin-arm64
mv octet-codebases-darwin-arm64 ~/.local/bin/octet-codebases
Get-FileHash .\octet-codebases-windows-x64.exe -Algorithm SHA256
# compare with the line for octet-codebases-windows-x64.exe in SHA256SUMS

The macOS builds aren’t notarized yet. Installs made with curl run normally. If you download a build in a browser, macOS may block it the first time: allow it under System Settings, Privacy & Security, or run xattr -d com.apple.quarantine octet-codebases-darwin-arm64 after checking the hash.

Rather not install anything? Connect GitHub on the estimate page and we’ll run the same analysis for a private repository.

Go to the estimate