Run Next.js, Vite or Django at a local domain
localhost:3000, localhost:5173, localhost:8000: ports collide and cookies leak between projects. Lumina puts each dev server behind its own https://name.test address and keeps hot reload working.
Supported out of the box
A folder in www with Vite, Next.js, Nuxt, Astro, SvelteKit or React Router (and no PHP), or with Django, FastAPI or Flask, is recognised and served by its own dev server. Any other command works too: Edit › Served by.
Start it
- Install Node.js or Python from Quick Add, and a web server.
- Put the project in
www, for examplewww\storefront. - On Sites, press Start on its row. Lumina runs the dev server on a fixed port and shows its log.
- Open
https://storefront.test. Saving a file reloads the page as usual.
The right runtime version
A project's .nvmrc, .node-version, .python-version or .tool-versions picks the Node.js or Python version its dev server runs with, from the versions installed in Quick Add.
Questions
Can the dev server start with Start All?
Yes, switch on autostart for it in Edit.
Does it work with pnpm, Bun or uv?
Yes. Bun, Deno, uv and pnpm are in Quick Add and on PATH in every terminal.
Related guides
-
Trusted HTTPS for localhost
Get https://localhost and https://project.test with a padlock and no browser warning, using a certificate authority that exists only on your computer.
-
Local .test domains on Windows
Give every local project its own address like http://blog.test on Windows, without editing the hosts file or Apache virtual hosts by hand.