{"id":20732458,"url":"https://github.com/webview/webview_java","last_synced_at":"2025-04-23T22:20:34.358Z","repository":{"id":58082550,"uuid":"463727994","full_name":"webview/webview_java","owner":"webview","description":"A Java wrapper of https://github.com/webview/webview","archived":false,"fork":false,"pushed_at":"2024-05-28T07:53:42.000Z","size":1961,"stargazers_count":81,"open_issues_count":6,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-30T04:05:25.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webview.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-02-26T01:59:28.000Z","updated_at":"2025-03-30T00:24:45.000Z","dependencies_parsed_at":"2024-03-10T01:26:23.079Z","dependency_job_id":"5db1100a-abfe-448f-8322-0432106de05b","html_url":"https://github.com/webview/webview_java","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/webview%2Fwebview_java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webview%2Fwebview_java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webview%2Fwebview_java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webview%2Fwebview_java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webview","download_url":"https://codeload.github.com/webview/webview_java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522830,"owners_count":21444608,"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-11-17T05:19:32.623Z","updated_at":"2025-04-23T22:20:34.337Z","avatar_url":"https://github.com/webview.png","language":"Java","readme":"# Webview\n\nThe Java port of the [webview project](https://github.com/webview/webview). It uses JNA and auto-extracts the required dll/dylib/so libraries for your current system.\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg alt=\"browser\" src=\"demo.png\" width=\"50%\" /\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n\u003c/div\u003e\n\n## Examples\n\n[Example](https://github.com/webview/webview_java/blob/main/core/src/test/java/com/example/webview_java/Example.java)  \n[Bridge Example](https://github.com/webview/webview_java/blob/main/bridge/src/test/java/com/example/webview_java/BridgeExample.java)\n\n## Supported Platforms\n\n\u003ctable width=300\u003e\n    \u003ctr\u003e\n        \u003ctd align=\"right\" width=64\u003e\n            \u003cimg src=\"https://simpleicons.org/icons/windows.svg\" title=\"Windows\" width=\"32\" height=\"32\"\u003e\n        \u003c/td\u003e\n        \u003ctd align=\"left\"\u003e\n            x86, x86_64\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd align=\"right\" width=64\u003e\n            \u003cimg src=\"https://simpleicons.org/icons/apple.svg\" title=\"macOS\" width=\"32\" height=\"32\"\u003e\n        \u003c/td\u003e\n        \u003ctd align=\"left\"\u003e\n            aarch64, x86_64\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd align=\"right\" width=64\u003e\n            \u003cimg src=\"https://simpleicons.org/icons/linux.svg\" title=\"Linux\" width=\"32\" height=\"32\"\u003e\n        \u003c/td\u003e\n        \u003ctd align=\"left\"\u003e\n            x86, x86_64, arm, aarch64\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n### Linux\nBoth MUSL and GLibC are supported out of the box. So it should work fine under distros like Debian, Arch, and Alpine.\n\n### macOS\n\nmacOS requires that all UI code be executed from the first thread, which means you will need to launch Java with `-XstartOnFirstThread`. This also means that the Webview AWT helper will NOT work at all.\n\n## Getting the code\n\n[![](https://jitpack.io/v/webview/webview_java.svg)](https://jitpack.io/#webview/webview_java)\n\nReplace `_VERSION` with the latest version or commit in this repo. If you want the Bridge bindings you'll need both `core` and `bridge`.\n\n\u003cdetails\u003e\n  \u003csummary\u003eMaven\u003c/summary\u003e\n  \n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.webview.webview_java\u003c/groupId\u003e\n    \u003cartifactId\u003ecore\u003c/artifactId\u003e\n    \u003cversion\u003e_VERSION\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eGradle\u003c/summary\u003e\n\n```gradle\nallprojects {\n  repositories {\n    maven { url 'https://jitpack.io' }\n  }\n}\n\ndependencies {\n  implementation 'com.github.webview.webview_java:core:_VERSION'\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eSBT\u003c/summary\u003e\n\n```sbt\nresolvers += \"jitpack\" at \"https://jitpack.io\"\n\nlibraryDependencies += \"com.github.webview.webview_java\" % \"core\" % \"\\_VERSION\"\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eLeiningen\u003c/summary\u003e\n\n```lein\n:repositories [[\"jitpack\" \"https://jitpack.io\"]]\n\n:dependencies [[com.github.webview.webview_java/core \"_VERSION\"]]\n```\n\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebview%2Fwebview_java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebview%2Fwebview_java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebview%2Fwebview_java/lists"}