desktop-example-app icon indicating copy to clipboard operation
desktop-example-app copied to clipboard

Elixir Sample App using the Desktop library with LiveView to create a desktop app

TodoApp: A Desktop Sample App

This application is an example of an Elixir LiveView based desktop application. It uses the elixir-desktop library and a local SQLite database to create a web-technology based desktop app.

Changes in 1.0

  • Updated to Phoenix 1.6 with esbuild+dart_scss
  • Added iOS platform example wrapper (see https://github.com/elixir-desktop/ios-example-app)
  • Added Android platform example wrapper (see https://github.com/elixir-desktop/android-example-app)

General notes

To run this app you need at least Erlang 24 and recent builds of wxWidgets and at least Elixir 1.11.4.

Dependencies

This example assumes you've got installed:

  • git
  • Elixir, at least 1.11.4
  • Erlang, at least OTP 24
  • npm
  • C compiler (make/nmake) for SQLite

If you want to build for iOS you'll also need xcode and in order to build for Android you'll need the Android Studio.

Application set-up

Run:

cd assets
npm install
cd ..
mix assets.deploy

Screenshots

Linux build Windows build MacOS build Android build iOS build