This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Build and run the production container:
docker build -t blitz-renderer .
docker run -d --rm -p 7070:7070 --name blitz-renderer blitz-rendererThe -d flag runs the container in detached mode (background), so you can continue using your terminal.
To stop the container:
docker stop blitz-rendererTo view logs:
docker logs blitz-rendererOr with Compose (also runs in detached mode):
docker compose up -d --buildAccess the app at http://localhost:7070
The web app and Electron app are separate flows. Existing web scripts (npm run dev, npm run build, npm run start) still work as-is.
npm run electron:devThis runs Next.js in dev mode and launches Electron against http://127.0.0.1:3000.
npm run electron:build:winThis generates:
build/icons/icon.icoandbuild/icons/icon.png- a production Next.js build
dist-electron/win-unpacked/Blitz Renderer.exe(Windows x64 app)
npm run electron:dist:winThis generates installer artifacts in dist-electron/ (for example NSIS and portable .exe outputs).
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.