Source
Query the public GitHub repository universe with SQL
Every public GitHub origin the Software Heritage archive has observed — 408 million repositories keyed by owner, including ones since deleted, renamed, or taken private — queryable with read-only SQL.
Query surfaces
github.reposgithub.documents
Software Heritage graph export (AWS Open Data), owner-keyed projection of GitHub origins.
Best for
a person’s entire public repository footprint in one keyed lookup
deleted-repo archaeology: latest_status = 'not_found' rows are repositories the forge does not serve today
archive-observation liveness — first and last full visit, visit count
Fields
owner_lcname_lcownernameoriginlatest_statuslatest_visit_atfirst_full_visit_atlast_full_visit_atn_full_visitslatest_full_snapshotexport
Read live from the schema registry for github.repos — 12 columns. Every relation's full contract is served by /v1/scry/schema.
Queries
One owner’s whole portfolio
Keyed by lowercase login; newest-visited first.
SELECT owner, name, latest_status, first_full_visit_at, last_full_visit_at, n_full_visits
FROM github.repos
WHERE owner_lc = 'torvalds'
ORDER BY last_full_visit_at DESC
LIMIT 20;
Repositories the forge does not serve today
Deleted, renamed, or private-now repositories the archive still remembers.
SELECT owner, name, latest_visit_at
FROM github.repos
WHERE owner_lc = 'torvalds'
AND latest_status = 'not_found'
ORDER BY latest_visit_at DESC
LIMIT 20;