This page is for a developer who wants to build one of Lolly's apps from source. Pick the app below; each guide lists the toolchain it needs, the commands and what the build produces. To host what you build, read Choose a deployment.
Choose a guide
| You want to build | Guide |
|---|---|
| A working checkout to build from | Get the source |
| The command-line and terminal apps, or a packaged CLI | Build the CLI and TUI |
| The desktop app for macOS, Windows or Linux | Build the desktop app |
| The Android app | Build the mobile apps |
| The iPhone and iPad app | Building for iOS |
| RPM, deb, Flatpak or Arch packages | Linux packages |
| The web container image and the Helm chart | Run on Kubernetes |
What every build needs
Every build starts from a checkout with its dependencies installed: Node.js 22.18 or later (or 24 or later), pnpm and git. Get the source covers the clone, the setup script and the content profile. Each app guide then adds its own toolchain, such as Rust for the desktop and mobile apps.
Check Supported environments before you ship a build to people. A development build is for testing and does not qualify a release.
Build the web app
pnpm run build:web # output: shells/web/dist/build:web is a chain, so a plain vite build inside shells/web is not enough on its own. In order, it:
- copies the ONNX runtime's WebAssembly and loader files into
shells/web/public/ort/(build:ort; the files are gitignored and regenerated each build); - builds the
/infodocs site (build:info); - renders the share images for every tool and every view;
- bundles the web app with Vite.
Set LOLLY_PROFILE on the build to choose the brand it carries. Choose a deployment covers what to serve and how.
For an instance's own build, LOLLY_INFO_LOCALES=en writes the /info guides in English only and links every other language to lolly.tools. Delivery deployment describes that and the smaller release a Lolly Work instance can serve, with build-delivery --codings br and --no-validator-map.
One source, three apps
The desktop and mobile apps are the web app's own code in a native window. Both Tauri shells build shells/web/src/ with a Vite plugin (overrideBridgeModules in the shell's vite.config.js) that swaps a few bridge modules for Tauri versions at build time. The engine, the tools, the templates and the render path stay the same in all three.
One source
shells/web/src/
- engine
- tools
- templates
- render path
-
Web app
Your browser
shells/web/dist/Saves to IndexedDB and downloads through the browser.
-
Desktop app
macOS, Windows, Linux
shells/tauri-desktop/dist/swaps storage, file delivery, capabilities, page capture
adds notifications, updates, zoom
-
Mobile app
Android, iOS
shells/tauri-mobile/dist/swaps storage, file delivery, capabilities, user assets
One source tree, three apps. Only the bridge modules that touch the device change.
signed by Lollybuild-guide-one-source.htmlHTMLpixels, not shapes8 KBAI generatedgenerated by Claude Opus 5.5Check it yourselfGet the signed fileWhat the swap replaces:
- Both Tauri shells: storage (
state.ts, files on disk instead of IndexedDB), file delivery (export.ts, which saves through the filesystem and keeps the web renderer) and the capability list (capabilities-provided.ts). - Desktop also: page capture (
capture.ts), plus native notifications, updates and zoom from the samebridge-overrides/folder. - Mobile also: durable user assets (
assets.ts).
A Tauri build writes its frontend to shells/tauri-{desktop,mobile}/dist/, which tauri.conf.json reads as frontendDist. The web app's own dist/ is unaffected.
If something fails
Run pnpm run doctor. It reads the checkout without changing it and prints the exact repair command for each problem it finds. Get the source lists the common setup failures, such as a Node version too old for type stripping.
Section links from the earlier guide
- CLI
- Development use (no build needed)
- Standalone binary
- TUI
- Browser render tier (raster / PDF / video / URL capture)
- Desktop app (macOS / Windows / Linux)
- Prerequisites
- Icons
- Development
- Production build
- Cross-compilation
- Mobile apps (iOS / Android)
- Android
- iOS (macOS only)
- First-time platform init
- Icons (mobile)
- Open Build Service (OBS)
- What OBS can build for Lolly
- How it fits Lolly's artifacts
- Build-environment constraints
- Recipes in the repository
- Web shell on Kubernetes (Helm)
- Why the SUSE Application Collection
- 1. Build the image
- 2. Swapping in a SUSE nginx base (optional)
- 3. What the nginx config already handles
- 4. The chart
- 5. Install
- 6. The optional services
- TLS, the SUSE-curated way (optional)
- Getting the source
- Prerequisites (all targets)
- The private SUSE brand pack
- How the Tauri shells relate to the web shell