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: