4

GitHub - astrodon/astrodon: Make Desktop apps with Deno 🦕

 1 year ago
source link: https://github.com/astrodon/astrodon
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

97196209?s=200&v=4

sauropod Astrodon

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


sunglasses Features

  • Create webview windows with your own title and URL
  • Bidirectional communication between your frontend and backend
  • Compile your apps as executables and even make installers
  • And most of what you get with Deno, e.g, TypeScript out of the box...

A lot is still missing, but we will get there!

gift Demo

Note: Latest public release only supports Windows and Linux, MacOS is not supported. This will be fixed in the next release.

Run the demo:

deno run -A --unstable --reload https://deno.land/x/[email protected]/examples/hello_world/demo.ts

scroll To-do

  • Unit tests
  • Cross-platform compiling (missing: Apple Silicon)
  • Typescript checking in the background (astrodon-build's Develop should manage this)
  • Pass permission and arguments as flags and also put them in the executable metadata
  • Organize project a little bit better (e.g move dependencies to deps.ts)
  • A real-world app example
  • Update the templates (wip)
  • Match deno_runtime version (and also things like Deno.build) with Deno's releases
  • Implement Web Workers
  • Schematize and create plugin system
  • Organize configs by usage hierarchy (e.g. global.icon -> build.icon)
  • Ability apps register custom system URI protocols (installer)
  • Add Cli command astrodon clean to remove cached runtimes
  • Make Cli's command astrodon run also support HTTPs uris
    • Add support for common permission flags as CLI arguments

thinking Plugins ideas

  • Cross process reactivity module (plugin)
  • Cross process store module (plugin)
  • Env variable manager and injection for builds (plugin)

woman_technologist Development

Requisites:

  • Install the tauri dependencies as indicated in Tauri's Guide.
  • Rust (stable toolchain)

Running both Deno and Rust tests:

deno task test

MIT License


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK