Proyek
Lihat di GitHub
vercel-labs/opensrc
Tentang
Mengambil kode sumber paket npm untuk memberikan konteks yang lebih mendalam kepada agen pemrograman AI
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +2
- dalam 15 hari
- +5
- dalam 1 bulan
- +15
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asliopensrc
Give coding agents access to any package's source code.
Quick Start
npm install -g opensrc
# Search a package's source
rg "parse" $(opensrc path zod)
# Read a specific file
cat $(opensrc path zod)/src/types.ts
# Works with any registry
find $(opensrc path pypi:requests) -name "*.py"
opensrc path fetches on first use, then returns the cached path instantly. See the CLI readme for full usage.
Packages
| Package | Description |
|---|---|
opensrc |
CLI — fetch and cache source code from npm, PyPI, crates.io, and GitHub |
@opensrc/docs |
Documentation site |
Development
This is a Turborepo monorepo using pnpm workspaces. Use Node.js 24+ and pnpm 11.
pnpm install
turbo build
turbo dev
CLI (Rust)
cargo build --manifest-path packages/opensrc/cli/Cargo.toml
cargo test --manifest-path packages/opensrc/cli/Cargo.toml
cargo fmt --manifest-path packages/opensrc/cli/Cargo.toml
cargo clippy --manifest-path packages/opensrc/cli/Cargo.toml -- -D warnings
Docs (Next.js)
cd apps/docs
pnpm dev
License
Apache-2.0
Jelajahi proyek terkait
Memuat…