diff --git a/README.md b/README.md index ee0d75e..e51598b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # @justbe/webview -A light, cross-platform library for building web-based desktop apps. +A light, cross-platform library for building web-based desktop apps with [Deno](https://deno.com/). > [!NOTE] > This is alpha level software that's rapidly changing. Things might break. Please let me know if you notice anything missing or not working. @@ -24,6 +24,14 @@ webview.on("started", async () => { await webview.waitUntilClosed(); ``` +You can run this yourself with + +```sh +deno run https://raw.githubusercontent.com/zephraph/webview/refs/heads/main/examples/simple.ts +``` + +Checkout the [examples directory](https://github.com/zephraph/webview/tree/main/examples) for more. + ## Permissions When executing this package, it checks to see if you have the required binary for interfacing with the OS's webview. If it doesn't exist, it downloads it to a cache directory and executes it. This yields a few different permission code paths to be aware of.