Lolly Beta
Launch App

AutomateBuild and contribute to the apps

Build Guide

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 buildGuide
A working checkout to build fromGet the source
The command-line and terminal apps, or a packaged CLIBuild the CLI and TUI
The desktop app for macOS, Windows or LinuxBuild the desktop app
The Android appBuild the mobile apps
The iPhone and iPad appBuilding for iOS
RPM, deb, Flatpak or Arch packagesLinux packages
The web container image and the Helm chartRun 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.

Note: The web app needs a browser with WebGPU from startup

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:

  1. copies the ONNX runtime's WebAssembly and loader files into shells/web/public/ort/ (build:ort; the files are gitignored and regenerated each build);
  2. builds the /info docs site (build:info);
  3. renders the share images for every tool and every view;
  4. 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 file

What the swap replaces:

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