{"id":13736958,"url":"https://github.com/neroist/webview","last_synced_at":"2025-09-05T02:40:34.979Z","repository":{"id":137501989,"uuid":"611728235","full_name":"neroist/webview","owner":"neroist","description":"Updated bindings for Webview for Nim.","archived":false,"fork":false,"pushed_at":"2024-09-15T02:08:01.000Z","size":352,"stargazers_count":38,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-03T02:59:22.751Z","etag":null,"topics":["binding","nim","nim-lang","webview"],"latest_commit_sha":null,"homepage":"https://neroist.github.io/webview/","language":"Nim","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/neroist.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-03-09T12:28:14.000Z","updated_at":"2025-04-20T12:08:16.000Z","dependencies_parsed_at":"2024-02-04T07:27:51.733Z","dependency_job_id":"6cf5d725-2430-4cbd-a300-a012d065cb76","html_url":"https://github.com/neroist/webview","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/neroist/webview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fwebview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fwebview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fwebview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fwebview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neroist","download_url":"https://codeload.github.com/neroist/webview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fwebview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273703334,"owners_count":25152999,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["binding","nim","nim-lang","webview"],"created_at":"2024-08-03T03:01:32.484Z","updated_at":"2025-09-05T02:40:29.957Z","avatar_url":"https://github.com/neroist.png","language":"Nim","funding_links":[],"categories":["User Interface"],"sub_categories":["GUI"],"readme":"# Webview\n\nWebview is a wrapper for [Webview](https://github.com/webview/webview), a tiny\ncross-platform webview library for C/C++ to build modern cross-platform GUIs.\nWebview (the wrapper) supports two-way JavaScript bindings, to call JavaScript from\nNim and to call Nim from JavaScript.\n\nWebview is also an updated wrapper for [Webview](https://github.com/webview/webview)\nfor Nim than [oskca's bindings](https://github.com/oskca/webview), which were last\nupdated 5 years ago and are severely out of date.\n\n## Binding Features\n\nSimilar to [`uing`](https://github.com/neroist/uing), you can also choose to\nwhether or not compile with a DLL, static library, or to statically compile Webview\nsources into your executable.\n\nTo compile with a DLL, pass `-d:useWebviewDll` to the Nim compiler. You can also\nchoose the name/path of the DLL with `-d:webviewDll:\u003cdll-name\u003e`.\n\nTo compile with a static library, compile with `-d:useWebviewStaticLib` or\n`-d:useWebviewStaticLibrary`. Similarly, you can also\nchoose the name/path of the static library with `-d:webviewStaticLibrary:\u003clib-name\u003e`.\n\n## Documentation\n\nDocumentation is available at \u003chttps://neroist.github.io/webview\u003e\n\n### Examples\n\nExamples can be found at [`examples/`](examples/). Currently, it contains two\nexamples, `basic.nim`, a basic example of Webview, and `bind.nim`, an example of\ncalling Nim from Javascript with Webview. In addition, it also has an [example\napplication](examples/example_application) in the structure described\n[here](https://github.com/webview/webview#app-distribution).\n\nHere's [`basic.nim`](examples/basic.nim) for you:\n\n```nim\nimport webview\n\nlet w = newWebview() # or you can use create()\n\nw.title = \"Basic Example\" # or use setTitle()\nw.size = (480, 320) # or setSize()\nw.html = \"Thanks for using webview!\" # or setHtml()\n\nw.run()\nw.destroy()\n```\n\n## Installation\n\nInstall via Nimble:\n\n```shell\nnimble install https://github.com/neroist/webview\n```\n\nThis package isn't in Nimble's package list, so you have to install via GitHub link.\n\n## Requirements\n\nOn Windows, Webview requires that developers and end-users must have the\n[WebView2 runtime](https://developer.microsoft.com/en-us/microsoft-edge/webview2/)\ninstalled on their system for any version of Windows before Windows 11. The\nWebView2 SDK is installed for you, so no need to worry about that.\n\nOn Linux and BSD, Only [GTK3](https://docs.gtk.org/gtk3/) and\n[WebKitGTK](https://webkitgtk.org/) are required for both development and distribution.\nSee [here](https://github.com/webview/webview#linux-and-bsd).\n\n## Distribution\n\nSee [here](https://github.com/webview/webview#app-distribution) in Webview's README.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneroist%2Fwebview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneroist%2Fwebview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneroist%2Fwebview/lists"}