simples-tools/next-single-file: Simple way to put a fulll nextjs project into a single html file, regex based, lightning fast, routing support (via hash)Read post
next-single-file is a CLI tool that bundles a Next.js static export into a single self-contained HTML file. It inlines all assets (JS, CSS, fonts, images) as base64 data URIs and injects a hash-based router for client-side navigation. Built with zero runtime dependencies and powered by Bun, it processes a typical app in ~392ms.
Sort: