A skeleton multi-platform desktop application built with:
Use this application as a playground to learn about portable
app development with Tauri
. It was created to complement this
article.
context
and stores
to persist
the application state across multiple components and
dinamically update the rendered view as the stored
values get updatedtauri.windows
section of
src-tauri/tauri.conf.json
has been customized to set the title, the default size
and initial positioning of the application windowFlowbite Svelte
is used to rapidly design
an interface for the applicationSvelte-Heros-v2
icon set is used to
improve the appearance of the user interfaceFlowbite Svelte
docs to learn about the
components
available to build the UI
CSS
utility classes that are
available to customize the UI
src/routes/Welcome.svelte
src/routes/Info.svelte
the application will automatically update while it is
running to display the changesTo start the application in development mode, run:
$ npm ci
$ npm run tauri dev
depending on the computational capacity of your computer the first compilation could take a few minutes. Once the development server is started, you will get automated hot-reload and the next starts of the application will be much faster, as long as no new Rust code needs compilation.
To create a release for the current system architecture, run:
$ npm ci
$ npm run tauri build
For more information, check the official docs at: https://tauri.app/v1/guides/building/
The offical docs offer a tutorial to build apps for multiple targets using GitHub Actions: https://tauri.app/v1/guides/building/cross-platform#tauri-github-action
This code is distributed under the MIT license.
Check this Wikipedia page for further details on the license.
Attempting to mandate some baseline security practices to improve the safety of the software distributed in its territory, the EU published a very poorly designed draft of a new law. The draft in its current form threatens the very existence of open source software, making it impractical for independent developers to safely distribute software and code.
I appreciate the intent, but the execution was just terrible. I am writing this note to raise the awarness and encourage everyone to act.
Please read the following articles and support the cause of the independent software development: