Apps
Deploy applications and persistent services.
Apps host static sites, servers, workers and databases. Each App has a stable URL. A release contains its code and configuration; a failed deployment does not replace the active release.
Server Apps run on machines. Volumes retain data across releases; a machine’s root disk resets on replacement. Use a volume for database files and other persistent data.
Apps are available in every project. Open Apps in the project sidebar to manage them.
App previews keep loading when you move between project pages. Each App can declare its display settings and expose connection examples for your code. Use the App’s stable URL when connecting an external product.
beeuni apps list
beeuni apps show main
beeuni apps connect main
beeuni apps launch --template convex --slug main
beeuni apps deploy dist --type static --spa
beeuni apps machines main
beeuni apps volumes main
When deploying from a Git checkout, the CLI checks that your branch contains the live deployment’s recorded commit, if it can find that commit. If the check fails, merge the live commit and try again. Use --force only when you intend to deploy a branch that does not contain it.
Connect applications with uses and use the connection examples shown by beeuni apps connect. Keep administrative credentials out of client-side code.
Running resources consume account credits. Check Billing and Usage for your balance. Apps do not have a separate monthly budget.
Back up important data. Restoring a volume snapshot discards later changes. Deleting a volume permanently removes its data.
External Apps
Add a site hosted elsewhere with Apps → Add app, or beeuni apps create dashboard --url https://dashboard.example.com. It appears beside your deployed Apps and uses no App slot or Beeuni running resources. The site’s own login still applies. If it cannot open inside Beeuni, use Open in a new tab.
Watch for changes
Use the watcher template to check a source on a schedule and notify an agent when it changes. Edit check() in the generated watch.js, deploy the App, then connect its events to a trigger before scheduling checks:
beeuni apps launch --template watcher --name status-watch
beeuni apps deploy apps/status-watch
beeuni triggers add "The status changed. Tell me what changed." --on app --app status-watch --expect-event-within 1h
beeuni apps events emit status-watch status.changed --data '{"status":"Test"}' --wait
beeuni triggers add status-watch-check --every 15m --target-app status-watch --target-path /tick --apply
beeuni apps events status-watch
Open the App’s event history to inspect pending, fired, skipped, suppressed, failed or unmatched events. The event submission response also reports duplicates. The test command checks delivery through the trigger; test events do not mark the App as alive or clear a silence warning.
--expect-event-within accepts a duration from 5m to 30d. Beeuni sends one silence notification when no real event or heartbeat arrives within that period, then a recovery notification after the next one. A deduplicated real event also counts as activity. The watcher sends a heartbeat when check() finds no change.
Events with the same content-based ID are deduplicated for 30 days. If returning to an earlier state should trigger work again, include the source’s change timestamp or incident ID in the event data. Using the local polling time would turn every check into a new event.