Experimenting with a hybrid native app built with Gleam and Tauri
Find a file
2024-02-19 09:52:55 +10:00
src Emit periodic events from the backend and listen to them in Gleam 2024-02-18 16:59:48 +10:00
src-tauri Change window title 2024-02-19 09:38:25 +10:00
test Basic Gleam + Vite + Tauro app 2024-02-18 11:48:10 +10:00
.gitignore Basic Gleam + Vite + Tauro app 2024-02-18 11:48:10 +10:00
gleam.toml Invoke Tauri command from Gleam 2024-02-18 12:49:50 +10:00
index.html Basic Gleam + Vite + Tauro app 2024-02-18 11:48:10 +10:00
main.js Basic Gleam + Vite + Tauro app 2024-02-18 11:48:10 +10:00
manifest.toml Invoke Tauri command from Gleam 2024-02-18 12:49:50 +10:00
package-lock.json Invoke Tauri command from Gleam 2024-02-18 12:49:50 +10:00
package.json Invoke Tauri command from Gleam 2024-02-18 12:49:50 +10:00
README.md Add screenshot to README 2024-02-19 09:52:55 +10:00
screenshot.png Add screenshot to README 2024-02-19 09:52:55 +10:00
style.css Emit periodic events from the backend and listen to them in Gleam 2024-02-18 16:59:48 +10:00
vite.config.js Basic Gleam + Vite + Tauro app 2024-02-18 11:48:10 +10:00

gleam-tauri-experiment

This is Tauri application that uses Gleam and Lustre on the front-end via Vite.

Screenshot of the application showing a name field, minus button, plus button, Greet button and the current time

Building

Prerequisites

You will need the following installed to build the application:

  • Rust
  • Gleam
  • node.js & npm

Run npm i to install node packages.

Build

Build the project with:

cargo tauri dev

This will compile all the code and start a development instance that will live reload when changes are made.