All Projects → leo → Electron Next

leo / Electron Next

Licence: mit
Build Electron apps using Next.js

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
GDX-HTML
using HTML + CSS + JS to build libGDX UI!
Stars: ✭ 21 (-95.41%)
Mutual labels:  renderer
Vkhr
Real-Time Hybrid Hair Rendering using Vulkan™
Stars: ✭ 353 (-22.93%)
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
DiligentFX
High-level rendering components
Stars: ✭ 116 (-74.67%)
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
React Blessed
A react renderer for blessed.
Stars: ✭ 4,204 (+817.9%)
Mutual labels:  renderer
ore-ui
💎 Building blocks to construct game UIs using web tech.
Stars: ✭ 122 (-73.36%)
Mutual labels:  renderer
Psd.rb
Parse Photoshop files in Ruby with ease
Stars: ✭ 3,092 (+575.11%)
Mutual labels:  renderer
pyRender
Lightweight Cuda Renderer with Python Wrapper.
Stars: ✭ 49 (-89.3%)
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
currender
Currender: A CPU renderer for computer vision
Stars: ✭ 26 (-94.32%)
Mutual labels:  renderer
Miox
Modern infrastructure of complex SPA
Stars: ✭ 374 (-18.34%)
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
Beam
✨ Expressive WebGL
Stars: ✭ 383 (-16.38%)
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

Build Status XO code style

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 by next 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 a development and a production key with their respective paths (string|object).
  • <port>: Used for running Next.js in development (number, optional, defaults to 8000).
await prepareRenderer(<path>, <port>)

Caught a Bug?

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Link the package to the global package directory: npm link
  3. 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

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].