githubworth.com

What are your private repos worth?

Connect a read-only GitHub token. Your token and your code stay in your browser.

Connect a token

Create a fine-grained token for the repos you want priced, with two read-only permissions: Metadata and Contents.

Add your git history

Labs pay for history too, and Pangea says it carries most of a repo's value. Run this in a terminal to count it. 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.