No description
  • Rust 45.5%
  • Slint 41.9%
  • HTML 12.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-20 12:32:07 +02:00
.cargo initial commit 2026-09-19 23:00:24 +02:00
.vscode initial commit 2026-09-19 23:00:24 +02:00
src refactor: avoid copying the MainWindow 2026-09-20 12:32:07 +02:00
ui refactor: avoid copying the MainWindow 2026-09-20 12:32:07 +02:00
.gitignore initial commit 2026-09-19 23:00:24 +02:00
build.rs initial commit 2026-09-19 23:00:24 +02:00
Cargo.lock feat: make code compile 2026-09-20 11:45:31 +02:00
Cargo.toml feat: make code compile 2026-09-20 11:45:31 +02:00
index.html initial commit 2026-09-19 23:00:24 +02:00
README.md initial commit 2026-09-19 23:00:24 +02:00

Tides

Demo app displaying tide data from openwaters.io using the Slint GUI toolkit.

Run the application on desktop

  1. Build with cargo:

    cargo build
    
  2. Run the application binary:

    cargo run
    

Run the application on a web browser

You can then use wasm-pack (which you may need to obtain with cargo install wasm-pack). This will generate the wasm in the ./pkg directory, which the index.html file will open. Since wasm files cannot be served from file:// URL, you need to open a wab server to serve the content

wasm-pack build --release --target web
python3 -m http.server

Run your application on Android

First, set up your Android environment. Then, you can run the demo on an Android device with the following command:

cargo apk run --target aarch64-linux-android --lib