Deterministic software generation

Don't repeat yourself.Define it once.

Describe your software once in TypeScript or Python. Dryv plans every file, generates it through reusable packs, and explains why each one exists.

93
PACKS
2
AUTHORS
4
RENDERERS
1
ENGINE
ts
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);

HOW IT WORKS

One meaning. Every layer of your stack.

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.

AuthorTypeScript · PythonRuntime IRone canonical meaningPacksNestJS · FastAPI · Next.jsYour codeplanned, diffed, traced

WHAT YOU GET

A generator you can trust with your repository.

Two authors, one IR

TypeScript or Python compile to the same canonical Runtime IR.

Plan before write

See every file, template and path first. Nothing changes until you approve.

Explain everything

dryv why and dryv explain trace a file to its cause.

Safe with your edits

Managed-file drift is detected. Keep, overwrite or undo.

Official packs

NestJS, TypeORM, Zod, Joi, FastAPI, Next.js, Flutter and more, pinned to a commit.

Built for CI and agents

--json output, stable codes, built-in guides and an AGENTS.md block.

PACKS

The implementation is a plug-in.

Swap NestJS for FastAPI or add a Flutter client without touching your definitions.

Browse all 93 packs
persistenceActive Record Models

Ruby Active Record models with typed attributes, primary keys and associations.

backendActix Web Backend

Actix Web handlers with shared serde models and separated async services.

validationHaskell Aeson Validation

Haskell Aeson wire models with explicit decoding and generated validation.

backendASP.NET Core Backend

ASP.NET Core endpoint mappings with typed models and DI service boundaries.

backendAxum Backend

Axum routers and service traits with serde models for Rust backends.

testingBruno Collection

Runnable Bruno/OpenCollection YAML requests with status assertions.

validationclass-validator DTOs

class-validator DTO classes with field limits, formats and invariants.

clientsClojure Client SDK

Clojure SDK using java.net.http with map-based JSON operations.

backendCohttp Backend

OCaml Cohttp/Lwt server routes with Yojson models and explicit service boundaries.

clientsC++ Client SDK

C++20 cpr client SDK with generated JSON models and typed operations.

validationC++ Validation

C++20 generated validation helpers over nlohmann/json wire models.

backendCrow Backend

Crow route registration with typed wire models and separated service interfaces.

clientsC# Client SDK

Typed .NET 10 HttpClient SDK using System.Text.Json.

clientsDart Client SDK

A typed Dart client SDK for the application's HTTP API.

persistenceDoctrine ORM Entities

Doctrine ORM entities with typed columns, keys and indexes.

validationdry-validation Contracts

Ruby models with dry-validation contracts and generated constraint rules.

validationEcto Changeset Validation

Ecto changeset validators over generated Elixir wire structs.

persistenceEcto Schemas

Ecto schema modules with keys, typed fields and explicit associations.

persistenceEF Core Entities

EF Core 10 entities and fluent mappings with keys, indexes and relations.

clientsElixir Client SDK

Req-based Elixir HTTP client SDK with generated wire structs and operations.

persistenceExposed Tables

Exposed 1.5 tables with keys, indexes, foreign keys and portable column mappings.

backendFastAPI Backend

FastAPI routers and Pydantic models.

persistenceFluent Models

Vapor Fluent models and migrations with keys, unique constraints and foreign keys.

validationFluentValidation DTOs

System.Text.Json DTOs with FluentValidation 12 validators.

clientsFlutter API Bridge

A Dart/Flutter package over flutter_api_bridge with typed features, endpoints and models.

frontendFlutter App

A Flutter app from views — feature screens, go_router routes, Riverpod state, a connectivity gate, calls through flutter-api-bridge.

backendGin Backend

Gin handlers with typed Go models and separated service boundaries.

clientsGo Client SDK

A standard-library Go HTTP client SDK with typed models, enums and operations.

backendGo net/http Backend

Standard-library Go net/http handlers with typed models and service boundaries.

persistenceGORM Entities

Go GORM entities with storage names, keys, indexes and relations.

validationGo Validator DTOs

Go DTOs with validator tags and generated custom validators.

clientsHaskell Client SDK

Typed Haskell HTTP client with Aeson wire models and explicit operation functions.

validationHaskell Validation

Haskell Aeson models with generated pure validation functions.

backendhttp4s Backend

http4s route libraries with typed Circe models and separated service traits.

testingHTTP Contract Cases

Portable JSON contract cases for cross-language backend and client test harnesses.

documentationHTTP Examples

Copy-paste HTTP examples derived from canonical Dryv HTTP bindings.

testingHTTP Smoke Tests

Plain .http smoke requests for IDE and REST-client workflows.

backendJakarta REST Backend

Portable Jakarta REST resources with service boundaries and typed Jackson models.

validationJakarta Validation DTOs

Portable Java DTO classes and enums using Jakarta Validation.

clientsJava Client SDK

Typed Java HTTP client SDK using the standard HttpClient and Jackson.

validationJoi schemas

Joi schemas with field limits, formats and invariants.

persistenceJPA Entities

Portable Jakarta Persistence entities with keys, indexes and relations.

validationJSON Schema

Portable JSON Schema 2020-12 documents for Dryv schemas.

testingk6 Smoke Tests

k6 HTTP smoke/load script generated from canonical effective routes.

clientsKotlin Client SDK

Coroutine-first Ktor Client SDK with kotlinx.serialization models.

validationKotlinx Validation

Kotlin serializable DTOs with generated validation objects and invariant checks.

backendKtor Backend

Ktor 3.6 routes with typed serializable models and coroutine service boundaries.

validationMalli Schemas

Idiomatic Clojure Malli schemas with nested validation and canonical enums.

documentationMarkdown Reference

Runtime-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 Adapter

NestJS feature controllers, services and modules for HTTP operations.

backendNestJS Application

NestJS application shell with bootstrap, package and tooling around the generated AppModule.

clientsNext API Bridge

Next.js server actions over next-api-bridge, with routes, form actions and types.

persistencenext.jdbc Models

Clojure next.jdbc metadata and CRUD helpers for Dryv entity schemas.

frontendNext.js App

Next.js App Router pages from views, typed API calls and schema-driven forms.

clientsOCaml Client SDK

Typed OCaml Cohttp/Lwt client with Yojson wire models and generated operations.

documentationOpenAPI

OpenAPI 3.1 API description using canonical effective HTTP paths and JSON Schema artifacts.

testingPersistence Contract Cases

Portable JSON persistence cases for testing ORM and migration mappings across languages.

documentationPersistence Reference

Storage, key, index and relation reference for persistent schemas.

persistencePersistent Models

Haskell Persistent models with explicit keys, unique constraints and foreign-key lifecycle.

backendPhoenix Backend

Phoenix JSON transport with generated wire structs and explicit service-module bindings.

clientsPHP Client SDK

Typed PHP Guzzle client SDK with generated DTOs and HTTP operations.

testingPostman Collection

Runnable Postman HTTP collection with generated request placeholders.

validationPydantic Models

Standalone Pydantic v2 schema and validation package.

clientsPython Client SDK

Async HTTPX client SDK with shared Pydantic models and typed operations.

frontendReact CRUD Forms

Pure Handlebars React forms driven by create/update operations and their input DTO semantics.

frontendReact Native App

An Expo app from views — feature screens, expo-router routes, TanStack Query hooks, a connectivity gate, calls through ts-api-client.

backendReitit Backend

Reitit/Ring backend with Muuntaja JSON and separated feature services.

clientsRuby Client SDK

Ruby Net::HTTP client SDK with generated models, operations and structured errors.

clientsRust Client SDK

Typed async Rust HTTP client SDK using reqwest and serde.

validationScala Circe Validation

Scala 3.9 Circe models with reusable generated validators.

clientsScala Client SDK

Scala 3.9 async HTTP client SDK using JDK HttpClient and Circe.

testingSchema Contract Cases

Portable JSON schema cases describing fields, constraints, defaults, enums and invariants.

testingSchema Examples

Canonical schema examples exported as JSON fixtures for tests and tooling.

backendScotty Backend

Haskell Scotty routes with Aeson models and separated IO service records.

persistenceSeaORM Entities

SeaORM 2.x entity models with primary keys and canonical relations.

persistenceSequel Models

Connection-neutral Sequel models with schema, indexes and explicit foreign keys.

backendSinatra Backend

Sinatra route registration with shared Ruby wire models and explicit service injection.

persistenceSlick Tables

Profile-neutral Slick table-support traits with keys, indexes and relations.

backendSpring Boot Backend

Spring MVC controllers with shared Jackson models and separated service boundaries.

persistenceSQLAlchemy Models

SQLAlchemy 2.1 declarative models with keys, indexes and typed columns.

persistencesqlite_orm Models

sqlite_orm storage models with keys, indexes and foreign-key lifecycle actions.

clientsSwift Client SDK

Dependency-free Swift URLSession SDK with Codable wire types.

validationSwift Codable Validation

Swift Codable models with generated constraint validation.

backendSymfony Backend

Symfony controllers with typed DTOs and separated service boundaries.

validationSymfony Validator DTOs

Framework-neutral PHP DTOs with reusable Symfony Validator classes.

clientsTypeScript API Client

A framework-free TypeScript API client over fetch, with typed models and one call per operation.

persistenceTypeORM Entities

TypeORM entities with typed columns, relations, checks and indexes.

typesTypeScript types

Shared TypeScript enums, type aliases and schema interfaces for other packs to import.

validationRust Validator DTOs

Rust serde DTOs with derive-based validator constraints.

backendVapor Backend

Vapor 4 route registration with pure Codable models and separated services.

validationOCaml Yojson Validation

OCaml Yojson models with generated pure validation helpers.

validationZod schemas

zod schemas with field limits, formats and invariants.

QUICK START

From zero to generated in four commands.

  1. 1Install
  2. 2Describe
  3. 3Add a pack
  4. 4Generate

INSTALL

Install Dryv. Copy one line.

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

What this does

  • Downloads the release for your OS and CPU and verifies its signature and sha256.
  • Installs to ~/.dryv and links ~/.dryv/bin/dryv.
  • Never asks for sudo or administrator rights.

Options

  • 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

Authoring libraries, editor and engine

Clients

Authoring

Engine

dryv-vscode

VS Code
Open VSX

VS Code extension: plans, diagnostics and generation inside the editor.

$ext install dryvcode.dryv-vscode

Search “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 engine is 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.

What is open

  • The Dryv Engine
  • Authoring SDKs for TypeScript and Python
  • Compilers to the Canonical Runtime IR
  • Template servers, schemas and examples

How to contribute

  1. Read CONTRIBUTING.md and the package README
  2. Branch from develop: feat/…, fix/… or docs/…
  3. Open a pull request into develop, commits signed off

DRYV PLATFORM

Local first. Hosted when you want it.

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.

Sync through the Platform API

Sign in once and your projects sync through the Platform API to the web app and the mobile app.

  • Web app at app.dryvcode.com
  • Mobile app on the same account
  • Download or export your data at any time
Open the web app

Task sync

Tasks follow you between your computer, the web app and your phone.

  • One task list across devices
  • Updates arrive as they happen
  • Organizations with owner, admin, member and viewer roles
Open tasks

Publishing and private packs

Install public packs without an account. Sign in to publish your own and to use private packs.

  • Immutable versions with content integrity
  • Public or private packs, retire and restore
  • Namespace and organization ownership
Browse packs

Playground

Run a project in a hosted workspace with its own Engine, then preview or download the output.

  • The Engine runs inside your Playground workspace
  • Reached only through the Platform API and the Playground
  • Private, unlisted or public preview links
Open the Playground

Local needs no login

The CLI, VS Code and the desktop app run a local Engine on your machine. No account, no key.

  • Validate, plan and generate offline
  • Point a client at your own self-hosted Engine if you like
  • Sign in only for sync, tasks, publishing, private packs and the Playground
About the Platform

EXTENSION POINTS

Your language in. Any language out.

Authors and renderers are separate, so mix them freely.

Author in

  • Python
  • TypeScript
Runtime IRone canonical meaning

Render with

  • Jinja
  • Handlebars
  • Liquid
  • Mustache
  • Emits
  • TypeScript
  • Python
  • Rust
  • Java
  • Go
  • YAML
  • Markdown
  • and more

Understand the plan. Then generate.

Start with the docs, build your first dryv.yaml, and inspect what Dryv intends to do before anything changes.

Get startedExplore concepts