Skip to content

fetsorn/electron-react-esm-nix

Repository files navigation

appname

Developer Information and Tools

Install dependencies

If you use nix, run `nix develop` to install all dependencies in PATH

You’ll need to install nodejs >= 18.15.0. We use yarn but npm should work too. Assuming that’s done, run `yarn` with no args:

yarn

Build for desktop

If you use nix, run `nix build git+https://github.com/fetsorn/electron-react-esm-nix#all`

A desktop Electron app that stores data in a system folder.

yarn start:electron

yarn build:electron

Build for browser

If you use nix, run `nix build git+https://github.com/fetsorn/electron-react-esm-nix#webapp`

A React webapp that stores data in browser memory.

yarn build:webapp

Documentation

Structure of the repo

renderer - a React app, packaged both as a webapp and as an Electron renderer

main - main Electron thread

api - common APIs

Thanks

isomorphic-git - A pure JavaScript implementation of git for node and browsers

electron-react-boilerplate - electron-builder with TypeScript and React

@matrixai/typescript-demo-electron - electron-forge with TypeScript, Vue and Nix

About

ESM Electron Demo Project using Nix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published