Skip to main content
crate

crate — native apps with deno!


demo

get started

all you need to do is make two files. seriously!

main.ts

import { Crate, file } from "https://deno.land/x/crate/mod.ts";

let crate = new Crate();
crate.title = "Crate";
crate.url = await file("index.html");
crate.width = 720, crate.height = 480;
crate.run();

index.html

<html>
  <main>hello from index.html!</main>
</html>

yes, that’s it! run the command below in your terminal, and a window will appear —

deno run -A --unstable main.ts

roadmap

  • make basic window control and customization
  • custom executables that can be packaged and delivered (windows only)
  • universal support
  • ??? — make an issue!

related

contact