neon-electron icon indicating copy to clipboard operation
neon-electron copied to clipboard

A simple example of GUI application with Electron and Rust, by using neon-bindings/neon

neon-electron

A simple example of GUI application with Electron and Rust, by using neon-bindings/neon.

Requirements

  • Node.js v6.9.2
  • Linux (or macOS)
    • Fedora 25 (with amd64)
    • Windows has not supported yet
  • Rust toolchain (with nightly channel).

Usage

Enable emscripten:

$ source /path/to/emsdk/emsdk_env.sh

switch Node's version

$ nvm use

install dependencies & build native module

$ npm install

run as an electron application.

$ npm start

License

MIT License (See LICENSE for details)