PWA Export
PWA Export lets you download the compiled web files for your app and host them wherever you want. It requires a paid plan but doesn’t consume tokens — tokens are only used for AI interactions.
How to export
Section titled “How to export”You can export your PWA either from the Workspace or by asking the agent in chat.
From the Workspace
Section titled “From the Workspace”-
Open the Build section
Go to Workspace → Build → Web.
-
Click “Build Web”
The export build starts immediately.
-
Wait for the build
Takes about 3 minutes.
-
Download the zip file
Click the download link to save the
.zipbundle to your computer.
From chat (via the AI agent)
Section titled “From chat (via the AI agent)”In Edit mode, ask the agent for a Web Build or PWA export (in release or debug mode) — for example, “Build a web export zip” or “Run a release web build so I can download the PWA.”
- While the build runs, a tool card in chat shows progress, and the build also appears in Workspace → Build → Web.
- If the web build fails to compile, the agent automatically inspects the error, fixes the code, and rebuilds.
- Once complete, click Download directly on the build card in chat (or from the Workspace build list) to save the
.ziparchive.
What you get
Section titled “What you get”The zip contains a Flutter web build output: HTML, CSS, JavaScript, and all assets your app needs. It’s a complete, self-contained static site.
Running locally
Section titled “Running locally”Extract the zip and serve the files with any local HTTP server.
cd my-app-exportpython3 -m http.server 8080Open http://localhost:8080 in your browser.
cd my-app-exportnpx serve .The URL is printed in your terminal.
Self-hosting
Section titled “Self-hosting”Deploy the extracted files to any static hosting provider:
- Vercel — drag and drop the folder, or connect via CLI
- Netlify — drag and drop in the Netlify dashboard
- Firebase Hosting —
firebase deployfrom the CLI - AWS S3 + CloudFront — upload to an S3 bucket with static website hosting enabled
- Any web server — Nginx, Apache, or any server that can serve static files
No server-side runtime is needed. It’s all static files.
PWA Export vs. Web Hosting
Section titled “PWA Export vs. Web Hosting”| Web Hosting | PWA Export | |
|---|---|---|
| Plan | Free | Paid plan |
| Hosting | Primio-managed | You host it |
| Custom domain | No | Yes |
| Full control | No | Yes |
| Setup effort | None | You configure hosting |
Use Web Hosting when you want the fastest, simplest way to share your app. Use PWA Export when you need your own domain, custom server configuration, or full control over deployment.
SDK versions
Section titled “SDK versions”The export uses the Flutter SDK set for your project. Change it from SDK Versions.