{"repo":"saltyshiomix/nextron","free":true,"listed":false,"github":"https://github.com/saltyshiomix/nextron","clone":"git clone https://github.com/saltyshiomix/nextron.git","description":"⚡ Next.js + Electron ⚡","language":"TypeScript","stars":4427,"topics":["electron","nextjs","nextron","reactjs","react","typescript"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"My Belief for Nextron 1. Show a way of developing desktop apps with only web knowledge 1. Easy to use 1. Be transparent and open to OSS developers Next.js vs Nextron next nextron ----------------- --------------- v16.x v10.x v14.x v16.x v9.x v12.x v13.x v8.x v11.x v7.x v10.x v6.x v9.x v5.x v8.x v4.x v7.x v2.x v3.x v6.x v1.x Nextron v10 - CHANGELOG Migration Guide (Breaking Changes) - Upgrade nextron from v9 to v10 - Rename main/background.ts to main/main.ts - Rename package.json#main field to app/main.js That's it! ESM Support - package.json - Set package.json#type to module - next.config.js - Use export default instead of module.exports - Codebase - Replace dirname to import.meta.dirname Usage Create Application with Templates We can use examples/ as a template. To create the examples/with-tailwindcss , run the command below: Run Electron with Development Mode Run npm run dev , and nextron automatically launches an electron app. Production Build Run npm run build , and nextron outputs packaged bundles under the dist folder. Directory Structures next.config.ts nextron or nextron dev Options --renderer-port (default: 8888 ) It specifies next dev server port: --run-only (default: undefined ) It suppresses hot reloading of the main process: --startup-delay (default: 0 ) It waits until renderer process is ready (milliseconds): --electron-options (default: undefined ) We can pass electron args via --electron-options : nextron build Options NOTE : - To build macOS binary, your host","default_branch":null,"files":null,"tree":[],"storefront":"/r/saltyshiomix","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/saltyshiomix/nextron/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}