denyncrawford / astrodon

Tauri bindings for Deno

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


πŸ¦• Astrodon

Desktop App Framework (not there yet!) for Deno, based in Tauri

Discord Server deno module deno compatibility


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

Easily run the demo:

deno run -A --unstable --reload https://raw.githubusercontent.com/astrodon/astrodon/main/examples/hello_world/demo.ts

πŸ“œ 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 denoland/deno#13162)
  • Fix tauri-apps/tauri#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, use examples/.env.example as a template.

Run the demo locally:

cargo build
deno run -A --unstable examples/hello_world/demo.ts

MIT License

About

Tauri bindings for Deno

License:MIT License


Languages

Language:TypeScript 87.0%Language:Rust 12.7%Language:Shell 0.4%