code-archive
Sourcegraph (public code search)
Code search across millions of public repositories, letting you find where a snippet, identifier, or string appears anywhere in open-source code. You search through the web UI; a GraphQL endpoint also answers public searches without a token. Useful whenever a question spans many codebases at once rather than a single project. The future of the free public tier is uncertain after the company's closed-source pivot, so treat it as a convenience that may change.
No programmatic check — opens the archive’s own search.
Why it’s useful & how it works
Reachable both ways; GraphQL (POST). Future of the free public tier uncertain after the closed-source/Cody AI pivot — link-only for now, monitor.
What’s inside
Millions of public repos.
API access
GraphQL https://sourcegraph.com/.api/graphql (POST; public search needs no token)
Access
Programmatic API access (a key may be required — see the API tag).