v0.1.0MPL-2.0Docs

VampCode Docs

Programming language and sandboxed runtime for building apps in one language — frontend UI, local backend, and APIs on a custom Rust VM.

What you build

You write .vamp source. The toolchain compiles and runs it. FE and BE share the same language.

Kindvamp.tomlWhat vampcode run . does
Desktop kind = "desktop" Boots backend, then opens a native window
Web kind = "web" Boots backend, serves UI on localhost, opens your browser
Mobile kind = "mobile" Boots backend, opens a native design window (mobile-first)
Backend kind = "backend" Services only — no UI surface
Web apps open in the browser If you chose Web at create time, kind = "web" must be set in vamp.toml. That routes run to the browser preview instead of a desktop window.

Install (one command)

Hosted on Cloudflare Workers — no Rust required for Windows prebuilts.

irm https://vampcode.vampelium.workers.dev/install.ps1 | iex
curl -fsSL https://vampcode.vampelium.workers.dev/install.sh | bash

Quick path

vampcode create
# [1] Desktop  [2] Web  [3] Mobile  [4] Backend
cd my-web-app
vampcode run .

Core ideas

One language

UI components, business logic, and local API handlers — all in .vamp.

File-based routes

Pages under app/, APIs under app/server/.

Capability sandbox

No ambient filesystem, process, or network access.

Native + web

Desktop/mobile windows; web kind previews in the browser.