Vyay: an iOS app built from an Astro + Svelte 5 web app
How I turned my Astro + Svelte web app into a 4.2MB iOS app with Capacitor 8 and got it through App Store review in 15 days.
Verified Engineering Benchmarks
In short: Vyay is my own expense tracker. I wanted an iOS app without rewriting it in Swift or React Native, so I compiled the Astro + Svelte 5 codebase with Capacitor 8 and added native haptics, keyboard handling and local storage. It went to the App Store in 15 days as a 4.2MB install and cleared Appleβs Guideline 4.2 review.
Background
Taking a web app to iOS usually means one of two things: rewriting it in React Native or Swift, which leaves you with a second codebase, or shipping a thin web wrapper that Apple can reject under Guideline 4.2 (Minimum Functionality).
My approach is to wrap an Astro + Svelte 5 web app with Capacitor 8:
- Native feel: native haptics, keyboard resize handling and touch response under 80ms.
- Small install:
4.2 MB, against65.0 MBfor a React Native build. - Review preparation: Guideline 4.2, in-app subscriptions and privacy declarations.
How it works
Server-rendered zero-JS layout shell with reactive micro-islands for instant user input.
What it does
- Astro + Svelte 5 core: a server-rendered shell with small Svelte islands, which keeps scrolling at 60 FPS and taps responsive.
- Device access: haptics, status bar, keyboard viewport and persistent local storage through Capacitor plugins.
- Guideline 4.2: the app works offline, feels native, and comes with clear reviewer notes.
How it compares
| Metric | Traditional React Native Build | Generic Web Wrapper | Vyay Mobile Container (Astro + Svelte + Capacitor) |
|---|---|---|---|
| App Binary Size (iOS) | 65.0 MB | 12.0 MB | 4.2 MB |
| Time-to-Market | 8 - 12 Weeks | 4 - 6 Weeks | 15 Days Total |
| Apple Guideline 4.2 | Pass | Rejection Flag | Cleared & Published |
| UI Touch Response | 60 FPS | 35-45 FPS (Janky) | Sub-80ms (Solid 60 FPS) |
| Codebase Overhead | 2 Separate Codebases | Web Only | Single Codebase (Web + Mobile) |
Results
- On the App Store: Cleared Apple review and published as Vyay: Fast Expense Tracker.
- One codebase: the web and iOS apps share all of their code.
- Timeline: from spec to a published App Store listing in 15 business days.
Need something like this?
I build data pipelines that get past anti-bot blocks, iOS apps from web apps, and SaaS MVPs.
Start a Project β