opensrc
JSON →CLI tool for fetching and caching source code of packages from npm, PyPI, crates.io, and GitHub/GitLab/Bitbucket repositories. v0.7.2 (active). Resolves packages from registry APIs, shallow-clones at correct version tags from lockfiles, and caches globally at ~/.opensrc/. Key differentiator: gives AI coding agents offline, structured access to raw source code without runtime dependencies per invocation (native Rust binary). Supports multiple registries with prefix syntax and concurrent fetching.