Introduction

How LILY deploys a repository, which frameworks it supports and which features are not available yet.

LILY builds and runs apps from GitHub repositories. It detects the apps in a repository, proposes their configuration, builds them and runs each one under its own address.

You work with LILY in the console at platform.lilylabs.io or with the CLI, lly. Both operate on the same projects.

How a deploy works

A deploy runs as a pipeline that pauses twice for your input.

Fetch
from GitHub
Detect
find apps
Select
choose apps
Analyze
propose config
Configure
confirm config
Build
per app
Roll out
start
copperfox
Live
copperfox.lilylabs.app
Pipeline of a repository. Dashed steps require your input.
  1. Fetch. LILY downloads the repository at the selected branch through your GitHub connection. Your GitHub token stays in LILY's authentication service.
  2. Detect. LILY searches the repository root and the first level of folders such as apps/, packages/ and services/. Each match is a root.
  3. Select. You choose the roots to deploy. Each root becomes an app.
  4. Analyze. LILY reads the code of the selected apps and proposes environment variables, ports, databases and connections between the apps.
  5. Configure. You review the proposal, add missing values and confirm.
  6. Build. Each app is built separately and compiled to WebAssembly.
  7. Roll out. The build starts on a LILY machine. The app is live at https://<slug>.lilylabs.app.

Detection and analysis run in isolated environments without network access. The build has network access to install dependencies. Deployments describes each stage.

Supported frameworks

FrameworkDetected by
Next.jsnext in package.json
JavaScript and Node.jsAny other package.json, including Express, Hono, Fastify, Nest, Vite, SvelteKit, Nuxt, Astro and Remix
Reactreact-scripts in package.json
RustCargo.toml
C and C++CMakeLists.txt or Makefile

Next.js is the most mature runtime. The other frameworks are supported and newer. Python is not supported yet. Go is detected but cannot be built yet. Docker images are not supported.

Dependencies are installed with npm, pnpm or yarn, depending on the lockfile.

Current limitations

These features are not available yet:

  • Deploys on push. LILY does not watch repositories. Deploy from the console or with lly deploy.
  • Unattended CI pipelines. lly runs in a pipeline, but credentials for pipelines are not available yet. See CI/CD.
  • Preview deployments for pull requests.
  • Database provisioning. Databases can be added to apps but are not created. See Databases.
  • Usage metrics for requests, CPU and memory.
  • Python apps.
  • Go apps. Go is detected but cannot be built yet.

Next steps

On this page