All Projects → dillonkearns → elm-electron-starter

dillonkearns / elm-electron-starter

Licence: MIT License
Build native cross-platform desktop apps in Elm

Programming Languages

typescript
32286 projects
elm
856 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Elm Electron Starter

Get up and running with a cross-platform desktop app built in Elm.

Type-Safe IPC Messages

Electron allows you to render web pages in Elm as native desktop interfaces. Electron runs a web page and manages native desktop interfaces (quit application, set global shortcut, create multiple windows, etc.) using NodeJS. See jlord.us/essential-electron/ for an excellent, readable conceptual overview of Electron.

Main Stack

  • Electron
  • Elm (for the browser window part of Electron)
  • typescript (for the NodeJS part of Electron)
  • webpack with hot-module replacement
  • elm-test

Elm Electron Starter uses typescript for the NodeJS code. It communicates between NodeJS/Typescript process and the Elm application using the npm package elm-electron to get type-safe inter-process messages.

Setup

To run, just

git clone https://github.com/dillonkearns/elm-electron-starter.git
npm install
npm start

Do a project-wide case-insensitive search for your and fill in all instances of yourname, yourappname, etc.

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