{"id":13626468,"url":"https://github.com/webview/webview_deno","last_synced_at":"2025-10-03T14:36:00.575Z","repository":{"id":37988278,"uuid":"245254578","full_name":"webview/webview_deno","owner":"webview","description":"🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs","archived":false,"fork":false,"pushed_at":"2025-02-25T09:19:36.000Z","size":974,"stargazers_count":1530,"open_issues_count":39,"forks_count":76,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-05-12T17:44:00.323Z","etag":null,"topics":["deno","deno-bindings","deno-module","deno-plugin","deno-plugins","deno-webview","gui","hacktoberfest","typescript","webview"],"latest_commit_sha":null,"homepage":"https://deno.land/x/webview","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/webview.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"open_collective":"denosaurs","github":"denosaurs"}},"created_at":"2020-03-05T19:52:18.000Z","updated_at":"2025-05-11T08:38:20.000Z","dependencies_parsed_at":"2024-03-03T15:24:39.825Z","dependency_job_id":"54bebd63-2ea6-4553-8fd5-a599f5abaaa1","html_url":"https://github.com/webview/webview_deno","commit_stats":{"total_commits":199,"total_committers":22,"mean_commits":9.045454545454545,"dds":"0.23115577889447236","last_synced_commit":"923c06c449bb0fb103011a27a5af2b67f862d1f7"},"previous_names":["eliassjogreen/deno_webview"],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webview%2Fwebview_deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webview%2Fwebview_deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webview%2Fwebview_deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webview%2Fwebview_deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webview","download_url":"https://codeload.github.com/webview/webview_deno/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129489,"owners_count":22019628,"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":["deno","deno-bindings","deno-module","deno-plugin","deno-plugins","deno-webview","gui","hacktoberfest","typescript","webview"],"created_at":"2024-08-01T21:02:19.741Z","updated_at":"2025-10-03T14:35:55.531Z","avatar_url":"https://github.com/webview.png","language":"TypeScript","readme":"# webview_deno\n\n[![stars](https://img.shields.io/github/stars/webview/webview_deno?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAEFCu8CAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAHKADAAQAAAABAAAAHAAAAABHddaYAAABxElEQVRIDe2Wv04CQRDGAQuoTKQ2ITyADZWVJZWV+gJYWBNqKh/C16CRBlprWxsTE2NJfABNOH9z7Gzm2Nv7A8TCOMnHzs1838ze3e4ejUbMkiRZS64lP1x8MjTFr2DQE6Gl2nI+7POARXAmdbas44ku8eLGhU9UckRliX6qxM9sQvz0vrcVaaKJKdsSNO7LOtK1kvcbaXVRu4LMz9kgKoYwBq/KLBi/yC2DQgSnBaLMQ88Tx7Q3AVkDKHpgBdoak5HrCSjuaAW/6zOz+u/Q3ZfcVrhliuaPYCAqsSJekIO/TlWbn2BveAH5JZBVUWayusZW2ClTuPzMi6xTIp5abuBHxHLcZSyzkxHF1uNJRrV9gXBhOl7h6wFW/FqcaGILEmsDWfg9G//3858Az0lWaHhm5dP3i9JoDtTm+1UrUdMl72OZv10itfx3zOYpLAv/FPQNLvFj35Bnco/gzeCD72H6b4JYaDTpgidwaJOa3bCji5BsgYcDdJUamSMi2lQTCEbgu0Zz4Y5UX3tE3K/RTKny3qNWdst3UWU8sYtmU40py2Go9o5zC460l/guJjm1leZrjaiH4B4cVxUK12mGVTV/j/cDqcFClUX01ZEAAAAASUVORK5CYII=)](https://github.com/webview/webview_deno/stargazers)\n[![issues](https://img.shields.io/github/issues/webview/webview_deno?logo=github)](https://github.com/webview/webview_deno/issues)\n[![ci](https://img.shields.io/github/workflow/status/webview/webview_deno/ci?logo=github)](https://github.com/webview/webview_deno/actions)\n[![downloads](https://img.shields.io/github/downloads/webview/webview_deno/total?logo=github)](https://github.com/webview/webview_deno/releases/latest/)\n[![JSR](https://jsr.io/badges/@webview/webview)](https://jsr.io/@webview/webview)\n[![deno version](https://img.shields.io/badge/deno-^1.18.0-informational?logo=deno)](https://github.com/denoland/deno)\n[![deno doc](https://img.shields.io/badge/deno-doc-informational?logo=deno)](https://doc.deno.land/https/deno.land/x/webview/mod.ts)\n[![license](https://img.shields.io/github/license/webview/webview_deno?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAEFCu8CAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAHKADAAQAAAABAAAAHAAAAABHddaYAAAC5UlEQVRIDd2WPWtVQRCGby5pVASLiGghQSxyG8Ui2KWwCfkH9olY2JneQkiR0oCIxH/gB+qVFDYBIWBAbAIRSbCRpLXwIxLiPT7vnNm9e87ZxJtUwYH3zO47Mzv7Mbv3tlo5KYriGtgAJ81OY1ENdG/YI4boFEOI911BXgY/pdtwGuAtXpvmB1tAXHDnUolE5urkPOQo6MqA3pXWmJJL4Bb4rQ7yEYfxsjnIF29NJIoNC6e5fxOL/qN+9KCz7AaLpN8zI415N2i2EptpGrkRIjGeAuvR6IY1hSFLFUOug9Ms2M7ZxIUNytm1mnME186sdI2BOCwAyQMg54ugzSmKmwbPwSbolKH+hbAtQdsOoF+BsF3anUVwBdiOWRidFZDKTTrKEAJTm3GVrGkHzw/uPZbyx7DNNLfB7KGmRsCcr+/gjaiPSpAOTyX9qG4L/XBDdWXDDf1M+wtQ5fwCOtcb4Dto6VpLmzByB6gqdHbTItGSJdAGqibJQhmRfCF7IN4beSF2G9CqnGXQrxofXU+EykllNeoczRgYytDKMubDIRK0g5MF8rE69cGu0u9nlUcqaUZ41W0qK2nGcSzr4D2wV9U9wxp1rnpxn8agXAOHMQ9cy9kbHM7ngY4gFb03TxrO/yfBUifTtXt78jCrjY/jgEFnMn45LuNWUtknuu7NSm7D3QEn3HbatV1Q2jvgIRf1sfODKQaeymxZoMLlTqsq1LF+HvaTqQOzEzUCfni0/eNIA+DfuE3KEtbsegckGmMktTXacnBHPVe687ugkpT+axCkkhBSyRSjWI2xf1KMMVmYiQdWksK9BEFiQoiYLIlvJA3/zeTzCejP0RbB6YPbhZuB+0pR3KcdX0LaJtju0ZgBL8Bd+sbz2QIaU2OfBX3BaQLsgZysQtrk0M8Sh1A0w3DyyYnGnAiZ4gqZ/TvI2A8OGd1YIbF7+F3P+B6dYpYdsJNZgrjO0UdOIhmom0nwL0pnfnzkL1803jAoKhvyAAAAAElFTkSuQmCC)](https://github.com/webview/webview_deno/blob/master/LICENSE)\n\n[deno](https://github.com/denoland/deno) bindings for\n[webview](https://github.com/webview/webview)\n\nWebview is a tiny cross-platform library to make **web-based GUIs for desktop\napplications**.\n\n---\n\n\u003e ⚠️ This project is still in development. Expect breaking changes.\n\n---\n\n![Example Image](images/webview_deno.png)\n\n## Installation\n\nWebview is published to [jsr.io](https://jsr.io/@webview/webview) and\n[deno.land](https://deno.land/x/webview). The recommended way to use it is to\nuse JSR:\n\n```bash\ndeno add jsr:@webview/webview\n```\n\nor without the CLI:\n\n```typescript\nimport { Webview } from \"jsr:@webview/webview\";\n```\n\n## Example\n\n```typescript\nimport { Webview } from \"@webview/webview\";\n\nconst html = `\n  \u003chtml\u003e\n  \u003cbody\u003e\n    \u003ch1\u003eHello from deno v${Deno.version.deno}\u003c/h1\u003e\n  \u003c/body\u003e\n  \u003c/html\u003e\n`;\n\nconst webview = new Webview();\n\nwebview.navigate(`data:text/html,${encodeURIComponent(html)}`);\nwebview.run();\n```\n\nYou can run this example directly from the web:\n\n```bash\ndeno run -Ar --unstable https://deno.land/x/webview/examples/local.ts\n```\n\nor in your development environment:\n\n```bash\ndeno run -Ar --unstable examples/local.ts\n```\n\nyou can find other examples in the [`examples/`](examples) directory.\n\n## Documentation\n\nYou can find the official documentation\n[here](https://jsr.io/@webview/webview/doc).\n\n## Development\n\n### Prerequisites\n\n#### Linux\n\n- [webkit2gtk](https://webkitgtk.org/) (to install using apt:\n  `sudo apt-get install libwebkit2gtk-4.0-dev`)\n\n### Building\n\nMake sure to init the webview submodule with:\n\n```bash\n$ git submodule update --init --recursive\n```\n\nBuilding on Windows requires admin privileges.\n\n```bash\n$ deno task build\n```\n\n### Running\n\nTo run webview_deno without automatically downloading the binaries from\n[releases](https://github.com/webview/webview_deno/releases) you will need to\nuse the environment variable `PLUGIN_URL` and set it to the path where the built\nbinaries are located. This is usually `file://./target/release`.\n\n```bash\n$ deno task build\n$ PLUGIN_URL=./build/\n$ deno run --unstable -A examples/local.ts\n```\n\nor\n\n```bash\n$ deno task run examples/local.ts\n```\n\nor if you have the webview library already built and didn't make any changes to\nit, you can skip the building step with:\n\n```bash\n$ deno task run:fast examples/local.ts\n```\n\n## Environment variables\n\n- `PLUGIN_URL` - Set a custom library URL. Defaults to the latest release assets\n  on Github. Setting this also disables cache for `plug`.\n\n## Dependencies\n\n- [plug](https://jsr.io/@denosaurs/plug)\n- [webview](https://github.com/webview/webview)\n\n## Other\n\n### Contribution\n\nPull request, issues and feedback are very welcome. Code style is formatted with\n`deno task fmt`, linted with `deno task lint` and commit messages are done\nfollowing [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)\nspec.\n\n### Licence\n\nCopyright 2020-2022, the webview_deno team. All rights reserved. MIT license.\n","funding_links":["https://opencollective.com/denosaurs","https://github.com/sponsors/denosaurs"],"categories":["👓 Alternatives to the [Electron.js](https://electronjs.org) ⚛","TypeScript","Rust","typescript"],"sub_categories":["Javascript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebview%2Fwebview_deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebview%2Fwebview_deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebview%2Fwebview_deno/lists"}