githubworth.com

What are your private repos worth?

Private code you own that was never public is what AI labs license. Connect a host or paste a token, and the count runs in your browser. We never see your code.

Sizes the host reports

Connect your code

Sign in and your browser reads repo names, sizes, languages and commit counts, and the access stays in this tab.

Connect GitHub Connect GitLab

GitHub asks you which repos to share.

Every file, exact

Count with a token

A fine-grained GitHub token with read-only Metadata and Contents, for the repos you want priced, counts each file the way Pangea does and reads the buyer checks. It stays in this tab.

Count your git history exactly

History is most of a repo's value, and only a full clone can count it. Run pre.dev's script on your machine; it prints source, history and the value per repo and sends nothing anywhere. What counts as history.

curl -fsSLO https://api.pre.dev/api/code-licensing/estimate.mjs
node estimate.mjs /path/to/repo

Needs git and Node 18 or newer. Pass one repo, or a folder of repos.

Questions

Does my code leave my computer?

No. Connecting lets your browser read repo names, sizes, languages and commit counts, and a token lets it read file lists. The access lives in this tab and is gone when you close it. We never see your code.