LunarX is a lightweight SSR framework for React that emphasizes simplicity and flexibility, positioning itself as an alternative to Next.js and Remix. The current stable version is 0.3.2. It features file-based routing with minimal configuration, aiming for a simplified developer experience. Released under the MIT license, LunarX targets Node.js 16.8.0+. As an early-stage project (pre-1.0), it may undergo breaking changes. Key differentiators include a focus on being lightweight and less opinionated than established frameworks, though it lacks the ecosystem and maturity of Next.js or Remix.
npm install lunarxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a LunarX app with file-based routing from a 'pages' directory and starts the server on port 3000.
Ensure your project has a 'pages' folder at root or configure with 'routes' option.
Use { server: { port: 3000 } } instead of { engine: { port: 3000 } }.Pin exact version and test upgrades carefully.
Use 'import { defineConfig } from 'lunarx/config'' after installing the package.Change to 'import { LunarX } from 'lunarx''.Create a 'pages' directory with an index.jsx or index.tsx file.