A Flutter-based voice assistant web application optimized for iPhone with PWA (Progressive Web App) capabilities.
- 🎤 Voice interaction interface with visual feedback
- 📱 iPhone-optimized responsive design
- 🌓 Automatic light/dark mode support
- 📲 PWA support for home screen installation
- 🔒 Safe area support for iPhone notch/Dynamic Island
- ⚡ Fast and lightweight
- 🎨 iOS-style UI with smooth animations
- Make sure you have Flutter installed
- Run the development server:
flutter run -d chrome
Build the web app for deployment:
flutter build web --releaseThe build output will be in the build/web directory.
-
Deploy the
build/webfolder to any web hosting service:- GitHub Pages
- Firebase Hosting
- Netlify
- Vercel
- Any static hosting provider
-
Visit the deployed URL on your iPhone using Safari
-
Tap the Share button (square with arrow)
-
Scroll down and tap "Add to Home Screen"
-
Customize the name if desired and tap "Add"
-
The app will appear on your home screen like a native app!
For testing on your local network:
-
Build the app:
flutter build web --release
-
Serve it on your local network:
cd build/web python -m http.server 8000Or use any static file server
-
Find your computer's IP address:
- Windows:
ipconfig(look for IPv4 Address) - Mac/Linux:
ifconfigorip addr
- Windows:
-
On your iPhone, open Safari and navigate to:
http://YOUR_IP_ADDRESS:8000 -
Follow the "Add to Home Screen" steps above
Once installed on your iPhone home screen:
- ✅ Launches in fullscreen (no Safari UI)
- ✅ Respects iPhone safe areas (notch/Dynamic Island)
- ✅ Prevents accidental pull-to-refresh
- ✅ Optimized touch interactions
- ✅ Native app-like experience
- ✅ Works in portrait orientation
Edit lib/main.dart to customize colors:
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blue, // Change this!
brightness: Brightness.light,
),Edit web/manifest.json:
{
"name": "Your App Name",
"short_name": "App Name",
"description": "Your app description"
}Replace icons in web/icons/ with your custom icons:
- Icon-192.png (192x192)
- Icon-512.png (512x512)
- Icon-maskable-192.png (192x192, with safe area)
- Icon-maskable-512.png (512x512, with safe area)
When running in development mode, press r in the terminal for hot reload.
Use Safari's Web Inspector:
- Enable Web Inspector on iPhone (Settings > Safari > Advanced)
- Connect iPhone to Mac
- Open Safari on Mac > Develop > [Your iPhone] > [Your App]
- Flutter: Cross-platform UI framework
- Material 3: Modern Material Design
- PWA: Progressive Web App standards
- CSS: iPhone-specific optimizations
- ✅ Safari on iOS/iPadOS (recommended)
- ✅ Chrome on iOS
- ✅ Firefox on iOS
- ✅ Desktop browsers (for testing)
- Always use Safari for initial installation (other browsers may not support "Add to Home Screen" properly)
- Grant permissions when prompted for microphone access
- Keep landscape lock off for best orientation handling
- Update regularly by visiting the web app URL and reinstalling
- Real speech recognition integration
- Voice synthesis for responses
- Offline support with service workers
- Cloud synchronization
- Multiple language support
This project is open source and available under the MIT License.