A small starting point for a Day app: a welcome page, a list with a
detail editor, and settings, rendered with native widgets from one Rust codebase. It is exactly
what day new app creates, kept as a runnable reference.
Install the day CLI, then let it clone, build, and launch the app for your desktop:
cargo install day-cli
day launch --git https://github.com/daybrite/Day-Rise.gitday doctor lists what your platform's toolkit needs and how to install it. To start your own
app from the same template, run day new app hello --toolkit macos-appkit --appid com.example.hello.
From a clone, name a target when you build or launch; Day.toml lists them all:
day launch -t macos-appkit # build + run
day launch -t ios-uikit # needs a booted Simulator
day launch -t android-material # needs a JDK and a running emulator or device
day launch -t web-dom # serves the WebAssembly build locallyWelcome and Items share adaptive navigation: the item list and editor sit side by side on a wide window and stack on a phone. Give an item a name, a type and a color, and mark it done; every change is saved as you make it, and Undo and Redo step back through them. Search narrows the list, a swipe or the context menu marks an item done, dragging reorders it, and the Items tab counts what is left to do. Settings holds the appearance, the language, and the app's own setting for completed items; About shows the app's name and version. On desktop both open from the app menu; on a phone, Settings is a section. The app reopens on the section you last visited.
src/lib.rssets up the window, the routes, the navigation, and the menus.src/model.rsholds the items and the selection they share, with the unit tests.src/pages.rsbuilds the Welcome page, the item list, and the editor.resource/locales/en/app.ftlholds every string the app shows.dayscript/demo.yamlwalks through the app on every target and takes the screenshots.
The app's CI runs dayscript/demo.yaml on every target and publishes the captures to the
gallery.
| Windows · WinUI | Linux · GTK | Linux · Qt |
|---|---|---|
![]() |
![]() |
![]() |
| Web · DOM | Android · Material | HarmonyOS · ArkUI |
|---|---|---|
![]() |
![]() |
![]() |
scripts/scaffold-drift.sh --local scaffolds a fresh app from the template in a neighboring
Day checkout and reports every file that differs from this one.









