Radka (v0.5.1) is a Node.js-based static site generator that uses JSX without React. It transpiles JSX pages to static HTML, supporting dynamic routing inspired by Next.js (e.g., `pet/[type].page.jsx`). Under the hood, it bundles Babel, PayPal's JSX Pragmatic, Turbolinks, and Parcel. Unlike Gatsby or Next.js, Radka avoids React's client-side state management, relying on vanilla CSS and JavaScript. It uses file-based routing in `src/pages/` and outputs to a `site/` folder. The project appears to be experimental with low release cadence (last update likely in 2019).
npm install radkaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a new Radka project with one page, generates static HTML, and starts a dev server.
Consider using modern SSG alternatives like Eleventy or Astro.
Use './index.script' for .js files.
Ensure filenames use brackets for dynamic segments.
Always use <Import /> with capital I.
Run 'npm install' in the project root to install all dependencies.
Add 'import { jsx } from 'radka';' at the top of the file.Use 'import { page } from 'radka';' (named import).