🦕 Astrodon
Desktop App Framework (not there yet!) for Deno, based in Tauri
Important: Only Windows and Linux is supported at the moment. And, some older versions of Windows, or even some old builds of Windows 10 might not come with Webview2 support, currently, a solution to this is to install Webview2 manually on the user PC. This is a major issue if you are targeting users with “outdated” Windows, this could maybe be leveraged by a installer that installs the webview2 and the app. We are open to suggestions.
😎 Features
- Create webview windows with your own title and URL
- Send messages from Deno -> Webview
- Compile your apps as executables
A lot is still missing, but we will get there!
🎁 Demo
Note: Only Windows and Linux are supported, MacOS isn’t supported yet (see https://github.com/astrodon/astrodon/issues/11)
Easily run the demo:
deno run -A --unstable --reload https://deno.land/x/astrodon@0.1.0-alpha.2/examples/hello_world/demo.ts
This snippet always contains the most stable latest version of Astrodon, but you can always use the unstable versions by using github raw urls on dev branch
📜 To-do
- Port more features from Tauri
- Create a Tauri context on the fly instead of relying in
tauri.conf.json
- An optional cli to create and manage Astrodon projects
- Support MacOS
- Support Webview -> Deno messages (waiting for https://github.com/denoland/deno/pull/13162)
- Fix https://github.com/tauri-apps/tauri/issues/3172 instead of relying on a fork
👩💻 Development
Requisites:
- If you want to compile the binaries yourself: install the dependencies as indicated in Tauri’s Guide.
- Create a
.env
file, useexamples/.env.example
as a template.
Run the demo locally:
cargo build
deno run -A --unstable examples/hello_world/demo.ts
MIT License