A package manager
and API engine,
built with Go.

FleetDVK generates production-ready backends from a lightweight DSL. Describe your models and routes — get TypeScript, auth, and database layers instantly.

main.dvk
1project "my-api"
2database "supabase"
3framework "express"
4auth "jwt"
5 
6model User {
7 id uuid @primary
8 email string @unique
9 name string
10 role enum [admin, user]
11}
12 
13route "/users" {
14 GET "/" list(User) @auth
15 POST "/" create(User) @admin
16 DELETE "/:id" delete(User) @admin
17}

10 lines of DSL, 200+ lines of generated TypeScript.

Features

Describe intent,
not implementation.

DSL-driven generation

Write your backend spec in a constrained .dvk file. FleetDVK parses it with a hand-written recursive descent parser and outputs clean, typed code.

Package management

Install, update, and remove dependencies from a single CLI. Built-in lockfile support and version resolution.

Multi-framework targets

Generate TypeScript backends for Express, Fastify, or Hono. Same DSL, different runtime. Switch without rewriting.

Auth out of the box

JWT authentication middleware is generated and wired automatically. Session and API key strategies also supported.

Interactive terminal UI

Project scaffolding through a Bubble Tea interface. Choose your database, framework, and auth strategy visually.

Watch mode

fleetdvk dev monitors .dvk files and regenerates the entire backend on save. No restart, no manual step.

Workflow

Three steps,
zero boilerplate.

01

Initialize

Run fleetdvk init. Walk through the interactive setup — pick a framework, database, and auth strategy.

$ fleetdvk init
02

Describe

Write a .dvk file defining models and routes. Or give a plain-English prompt to an LLM and let it write one for you.

$ vim main.dvk
03

Generate

Run fleetdvk generate. The parser reads the DSL, and the generator outputs a complete TypeScript project.

$ fleetdvk generate

Install

Start building

Requires Go 1.22 or later.

$ go install github.com/nopedal/fleetdvk/cmd/fleetdvk@latestcopy