webview-bun
webview-bun copied to clipboard
Bun bindings for webview, a tiny library for creating web-based desktop GUIs.
Please add options for webview, the same as in electron Example list of options: https://www.electronjs.org/docs/latest/api/browser-window
Works fine when I run the script using bun run, but when I compile into an executable, it fails. I can't find a way to include the dll in the...
I am using [tr1ckydev/webview-bun](https://github.com/tr1ckydev/webview-bun/issues/new). I want to launch a maximized window. Currently, I achieved this using. ```javascript // index.ts import { Webview, SizeHint } from "webview-bun"; const document = new...
Linux64 (Debian 12) Bun 1.1.22 webview-bun 2.1.0 Webview-bun crashes with the titled error. A number of [related issues](https://github.com/tr1ckydev/webview-bun/issues/6#issuecomment-2208121592) have already been closed with no obvious remedy, and the root of...
Would it be please possible to implement fullscreen function? Or is there some "hack" to do it? I tried fullscreen using javascript on the page, but that requires user to...
Currently webview.run() blocks the main thread, which limits your ability to run any kind of backend code, like a web server. Additionally, this currently doesn't work in a Worker script,...
This MR exports two extra symbols to remove decorations (chromeless) and to provide an easy way to make the window full screen. A new `SizeHint.FULLSCREEN` can be used to provide...
Thanks for this library, neat for prototyping! Is there a way to use async callbacks? This is my case: ```ts import { Webview } from "webview-bun"; const html = await...
I have a minimal Bun script like this: ```ts import { Webview } from 'webview-bun'; import htmlFile from './build/index.html' with { type: 'file' }; const html = await Bun.file(htmlFile).text(); const...
I tested it and it seems to work