Kits

The instruments of the ensemble

Kits do the real work behind ens build, pack and deploy, each behind one contract. These are the official ones.

Cargo

build/cargo

Build

Builds a Rust crate with cargo, into a native binary.

Ecosystem

  • cargo

#rust

Comes with ens init

Deno bundle

build/deno.bundle

Build

Bundles a TypeScript service into one JavaScript file with deno bundle.

#typescript #deno

Comes with ens init

React

build/react

Build

Builds a React single-page app, or the hydration bundle for a server-rendered one, styled with Tailwind.

#typescript #react #tailwind

Comes with ens init

Static page

build/static-page

Build

Copies an app's public/ folder as it is: a static site with no build step.

#html

Comes with ens init

Deno compile

pack/deno.compile

Pack

Compiles an app into a single native executable with deno compile, and uploads it to a GitHub release.

Publishes to

  • github

#binary

Comes with ens init

Docker

pack/docker

Pack

Packs an app into a container image, a tarball or an OCI layout, and pushes it to a registry.

Modes

  • image
  • tar
  • oci
  • +1

Publishes to

  • push

#containers

Comes with ens init

Tarball

pack/tarball

Pack

Packs an app's build output into a .tar.gz archive.

#archive

Comes with ens init

Tauri

pack/tauri

Pack

Packs a desktop app with Tauri, as a binary or an installer.

Modes

  • binary
  • installer

#desktop #rust

Comes with ens init

VS Code extension

pack/vscode

Pack

Packs a VS Code extension as a folder or a .vsix, and publishes it to the Marketplace.

Modes

  • folder
  • vsix

Publishes to

  • marketplace

#editor

Comes with ens init

AWS

deploy/aws

Deploy

Deploys a workload to managed services in your own AWS account, or to MiniStack on your machine.

Provisions

  • container
  • function
  • gateway
  • +3

#cloud #serverless

Comes with ens init

Cloudflare

deploy/cloudflare

Deploy

Deploys a workload to Cloudflare's edge: Workers, D1 and R2.

Provisions

  • function
  • gateway
  • key-value
  • +1

#cloud #edge #serverless

Comes with ens init

Docker Compose

deploy/compose

Deploy

Runs a workload on one host with Docker Compose: your laptop or a bare-metal box.

Provisions

  • container
  • gateway
  • object-storage
  • +2

#containers #local

Comes with ens init

Rust

ecosystem/cargo

Ecosystem

Makes Rust apps members of one cargo workspace, its files kept under .ensemble.

#rust

Comes with ens init

JSR

lib/jsr

Library

Publishes a library to the JSR registry.

#typescript #registry

Comes with ens init