Two authors, one IR
TypeScript or Python compile to the same canonical Runtime IR.
Deterministic software generation
Describe your software once in TypeScript or Python. Dryv plans every file, generates it through reusable packs, and explains why each one exists.
import { dryv, field, property, schema } from "@dryvcode/author";
const shop = dryv.group({ name: "shop" });
const values = shop.properties({
Id: property.string.uuid(),
Name: property.string(),
Price: property.number.money({ currency: "USD" }),
});
shop.schemas({
Product: schema({
id: field(values.Id).system(),
name: field(values.Name),
price: field(values.Price),
}),
});
export default dryv.app({ name: "shop" }).groups(shop);
version: dryv/v1alpha1
sources:
authoring:
main: { type: typescript, path: dryv/contracts, entrypoint: index.ts }
packs:
api:
source: { $ref: "#/sources/packs/official", path: inject/backend/nestjs }
destination: { $ref: "#/destinations/server" }
entities:
source: { $ref: "#/sources/packs/official", path: inject/persistence/typeorm-entities }
destination: { $ref: "#/destinations/entities" }
build:
default_action: generate
src/server/shop/product.controller.tsNestJSsrc/server/shop/product.service.tsNestJSsrc/entities/product.entity.tsTypeORMsrc/dto/create-product.dto.tsclass-validatorsrc/dto/update-product.dto.tsclass-validatorsrc/client/product.client.tsTS clientHOW IT WORKS
You describe software once. Dryv compiles it to a canonical IR, plans every file through reusable packs, and shows you the diff before anything is written.
WHAT YOU GET
TypeScript or Python compile to the same canonical Runtime IR.
See every file, template and path first. Nothing changes until you approve.
dryv why and dryv explain trace a file to its cause.
Managed-file drift is detected. Keep, overwrite or undo.
NestJS, TypeORM, Zod, Joi, FastAPI, Next.js, Flutter and more, pinned to a commit.
--json output, stable codes, built-in guides and an AGENTS.md block.
PACKS
Swap NestJS for FastAPI or add a Flutter client without touching your definitions.
Ruby Active Record models with typed attributes, primary keys and associations.
backendActix Web BackendActix Web handlers with shared serde models and separated async services.
validationHaskell Aeson ValidationHaskell Aeson wire models with explicit decoding and generated validation.
backendASP.NET Core BackendASP.NET Core endpoint mappings with typed models and DI service boundaries.
backendAxum BackendAxum routers and service traits with serde models for Rust backends.
testingBruno CollectionRunnable Bruno/OpenCollection YAML requests with status assertions.
validationclass-validator DTOsclass-validator DTO classes with field limits, formats and invariants.
clientsClojure Client SDKClojure SDK using java.net.http with map-based JSON operations.
backendCohttp BackendOCaml Cohttp/Lwt server routes with Yojson models and explicit service boundaries.
clientsC++ Client SDKC++20 cpr client SDK with generated JSON models and typed operations.
validationC++ ValidationC++20 generated validation helpers over nlohmann/json wire models.
backendCrow BackendCrow route registration with typed wire models and separated service interfaces.
clientsC# Client SDKTyped .NET 10 HttpClient SDK using System.Text.Json.
clientsDart Client SDKA typed Dart client SDK for the application's HTTP API.
persistenceDoctrine ORM EntitiesDoctrine ORM entities with typed columns, keys and indexes.
validationdry-validation ContractsRuby models with dry-validation contracts and generated constraint rules.
validationEcto Changeset ValidationEcto changeset validators over generated Elixir wire structs.
persistenceEcto SchemasEcto schema modules with keys, typed fields and explicit associations.
persistenceEF Core EntitiesEF Core 10 entities and fluent mappings with keys, indexes and relations.
clientsElixir Client SDKReq-based Elixir HTTP client SDK with generated wire structs and operations.
persistenceExposed TablesExposed 1.5 tables with keys, indexes, foreign keys and portable column mappings.
backendFastAPI BackendFastAPI routers and Pydantic models.
persistenceFluent ModelsVapor Fluent models and migrations with keys, unique constraints and foreign keys.
validationFluentValidation DTOsSystem.Text.Json DTOs with FluentValidation 12 validators.
clientsFlutter API BridgeA Dart/Flutter package over flutter_api_bridge with typed features, endpoints and models.
frontendFlutter AppA Flutter app from views — feature screens, go_router routes, Riverpod state, a connectivity gate, calls through flutter-api-bridge.
backendGin BackendGin handlers with typed Go models and separated service boundaries.
clientsGo Client SDKA standard-library Go HTTP client SDK with typed models, enums and operations.
backendGo net/http BackendStandard-library Go net/http handlers with typed models and service boundaries.
persistenceGORM EntitiesGo GORM entities with storage names, keys, indexes and relations.
validationGo Validator DTOsGo DTOs with validator tags and generated custom validators.
clientsHaskell Client SDKTyped Haskell HTTP client with Aeson wire models and explicit operation functions.
validationHaskell ValidationHaskell Aeson models with generated pure validation functions.
backendhttp4s Backendhttp4s route libraries with typed Circe models and separated service traits.
testingHTTP Contract CasesPortable JSON contract cases for cross-language backend and client test harnesses.
documentationHTTP ExamplesCopy-paste HTTP examples derived from canonical Dryv HTTP bindings.
testingHTTP Smoke TestsPlain .http smoke requests for IDE and REST-client workflows.
backendJakarta REST BackendPortable Jakarta REST resources with service boundaries and typed Jackson models.
validationJakarta Validation DTOsPortable Java DTO classes and enums using Jakarta Validation.
clientsJava Client SDKTyped Java HTTP client SDK using the standard HttpClient and Jackson.
validationJoi schemasJoi schemas with field limits, formats and invariants.
persistenceJPA EntitiesPortable Jakarta Persistence entities with keys, indexes and relations.
validationJSON SchemaPortable JSON Schema 2020-12 documents for Dryv schemas.
testingk6 Smoke Testsk6 HTTP smoke/load script generated from canonical effective routes.
clientsKotlin Client SDKCoroutine-first Ktor Client SDK with kotlinx.serialization models.
validationKotlinx ValidationKotlin serializable DTOs with generated validation objects and invariant checks.
backendKtor BackendKtor 3.6 routes with typed serializable models and coroutine service boundaries.
Idiomatic Clojure Malli schemas with nested validation and canonical enums.
documentationMarkdown ReferenceRuntime-IR-driven Markdown catalogues for schemas, operations, policies, failures, events and workflows.
persistenceMongoose Models@nestjs/mongoose schema classes with typed props, references, indexes and invariants.
backendNestJS Backend AdapterNestJS feature controllers, services and modules for HTTP operations.
backendNestJS ApplicationNestJS application shell with bootstrap, package and tooling around the generated AppModule.
clientsNext API BridgeNext.js server actions over next-api-bridge, with routes, form actions and types.
persistencenext.jdbc ModelsClojure next.jdbc metadata and CRUD helpers for Dryv entity schemas.
frontendNext.js AppNext.js App Router pages from views, typed API calls and schema-driven forms.
clientsOCaml Client SDKTyped OCaml Cohttp/Lwt client with Yojson wire models and generated operations.
documentationOpenAPIOpenAPI 3.1 API description using canonical effective HTTP paths and JSON Schema artifacts.
testingPersistence Contract CasesPortable JSON persistence cases for testing ORM and migration mappings across languages.
documentationPersistence ReferenceStorage, key, index and relation reference for persistent schemas.
persistencePersistent ModelsHaskell Persistent models with explicit keys, unique constraints and foreign-key lifecycle.
backendPhoenix BackendPhoenix JSON transport with generated wire structs and explicit service-module bindings.
clientsPHP Client SDKTyped PHP Guzzle client SDK with generated DTOs and HTTP operations.
testingPostman CollectionRunnable Postman HTTP collection with generated request placeholders.
validationPydantic ModelsStandalone Pydantic v2 schema and validation package.
clientsPython Client SDKAsync HTTPX client SDK with shared Pydantic models and typed operations.
frontendReact CRUD FormsPure Handlebars React forms driven by create/update operations and their input DTO semantics.
frontendReact Native AppAn Expo app from views — feature screens, expo-router routes, TanStack Query hooks, a connectivity gate, calls through ts-api-client.
backendReitit BackendReitit/Ring backend with Muuntaja JSON and separated feature services.
clientsRuby Client SDKRuby Net::HTTP client SDK with generated models, operations and structured errors.
clientsRust Client SDKTyped async Rust HTTP client SDK using reqwest and serde.
validationScala Circe ValidationScala 3.9 Circe models with reusable generated validators.
clientsScala Client SDKScala 3.9 async HTTP client SDK using JDK HttpClient and Circe.
testingSchema Contract CasesPortable JSON schema cases describing fields, constraints, defaults, enums and invariants.
testingSchema ExamplesCanonical schema examples exported as JSON fixtures for tests and tooling.
backendScotty BackendHaskell Scotty routes with Aeson models and separated IO service records.
persistenceSeaORM EntitiesSeaORM 2.x entity models with primary keys and canonical relations.
persistenceSequel ModelsConnection-neutral Sequel models with schema, indexes and explicit foreign keys.
backendSinatra BackendSinatra route registration with shared Ruby wire models and explicit service injection.
persistenceSlick TablesProfile-neutral Slick table-support traits with keys, indexes and relations.
backendSpring Boot BackendSpring MVC controllers with shared Jackson models and separated service boundaries.
persistenceSQLAlchemy ModelsSQLAlchemy 2.1 declarative models with keys, indexes and typed columns.
persistencesqlite_orm Modelssqlite_orm storage models with keys, indexes and foreign-key lifecycle actions.
clientsSwift Client SDKDependency-free Swift URLSession SDK with Codable wire types.
validationSwift Codable ValidationSwift Codable models with generated constraint validation.
backendSymfony BackendSymfony controllers with typed DTOs and separated service boundaries.
validationSymfony Validator DTOsFramework-neutral PHP DTOs with reusable Symfony Validator classes.
clientsTypeScript API ClientA framework-free TypeScript API client over fetch, with typed models and one call per operation.
persistenceTypeORM EntitiesTypeORM entities with typed columns, relations, checks and indexes.
typesTypeScript typesShared TypeScript enums, type aliases and schema interfaces for other packs to import.
validationRust Validator DTOsRust serde DTOs with derive-based validator constraints.
backendVapor BackendVapor 4 route registration with pure Codable models and separated services.
validationOCaml Yojson ValidationOCaml Yojson models with generated pure validation helpers.
validationZod schemaszod schemas with field limits, formats and invariants.
QUICK START
INSTALL
One line installs the dryv command and its local server. No Node.js, Python or sudo needed.
curl -fsSL https://dryvcode.com/install.sh | sh~/.dryv and links ~/.dryv/bin/dryv.DRYV_VERSION=0.1.0 pins a version.DRYV_CHANNEL=preview picks the channel (default stable).DRYV_INSTALL_DIR changes the folder.curl -fsSL https://dryvcode.com/install.sh | DRYV_VERSION=0.1.0 sh
Desktop, VS Code, Android and direct downloads with checksums: all downloads
Clients
Authoring
Engine
VS Code extension: plans, diagnostics and generation inside the editor.
ext install dryvcode.dryv-vscodeSearch “Dryv” in the Extensions view (Open VSX for VSCodium, Cursor and Windsurf), or install the .vsix from GitHub Releases.
Step by step: Installation · How a project flows through Dryv
OPEN SOURCE
The Dryv Engine, the authoring SDKs and the compilers are licensed under Apache-2.0. Run them yourself, read how they work, and help make them better.
DRYV PLATFORM
The Platform is the hosted part of Dryv. It syncs your work through the Platform API to the web app and the mobile app, syncs tasks, hosts publishing and private packs, and runs the Playground. The CLI, VS Code and the desktop app work with a local Engine and need no login or key.
Sign in once and your projects sync through the Platform API to the web app and the mobile app.
Tasks follow you between your computer, the web app and your phone.
Install public packs without an account. Sign in to publish your own and to use private packs.
Run a project in a hosted workspace with its own Engine, then preview or download the output.
The CLI, VS Code and the desktop app run a local Engine on your machine. No account, no key.
EXTENSION POINTS
Authors and renderers are separate, so mix them freely.
Author in
Render with
Start with the docs, build your first dryv.yaml, and inspect what Dryv intends to do before anything changes.