AI development/GitHub/Tool
opensrc
by vercel-labs·Last observed 2026-10-27
★ 3,024 stars⑂ 195 forks
opensrc is a CLI that fetches and caches package source code from npm, PyPI, crates.io, and GitHub so coding agents can inspect it. After the first fetch, `opensrc path` returns the cached location; users can then search or read files there, such as looking up `parse` in a package’s source.
Useful for
- Search a package’s cached source for a symbol such as `parse`, then open a specific source file.
Key features
- It fetches and caches source code from npm, PyPI, crates.io, and GitHub.
- Its `path` command returns the cached source location after the initial fetch.
Requirements & limitations
- The project development instructions specify Node.js 24 or later and pnpm 11.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.