Skip to content

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

License

Notifications You must be signed in to change notification settings

elixir-desktop/desktop-example-app

Repository files navigation

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.

Dependencies

This example assumes you've got installed:

  • git
  • Elixir, at least 1.14
  • Erlang, at least OTP 24
  • wxWidgets
  • 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 deps.get
mix assets.deploy

To build binaries locally run:

mix desktop.installer

Screenshots

Linux build Windows build MacOS build Android build iOS build