webui-dev / webui

Use any web browser or WebView as GUI, with your preferred language in the backend and modern web technologies in the frontend, all in a lightweight portable library.
https://webui.me
MIT License
3.09k stars 187 forks source link

JS runtime for Bun #267

Closed mbekkomo closed 4 months ago

mbekkomo commented 1 year ago

Will there be a support for running JS/TS via Bun?

hassandraga commented 1 year ago

Yes, we are planing to support Bun. We need first to finalize the Deno Wrapper, then creating a new Bun Wrapper by converting Deno APIs in webui.ts to Bun APIs.

jinzhongjia commented 10 months ago

I started to adapt bunjs. You can refer to this issue https://github.com/webui-dev/bun-webui/issues/1 for the specific progress.

mbekkomo commented 10 months ago

I started to adapt bunjs. You can refer to this issue webui-dev/bun-webui#1 for the specific progress.

Wonderful! I'll keep tracks of any updates. Thanks for working on it.

hassandraga commented 4 months ago

Added (https://github.com/webui-dev/webui/commit/0440eeaab141b179b71bb2667df99743e78befbf).