leo / Electron Next
Licence: mit
Build Electron apps using Next.js
Stars: ✭ 458
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Electron Next
Godot-Plugin-Particles-Renderer
A Godot plugin to render particles into a sprite sheet
Stars: ✭ 32 (-93.01%)
Mutual labels: renderer
pdf-rendering-srv
HTML to PDF rendering Microservice based on Puppeteer/ Chrome. Self-hosted service for rendering PDFs
Stars: ✭ 28 (-93.89%)
Mutual labels: renderer
makma
Makma is a deferred Vulkan renderer written in C++.
Stars: ✭ 77 (-83.19%)
Mutual labels: renderer
CVoxelEngine
A C++ Voxel Engine, to succeed my Java Voxel Engine. Uses SDL, and may use OpenCL in the future.
Stars: ✭ 17 (-96.29%)
Mutual labels: renderer
ore-ui
💎 Building blocks to construct game UIs using web tech.
Stars: ✭ 122 (-73.36%)
Mutual labels: renderer
lambda-client
A Source Engine BSP Renderer written in Go.
Stars: ✭ 14 (-96.94%)
Mutual labels: renderer
LuisaRender
High-Performance Multiple-Backend Renderer Based on LuisaCompute
Stars: ✭ 47 (-89.74%)
Mutual labels: renderer
BBearEditor-2.0
My own 3D engine & editor in order to learn graphics algorithms and game engine architecture.
Stars: ✭ 32 (-93.01%)
Mutual labels: renderer
x-ray.js
X-Ray a JavaScript Global Illumination Renderer for threejs
Stars: ✭ 21 (-95.41%)
Mutual labels: renderer
React Tiny Dom
🍙 A minimal implementation of react-dom using react-reconciler
Stars: ✭ 432 (-5.68%)
Mutual labels: renderer
Termimad
A library to display rich (Markdown) snippets and texts in a rust terminal application
Stars: ✭ 293 (-36.03%)
Mutual labels: renderer
electron-next
This package lets you use Next.js for building the renderer of your Electron apps!
- In production, it ensures that the
file://
protocol (which Electron uses to load your static assets in the renderer process) works properly with your Next.js bundle (generated bynext export
) - While developing, it takes care of the whole flow required for building the renderer code
Usage
Firstly, install the package using any node package manager:
yarn add electron-next
Then load it:
const prepareRenderer = require('electron-next')
As the final step, call the package:
-
<path>
: The path to the directory containing the renderer (relative to the app's root directory). If the paths for development and production aren't the same, this can be an object holding adevelopment
and aproduction
key with their respective paths (string|object). -
<port>
: Used for running Next.js in development (number, optional, defaults to8000
).
await prepareRenderer(<path>, <port>)
Caught a Bug?
- Fork this repository to your own GitHub account and then clone it to your local device
- Link the package to the global package directory:
npm link
- Within the electron app of your choice, link it to the dependencies:
npm link electron-next
. Instead of the default one from npm, it will now use your local clone of the package!
Author
- Leo Lamprecht (@notquiteleo)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].