Desktop apps (Windows, macOS, Linux)
The app you build in chat can also be a desktop app: its own window, an icon in the dock or taskbar, system notifications and links that open it. Download the desktop kit from your app's page, and GitHub builds the installers for all three systems. It's included for every workspace.
Live or offline
The kit comes in two versions. Pick the one that fits the app:
| Live | Offline | |
|---|---|---|
| What the window shows | Your app as it is online | Your app's screens, packed into the build |
| After a deploy | Updated at once, no new build | A new build, which installed copies download by themselves |
| Without internet | Shows a "can't be reached" page | The screens open; data calls wait for a connection |
| Sign-in | Exactly as on the web, also Microsoft, Google and passkeys | Email and password |
Most apps want Live. Choose Offline for a tool people open on the go, where the screens should appear even without a connection.
Get the kit
- Deploy the app to production. The kit is made from the live version.
- Open the app in the dashboard, go to Install and mobile and choose Download live kit or Download offline kit.
- Put the folder in a GitHub repository and run Actions > Desktop build. The run's artifacts hold the installers:
.exefor Windows,.dmgfor macOS and.AppImagefor Linux.
To try it on your own computer first, run npm install and npm start in the folder (you need Node.js 20 or newer).
Signing
The apps work unsigned, but Windows shows an “unknown publisher” warning and macOS asks people to right-click and choose Open the first time. To remove the warnings, sign them:
- macOS: a membership in the Apple Developer Program (99 USD a year) and a “Developer ID Application” certificate. The build is then also notarized.
- Windows: a code signing certificate. Azure Trusted Signing works too.
Add them as secrets in the GitHub repository; the kit's README lists the names. These costs are yours, paid to Apple or the certificate seller, not to Cloudrizz.
Mac App Store
The .dmg is for sharing the app yourself. To list it in the Mac App Store, run Mac App Store build in GitHub Actions: it makes a sandboxed version for Intel and Apple Silicon and uploads it to App Store Connect, where you test it in TestFlight and submit it for review. It needs the Apple Developer Program, two certificates and a provisioning profile; the workflow file lists them.
Updates
Push a version tag (git tag v1.0.1, then git push --tags). GitHub builds all three systems and publishes a release; installed copies find it when they start and update on the next restart. In live mode you rarely need this: deploys reach the app directly.
Desktop features in your pages
Inside the desktop app your pages get window.cloudrizzDesktop. It doesn't exist in the browser, so check for it first:
if (window.cloudrizzDesktop) {
cloudrizzDesktop.notify("Order received", "Order 42 is ready to ship.");
cloudrizzDesktop.setBadge(3); // number on the app icon (macOS, Linux)
cloudrizzDesktop.setOpenAtLogin(true); // start with the computer
}Links like yourapp://orders/42 open the desktop app on /orders/42; the kit's README shows the exact name. Links to other sites open in the browser.
/api/ from app://bundle. If you limited the app's CORS origins in the dashboard, add that origin.