Transform any website into a native mobile app in seconds! This powerful tool creates React Native apps with advanced features like caching, notifications, and deep linking.
- π± Native Mobile App - Convert your website to iOS/Android app
- π Smart Caching - Lightning-fast loading with intelligent cache management
- π Push Notifications - Keep users engaged with API-driven notifications
- π Deep Linking - Open specific pages directly in your app
- π΄ Offline Support - Your app works even without internet
- π¨ Custom Branding - Use your own icons, colors, and splash screens
- π‘οΈ User-Agent Protection - Prevent unauthorized access to your website
- E-commerce stores wanting a mobile app
- SaaS platforms needing native mobile presence
- Content creators building audience engagement
- Businesses wanting to increase mobile conversions
- Anyone who wants their website as a mobile app
node setup-app.js "My App" "https://mywebsite.com"node setup-app.js "My Store" "https://mystore.com" \
--package-id "com.mycompany.store" \
--icon "./my-icon.png" \
--user-agent "MyStore/1.0" \
--api-endpoint "https://api.mystore.com/notifications" \
--cache-size 200 \
--offline-modecd my-app
npm install
npx expo startThat's it! Your mobile app is ready! π
app-name- Your app's display namewebsite-url- The website to convert
--package-id- App identifier (com.company.app)--icon- App icon (1024x1024 PNG)--favicon- Small icon (32x32 PNG)--background- Background color (#000000)
After generating your app, you must manually replace all asset files in the assets/images/ directory with your website's branding:
icon.png(1024x1024) - Main app iconfavicon.png(32x32) - Small faviconandroid-icon-background.png(1024x1024) - Android adaptive backgroundandroid-icon-foreground.png(1024x1024) - Android adaptive foregroundandroid-icon-monochrome.png(1024x1024) - Android themed iconsplash-icon.png(200-400px) - Splash screen logoreact-logo.png(64x64) - In-app branding[email protected](128x128) - High-DPI version[email protected](192x192) - Extra high-DPI version
- Generate your app with the setup script
- Navigate to
your-app-name/assets/images/ - Replace each PNG file with your branded version
- Keep exact same filenames (case-sensitive)
- Use specified dimensions for best results
Asset generation will be automated in future versions. Currently, manual replacement ensures perfect branding control.
π‘ Tip: See
examples.mdfor detailed asset specifications and preparation workflow.
--user-agent- Custom browser identification--api-endpoint- Notification webhook URL--api-key- API authentication key--cache-size- Cache limit in MB (default: 100)--offline-mode- Enable offline functionality--preload-urls- Pre-cache specific pages
Your app automatically caches pages for instant loading. Users can browse previously visited pages even offline!
Set up an API endpoint to send targeted notifications to your app users. Perfect for promotions, updates, or engagement.
When users click links to your domain on their phone, they'll open directly in your app instead of the browser.
Your app identifies itself with a custom user-agent, allowing you to provide app-specific features or restrict browser access.
- Development - Test your app with Expo Go
- Customization - Modify colors, icons, and features
- Building - Create production APK/IPA files
- Publishing - Submit to Google Play / App Store
We're building a beautiful web interface where you can:
- β¨ Generate apps without command line
- π¨ Visual customization tools
- π Analytics and app management
- π One-click deployment to app stores
Stay tuned for the launch!
Built with:
- React Native & Expo for cross-platform development
- Advanced WebView with file upload support
- Intelligent caching with compression
- Background notification processing
- Deep linking with domain validation
- π Check
examples.mdfor detailed examples - π Report issues on GitHub
- π¬ Join our community for support
node setup-app.js "Fashion Store" "https://fashionstore.com" \
--package-id "com.fashion.store" \
--user-agent "FashionApp/1.0" \
--cache-size 150 \
--offline-modenode setup-app.js "Project Manager" "https://mypm.com" \
--api-endpoint "https://api.mypm.com/notifications" \
--api-key "your-api-key" \
--user-agent "ProjectManager/2.0"node setup-app.js "News Hub" "https://newshub.com" \
--preload-urls "https://newshub.com/trending,https://newshub.com/latest" \
--cache-size 200This project is licensed under the MIT License - see the LICENSE file for details.
When redistributing or using this code:
- Include the original copyright notice
- Include the MIT license text
- Give credit to the Web2App Team and link back to this repository
We welcome contributions! Please feel free to submit issues and pull requests.
Transform your website into a powerful mobile app today! π
Made with β€οΈ for developers who want to go mobile fast
If you use Web2App in your project, please consider:
- β Starring this repository
- π Linking back to Web2App
- π’ Mentioning us in your project documentation