emulate
Local drop-in replacement services for CI and no-network sandboxes. Fully stateful, production-fidelity API emulation. Not mocks.
Give coding agents access to any package's source code.
$ npx -y skills add vercel-labs/opensrc --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
Repo: vercel-labs/opensrc
What's inside
Give coding agents access to any package's source code.
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.
| Package | Description |
|---|---|
opensrc | CLI โ fetch and cache source code from npm, PyPI, crates.io, and GitHub |
@opensrc/docs | Documentation site |
This is a Turborepo monorepo using pnpm workspaces. Use Node.js 24+ and pnpm 11.
pnpm install
turbo build
turbo dev
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
cd apps/docs
pnpm dev
Apache-2.0
.github/
workflows/
ci.yml
release.yml
.gitignore
.node-version
AGENTS.md
apps/
docs/
.env.example
next.config.mjs
package.json
postcss.config.mjs
public/
Geist-Regular.ttf
GeistPixel-Square.ttf
src/
app/
api/
docs-chat/
route.ts
search/
route.ts
auth/
layout.tsx
page.mdx
commands/
layout.tsx
page.mdx
favicon.ico
globals.css
how-it-works/
layout.tsx
page.mdx
layout.tsx
og/
[...slug]/
route.tsx
og-image.tsx
route.tsx
page.mdx
registries/
layout.tsx
page.mdx
components/
code.tsx
docs-chat.tsx
docs-mobile-nav.tsx
docs-nav.tsx
search.tsx
theme-provider.tsx
theme-toggle.tsx
ui/
dialog.tsx
sheet.tsx
lib/
docs-navigation.ts
github.ts
mdx-to-markdown.ts
page-metadata.ts
page-titles.ts
rate-limit.ts
search-index.ts
utils.ts
mdx-components.tsx
tsconfig.json
CHANGELOG.md
LICENSE
package.json
packages/
opensrc/
bin/
opensrc.js
cli/
Cargo.lock
Cargo.toml
src/
commands/
clean.rs
fetch.rs
list.rs
mod.rs
path.rs
remove.rs
core/
cache.rs
error.rs
fetcher.rs
git.rs
mod.rs
registries/
crates.rs
mod.rs
npm.rs
pypi.rs
repo.rs
version.rs
main.rs
tests/
fixtures/
pnpm-v9-workspace.yaml
yarn-berry.lock
yarn-v1.lock
package.json
README.md
scripts/
check-version-sync.js
copy-native.js
postinstall.js
sync-version.js
pnpm-lock.yaml
pnpm-workspace.yaml
README.md
skills/
opensrc/
SKILL.md
turbo.jsonLocal drop-in replacement services for CI and no-network sandboxes. Fully stateful, production-fidelity API emulation. Not mocks.
Browser automation CLI for AI agents. Fast native Rust CLI.
The Generative UI framework. Generate dynamic, personalized UIs from prompts without sacrificing reliability. Predefined components and actions for safe, predictable output.
FAQ
opensrc is a Claude Code plugin with 1 hand-picked skill for development work, indexed on Flowy. Install it with the command on its page. It includes opensrc. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.