claudable
Claudable is an open-source web app builder that uses local CLI agents such as Claude Code, Codex and Gemini CLI to generate, preview and deploy projects from natural language prompts.
Generates type-safe TypeScript API clients, query hooks, Zod schemas and MSW mocks from OpenAPI or Swagger specs in YAML or JSON. Built for developers wiring frontends and backends to REST APIs.
Claude Code
> /plugin marketplace add orval-labs/orval
Codex
$ npx skills add orval-labs/orval --skill orval -a codex
Cursor
$ npx skills add orval-labs/orval --skill orval -a cursor
Gemini CLI
$ npx skills add orval-labs/orval --skill orval -a gemini-cli
GitHub Copilot
$ npx skills add orval-labs/orval --skill orval -a github-copilot
OpenCode
$ npx skills add orval-labs/orval --skill orval -a opencode
Windsurf
$ npx skills add orval-labs/orval --skill orval -a windsurf
orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats.
Important Version 8.0.0+ comes with a lot of improvements and changes please see the Migration Guide
generate models, requests, hooks, mocks and more, for these supported clients:
You can find some samples below:
Try Orval out for yourself using our Playground application!
Orval 8+ requires Node.js 22.18 or newer. Projects on an older Node LTS can run code generation with the official Docker image.
Basic usage
# macOS / Linux
docker run --rm -v "$(pwd):/app" -w /app ghcr.io/orval-labs/orval
# Windows Git Bash
MSYS_NO_PATHCONV=1 docker run --rm -v "$(pwd):/app" -w /app ghcr.io/orval-labs/orval
# Windows CMD
cd /d "C:\path\to\your-project"
docker run --rm -v "%cd%:/app" -w /app ghcr.io/orval-labs/orval
# Windows PowerShell
cd "C:\path\to\your-project"
docker run --rm -v "${PWD}:/app" -w /app ghcr.io/orval-labs/orval
Local API (localhost โ host.docker.internal)
# macOS / Linux
docker run --rm -v "$(pwd):/app" -w /app -e ORVAL_SWAGGER_URL="https://host.docker.internal:7142/swagger/v1/swagger.json" -e NODE_TLS_REJECT_UNAUTHORIZED=0 ghcr.io/orval-labs/orval --config ./orval.config.ts
# Linux (native Docker)
docker run --rm --add-host=host.docker.internal:host-gateway -v "$(pwd):/app" -w /app -e ORVAL_SWAGGER_URL="https://host.docker.internal:7142/swagger/v1/swagger.json" -e NODE_TLS_REJECT_UNAUTHORIZED=0 ghcr.io/orval-labs/orval --config ./orval.config.ts
# Windows Git Bash
MSYS_NO_PATHCONV=1 docker run --rm -v "$(pwd):/app" -w /app -e ORVAL_SWAGGER_URL="https://host.docker.internal:7142/swagger/v1/swagger.json" -e NODE_TLS_REJECT_UNAUTHORIZED=0 ghcr.io/orval-labs/orval --config ./orval.config.ts
# Windows CMD
cd /d "C:\path\to\your-project"
docker run --rm -v "%cd%:/app" -w /app -e "ORVAL_SWAGGER_URL=https://host.docker.internal:7142/swagger/v1/swagger.json" -e "NODE_TLS_REJECT_UNAUTHORIZED=0" ghcr.io/orval-labs/orval --config ./orval.config.ts
# Windows PowerShell
cd "C:\path\to\your-project"
docker run --rm -v "${PWD}:/app" -w /app -e ORVAL_SWAGGER_URL="https://host.docker.internal:7142/swagger/v1/swagger.json" -e NODE_TLS_REJECT_UNAUTHORIZED=0 ghcr.io/orval-labs/orval --config ./orval.config.ts
Replace ghcr.io/orval-labs/orval with orval:local when testing locally before the official image is published. See the installation docs for details.
First of all, we do not reject the use of AI agents outright. That said, please do not submit AI-generated output in a PR without reviewing it yourself. Every change must have a clear intent and purpose โ do not submit changes you cannot explain in your own words. Making the effort to understand orval's codebase, TypeScript, and API clients beforehand, and reviewing what AI produces, is the contributor's responsibility, not the reviewer's. Finally, we will continue to welcome new contributors and actively support you through review and iteration.
See CONTRIBUTING.md for details.
This project uses Bun for package management and building. Bun install guide.
vp run nuke:all - Completely clean your workspace by removing all build artifacts, node_modules, and cached files. Use this when you want to start fresh.
vp run build - Build the project and make changes available to the workspace. Run this after making code changes to compile TypeScript and prepare the project for use.
vp run typecheck - Run TypeScript type checking across all packages.
vp run test - Run unit tests in all packages.
vp run update-samples - Generate sample outputs using the newly built version of Orval. This regenerates the sample code based on the current build.
vp run test:samples - Run tests in the samples directory using the newly generated output from update-samples.
vp run test:snapshots - Run snapshot tests to verify generated sample outputs match the committed snapshots. Fails if any generated file differs from its snapshot.
vp run test:snapshots:update - Regenerate snapshot files to match the current generated output. Run this after vp run update-samples when the generated output has intentionally changed.
vp run test:cli - Test that the generated output (not samples) is valid TypeScript. This validates the TypeScript compilation of the generated code.
A typical development workflow would be:
vp run build to compile your changesvp run typecheck to verify package typingsvp run lint to catch lint issues earlyvp run test to run unit tests in packagesvp run test:snapshots to verify generated output matches snapshotsIf step 6 fails because the generated output has intentionally changed, run vp run test:snapshots:update to update the snapshots.
If you encounter issues or want to start completely fresh:
vp run nuke:all to clean everythingThank you to all our sponsors! ๐ป
Support orval development by Open Collective and your logo will be displayed here with a link to your website.
Thank you to all our backers! ๐
Support us with a one-time donation and help us continue our activities on Open Collective.
Note: After becoming a sponsor or backer, please contact us on Discord to upload your logo.
Claudable is an open-source web app builder that uses local CLI agents such as Claude Code, Codex and Gemini CLI to generate, preview and deploy projects from natural language prompts.
Guides Claude Code to write, fix, and refactor Go code in modern, idiomatic style, applying version-specific Go guidance from the Modern Go Guidelines CLI.
A restored Claude Code source tree rebuilt mainly from source maps, not the original upstream repository. It includes skills for building against Anthropic APIs and for verifying code changes by running the app.
Gives Claude Code a structural map of a codebase before it reads the code, and checks its changes for blast radius, broken contracts, and which tests to run. Includes skills for C++ output formatting and bug localization from symptoms.
Generates type-safe TypeScript API clients, query hooks, Zod schemas and MSW mocks from OpenAPI or Swagger specs in YAML or JSON. Built for developers wiring frontends and backends to REST APIs. Install it with the command on its page. It includes orval. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it