vercel-labs/opensrc

★ 2,991⑂ 195

Fetch source code for npm packages to give AI coding agents deeper context

About vercel-labs/opensrc

vercel-labs/opensrc is an open-source project on GitHub, mainly written in Rust. Fetch source code for npm packages to give AI coding agents deeper context It currently holds 2,991 stars and 195 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Coding Agents board.

GitHub Repository Details

Repository vercel-labs/opensrc · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

opensrc

https://github.com/vercel-labs/opensrc/blob/HEAD/Vercel Labs Experiment https://github.com/vercel-labs/opensrc/blob/HEAD/npm version: opensrc https://github.com/vercel-labs/opensrc/blob/HEAD/License: Apache-2.0 https://github.com/vercel-labs/opensrc/blob/HEAD/npm downloads per month: opensrc

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

GitHub Stars & Activity

2,991Stars
195Forks
0Open issues
RustLanguage

GitHub Popularity

GitHub stars2,991
Forks195
Open issues0
Primary languageRust
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

farion1231 / cc-switch

Rust★ 133,873⑂ 9,237
2

openinterpreter / openinterpreter

Rust★ 68,395⑂ 5,884
3

Hmbown / Codewhale

Rust★ 41,014⑂ 3,562
4

herdrdev / herdr

Rust★ 39,914⑂ 3,017
5

TabbyML / tabby

Rust★ 33,883⑂ 1,787
6
7

GCWing / OpenBitFun

Rust★ 2,304⑂ 238
8

zeronsh / zeron

Rust★ 1,827⑂ 189

More AI Rankings