[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74678":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},74678,"opensrc","vercel-labs\u002Fopensrc","vercel-labs","Fetch source code for npm packages to give AI coding agents deeper context","https:\u002F\u002Fopensrc.sh",null,"Rust",2546,164,10,7,0,39,116,603,117,28.65,"Apache License 2.0",false,"main",true,[27,28,29,30,31,32,33,34,35,36],"ai","ai-coding","cli","coding-agents","developer-tools","llm","nodejs","npm","source-code","typescript","2026-06-12 02:03:26","# opensrc\n\nGive coding agents access to any package's source code.\n\n## Quick Start\n\n```bash\nnpm install -g opensrc\n```\n\n```bash\n# Search a package's source\nrg \"parse\" $(opensrc path zod)\n\n# Read a specific file\ncat $(opensrc path zod)\u002Fsrc\u002Ftypes.ts\n\n# Works with any registry\nfind $(opensrc path pypi:requests) -name \"*.py\"\n```\n\n`opensrc path` fetches on first use, then returns the cached path instantly. See the [CLI readme](packages\u002Fopensrc\u002FREADME.md) for full usage.\n\n## Packages\n\n| Package | Description |\n|---------|-------------|\n| [`opensrc`](packages\u002Fopensrc) | CLI — fetch and cache source code from npm, PyPI, crates.io, and GitHub |\n| [`@opensrc\u002Fdocs`](apps\u002Fdocs) | Documentation site |\n\n## Development\n\nThis is a [Turborepo](https:\u002F\u002Fturbo.build) monorepo using [pnpm](https:\u002F\u002Fpnpm.io) workspaces.\n\n```bash\npnpm install\nturbo build\nturbo dev\n```\n\n### CLI (Rust)\n\n```bash\ncargo build --manifest-path packages\u002Fopensrc\u002Fcli\u002FCargo.toml\ncargo test --manifest-path packages\u002Fopensrc\u002Fcli\u002FCargo.toml\ncargo fmt --manifest-path packages\u002Fopensrc\u002Fcli\u002FCargo.toml\ncargo clippy --manifest-path packages\u002Fopensrc\u002Fcli\u002FCargo.toml -- -D warnings\n```\n\n### Docs (Next.js)\n\n```bash\ncd apps\u002Fdocs\npnpm dev\n```\n\n## License\n\nApache-2.0\n","opensrc 是一个用于获取 npm 包源代码的工具，旨在为 AI 编码助手提供更深层次的上下文信息。其核心功能是通过命令行界面（CLI）快速下载并缓存来自 npm、PyPI、crates.io 和 GitHub 等仓库的软件包源代码，支持多种编程语言和包管理器。该工具使用 Rust 语言编写，确保了高性能与安全性，并且易于集成到现有的开发工作流中。适用于需要对第三方库进行深入分析或希望增强基于 AI 的编码辅助工具能力的开发者场景。",2,"2026-06-11 03:50:23","high_star"]