{"id":13625656,"url":"https://github.com/webui-dev/deno-webui","last_synced_at":"2025-04-16T10:32:40.628Z","repository":{"id":164666119,"uuid":"640035551","full_name":"webui-dev/deno-webui","owner":"webui-dev","description":"Use any web browser as GUI, with Deno in the backend and HTML5 in the frontend.","archived":false,"fork":false,"pushed_at":"2025-04-08T07:35:25.000Z","size":3186,"stargazers_count":291,"open_issues_count":17,"forks_count":16,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-08T08:30:57.720Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://webui.me/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webui-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-12T20:23:13.000Z","updated_at":"2025-04-08T07:30:49.000Z","dependencies_parsed_at":"2024-05-08T19:59:13.746Z","dependency_job_id":"a85a7924-ed22-4316-a6b6-b6e2d78a1ba0","html_url":"https://github.com/webui-dev/deno-webui","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webui-dev%2Fdeno-webui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webui-dev%2Fdeno-webui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webui-dev%2Fdeno-webui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webui-dev%2Fdeno-webui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webui-dev","download_url":"https://codeload.github.com/webui-dev/deno-webui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249228274,"owners_count":21233852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T21:01:58.908Z","updated_at":"2025-04-16T10:32:40.616Z","avatar_url":"https://github.com/webui-dev.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\n![Logo](https://raw.githubusercontent.com/webui-dev/webui-logo/main/webui_deno.png)\n\n# Deno-WebUI v2.5.8 (Beta)\n\n[last-commit]: https://img.shields.io/github/last-commit/webui-dev/webui?style=for-the-badge\u0026logo=github\u0026logoColor=C0CAF5\u0026labelColor=414868\n[release-version]: https://img.shields.io/github/v/tag/webui-dev/webui?style=for-the-badge\u0026logo=webtrees\u0026logoColor=C0CAF5\u0026labelColor=414868\u0026color=7664C6\n[license]: https://img.shields.io/github/license/webui-dev/webui?style=for-the-badge\u0026logo=opensourcehardware\u0026label=License\u0026logoColor=C0CAF5\u0026labelColor=414868\u0026color=8c73cc\n\n[![][last-commit]](https://github.com/webui-dev/deno-webui/pulse)\n[![][release-version]](https://github.com/webui-dev/deno-webui/releases/latest)\n[![][license]](https://github.com/webui-dev/deno-webui/blob/main/LICENSE)\n\n\u003e Use any web browser or WebView as GUI, with your preferred language in the\n\u003e backend and modern web technologies in the frontend, all in a lightweight\n\u003e portable library.\n\n![Screenshot](https://raw.githubusercontent.com/webui-dev/webui-logo/main/screenshot.png)\n\n\u003c/div\u003e\n\n## Download\n\n- [Latest Stable Release](https://github.com/webui-dev/deno-webui/releases)\n\n## Features\n\n- Portable (_Needs only a web browser or a WebView at runtime_)\n- Lightweight (_Few Kb library_) \u0026 Small memory footprint\n- Fast binary communication protocol\n- Multi-platform \u0026 Multi-Browser\n- Using private profile for safety\n- Cross-platform WebView\n\n## Screenshot\n\nThis\n[hello world example](https://github.com/webui-dev/deno-webui/tree/main/examples/hello_world)\nis written in Deno using WebUI as the GUI library.\n\n![ScreenShot](img/webui_deno_example.png)\n\n## Installation\n\nSpecific version:\n\n```js\nimport { WebUI } from \"jsr:@webui/deno-webui@2.5.8\";\n// Or\nimport { WebUI } from \"https://deno.land/x/webui@2.5.8/mod.ts\";\n```\n\nLatest version:\n\n```js\nimport { WebUI } from \"jsr:@webui/deno-webui\";\n// Or\nimport { WebUI } from \"https://deno.land/x/webui/mod.ts\";\n```\n\n## Minimal Example\n\n```js\nimport { WebUI } from \"jsr:@webui/deno-webui\";\n\nconst myWindow = new WebUI();\nawait myWindow.show(\n  '\u003chtml\u003e\u003cscript src=\"webui.js\"\u003e\u003c/script\u003e Hello World! \u003c/html\u003e',\n);\nawait WebUI.wait();\n```\n\n```sh\ndeno run --allow-read --allow-write --allow-net --allow-env --allow-ffi minimal.ts\n```\n\n[More examples](https://github.com/webui-dev/deno-webui/tree/main/examples)\n\n## Documentation\n\n- [Online Documentation](https://webui.me/docs/2.5/#/)\n\n## CppCon 2019 Presentation\n\n[Borislav Stanimirov](https://ibob.bg/) explained at\n[C++ Conference 2019 (_YouTube_)](https://www.youtube.com/watch?v=bbbcZd4cuxg)\nhow beneficial it is to use the web browser as GUI.\n\n\u003c!-- \u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.youtube.com/watch?v=bbbcZd4cuxg\"\u003e\u003cimg src=\"https://img.youtube.com/vi/bbbcZd4cuxg/0.jpg\" alt=\"Embrace Modern Technology: Using HTML 5 for GUI in C++ - Borislav Stanimirov - CppCon 2019\"\u003e\u003c/a\u003e\n\u003c/div\u003e --\u003e\n\n![ScreenShot](img/cppcon_2019.png)\n\n## UI \u0026 The Web Technologies\n\nWeb application UI design is not just about how a product looks but how it\nworks. Using web technologies in your UI makes your product modern and\nprofessional, And a well-designed web application will help you make a solid\nfirst impression on potential customers. Great web application design also\nassists you in nurturing leads and increasing conversions. In addition, it makes\nnavigating and using your web app easier for your users.\n\n## Why Use Web Browser?\n\nToday's web browsers have everything a modern UI needs. Web browsers are very\nsophisticated and optimized. Therefore, using it as a GUI will be an excellent\nchoice. While old legacy GUI lib is complex and outdated, a WebView-based app is\nstill an option. However, a WebView needs a huge SDK to build and many\ndependencies to run, and it can only provide some features like a real web\nbrowser. That is why WebUI uses real web browsers to give you full features of\ncomprehensive web technologies while keeping your software lightweight and\nportable.\n\n## How does it work?\n\n![ScreenShot](img/webui_diagram.png)\n\nThink of WebUI like a WebView controller, but instead of embedding the WebView\ncontroller in your program, which makes the final program big in size, and\nnon-portable as it needs the WebView runtimes. Instead, by using WebUI, you use\na tiny static/dynamic library to run any installed web browser and use it as\nGUI, which makes your program small, fast, and portable. **All it needs is a web\nbrowser**.\n\n## Runtime Dependencies Comparison\n\n|                                 | Tauri / WebView   | Qt                         | WebUI               |\n| ------------------------------- | ----------------- | -------------------------- | ------------------- |\n| Runtime Dependencies on Windows | _WebView2_        | _QtCore, QtGui, QtWidgets_ | **_A Web Browser_** |\n| Runtime Dependencies on Linux   | _GTK3, WebKitGTK_ | _QtCore, QtGui, QtWidgets_ | **_A Web Browser_** |\n| Runtime Dependencies on macOS   | _Cocoa, WebKit_   | _QtCore, QtGui, QtWidgets_ | **_A Web Browser_** |\n\n## Supported Web Browsers\n\n| Browser         | Windows         | macOS         | Linux           |\n| --------------- | --------------- | ------------- | --------------- |\n| Mozilla Firefox | ✔️              | ✔️            | ✔️              |\n| Google Chrome   | ✔️              | ✔️            | ✔️              |\n| Microsoft Edge  | ✔️              | ✔️            | ✔️              |\n| Chromium        | ✔️              | ✔️            | ✔️              |\n| Yandex          | ✔️              | ✔️            | ✔️              |\n| Brave           | ✔️              | ✔️            | ✔️              |\n| Vivaldi         | ✔️              | ✔️            | ✔️              |\n| Epic            | ✔️              | ✔️            | _not available_ |\n| Apple Safari    | _not available_ | _coming soon_ | _not available_ |\n| Opera           | _coming soon_   | _coming soon_ | _coming soon_   |\n\n## Supported Languages\n\n| Language       | v2.4.0 API     | v2.5.0 API     | Link                                                              |\n| -------------- | -------------- | -------------- | ----------------------------------------------------------------- |\n| Python         | ✔️             | _not complete_ | [Python-WebUI](https://github.com/webui-dev/python-webui)         |\n| Go             | ✔️             | _not complete_ | [Go-WebUI](https://github.com/webui-dev/go-webui)                 |\n| Zig            | ✔️             | _not complete_ | [Zig-WebUI](https://github.com/webui-dev/zig-webui)               |\n| Nim            | ✔️             | _not complete_ | [Nim-WebUI](https://github.com/webui-dev/nim-webui)               |\n| V              | ✔️             | _not complete_ | [V-WebUI](https://github.com/webui-dev/v-webui)                   |\n| Rust           | _not complete_ | _not complete_ | [Rust-WebUI](https://github.com/webui-dev/rust-webui)             |\n| TS / JS (Deno) | ✔️             | _not complete_ | [Deno-WebUI](https://github.com/webui-dev/deno-webui)             |\n| TS / JS (Bun)  | _not complete_ | _not complete_ | [Bun-WebUI](https://github.com/webui-dev/bun-webui)               |\n| Swift          | _not complete_ | _not complete_ | [Swift-WebUI](https://github.com/webui-dev/swift-webui)           |\n| Odin           | _not complete_ | _not complete_ | [Odin-WebUI](https://github.com/webui-dev/odin-webui)             |\n| Pascal         | _not complete_ | _not complete_ | [Pascal-WebUI](https://github.com/webui-dev/pascal-webui)         |\n| Purebasic      | _not complete_ | _not complete_ | [Purebasic-WebUI](https://github.com/webui-dev/purebasic-webui)   |\n| -              |                |                |                                                                   |\n| Common Lisp    | _not complete_ | _not complete_ | [cl-webui](https://github.com/garlic0x1/cl-webui)                 |\n| Delphi         | _not complete_ | _not complete_ | [WebUI4Delphi](https://github.com/salvadordf/WebUI4Delphi)        |\n| C#             | _not complete_ | _not complete_ | [WebUI4CSharp](https://github.com/salvadordf/WebUI4CSharp)        |\n| WebUI.NET      | _not complete_ | _not complete_ | [WebUI.NET](https://github.com/Juff-Ma/WebUI.NET)                 |\n| QuickJS        | _not complete_ | _not complete_ | [QuickUI](https://github.com/xland/QuickUI)                       |\n| PHP            | _not complete_ | _not complete_ | [PHPWebUiComposer](https://github.com/KingBes/php-webui-composer) |\n\n## Supported WebView\n\n| WebView           | Status |\n| ----------------- | ------ |\n| Windows WebView2  | ✔️     |\n| Linux GTK WebView | ✔️     |\n| macOS WKWebView   | ✔️     |\n\n### License\n\n\u003e Licensed under MIT License.\n\n### Stargazers\n\n[![Stargazers repo roster for @webui-dev/deno-webui](https://reporoster.com/stars/webui-dev/deno-webui)](https://github.com/webui-dev/deno-webui/stargazers)\n","funding_links":[],"categories":["others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebui-dev%2Fdeno-webui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebui-dev%2Fdeno-webui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebui-dev%2Fdeno-webui/lists"}