anikeshkumar
14 hours ago
Hello HN, I’ve built Bagisto Native, a framework that helps developers turn existing React or Next.js web applications into high-performance native apps. While it originated within the Bagisto headless e-commerce ecosystem, the framework is now decoupled and works with any React-based project. Why I built this: Most "web-to-native" tools either feel like slow WebViews or require a total rewrite in React Native. I wanted a middle ground: the ability to keep your Next.js routing, SEO, and web logic while gaining access to native device APIs, push notifications, and app store readiness without the overhead of a full rebuild. Key Features: Framework Agnostic: Works with any React or Next.js project. Native Bridge: Access hardware features (camera, geolocation, storage) through a unified JS bridge. Performance-First: Optimized for low-latency interactions so it doesn't "feel" like a browser wrapper. Modular: The @bagisto-native/about package handles the core versioning and environment detection to ensure the app behaves differently when running in a native shell versus a browser. The @bagisto-native/about package: This is the core identity and utility layer. It detects the environment, manages versioning between the web-service and the native-wrapper, and provides the initialization logic for the native bridge. NPM: https://www.npmjs.com/package/@bagisto-native/about