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. LILY downloads the repository at the selected branch through your GitHub connection. Your GitHub token stays in LILY's authentication service.
- Detect. LILY searches the repository root and the first level of folders such as
apps/,packages/andservices/. Each match is a root. - Select. You choose the roots to deploy. Each root becomes an app.
- Analyze. LILY reads the code of the selected apps and proposes environment variables, ports, databases and connections between the apps.
- Configure. You review the proposal, add missing values and confirm.
- Build. Each app is built separately and compiled to WebAssembly.
- 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
| Framework | Detected by |
|---|---|
| Next.js | next in package.json |
| JavaScript and Node.js | Any other package.json, including Express, Hono, Fastify, Nest, Vite, SvelteKit, Nuxt, Astro and Remix |
| React | react-scripts in package.json |
| Rust | Cargo.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.
llyruns 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.