{"id":16685965,"url":"https://github.com/danielsaidi/webviewkit","last_synced_at":"2025-04-05T15:04:31.987Z","repository":{"id":42467597,"uuid":"476416061","full_name":"danielsaidi/WebViewKit","owner":"danielsaidi","description":"WebViewKit adds a WebView and SafariWebView to SwiftUI.","archived":false,"fork":false,"pushed_at":"2024-10-06T12:37:30.000Z","size":12756,"stargazers_count":126,"open_issues_count":2,"forks_count":12,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-29T14:06:26.853Z","etag":null,"topics":["ios","macos","safari","swift","swiftui","visionos","web","webview","wkwebview"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/danielsaidi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":["danielsaidi"]}},"created_at":"2022-03-31T17:44:51.000Z","updated_at":"2025-03-21T06:03:32.000Z","dependencies_parsed_at":"2022-09-21T03:20:24.274Z","dependency_job_id":"9bbc1a5a-a9f7-482e-8f7a-4ddcbfd8576b","html_url":"https://github.com/danielsaidi/WebViewKit","commit_stats":{"total_commits":70,"total_committers":3,"mean_commits":"23.333333333333332","dds":0.02857142857142858,"last_synced_commit":"7689aa4c59b2fb6e392a5df34fd96b3fce30a72e"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FWebViewKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FWebViewKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FWebViewKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FWebViewKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielsaidi","download_url":"https://codeload.github.com/danielsaidi/WebViewKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353729,"owners_count":20925329,"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":["ios","macos","safari","swift","swiftui","visionos","web","webview","wkwebview"],"created_at":"2024-10-12T15:04:01.117Z","updated_at":"2025-04-05T15:04:31.983Z","avatar_url":"https://github.com/danielsaidi.png","language":"Shell","funding_links":["https://github.com/sponsors/danielsaidi"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Resources/Icon.png\" alt=\"Project Icon\" width=\"250\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/danielsaidi/WebViewKit?color=%2300550\u0026sort=semver\" alt=\"Version\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Swift-6.0-orange.svg\" alt=\"Swift 6.0\" title=\"Version\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/platform-SwiftUI-blue.svg\" alt=\"Swift UI\" title=\"Swift UI\" /\u003e\n    \u003ca href=\"https://danielsaidi.github.io/WebViewKit\"\u003e\u003cimg src=\"https://img.shields.io/badge/documentation-web-blue.svg\" alt=\"Documentation\" /\u003e\u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/danielsaidi/WebViewKit\" alt=\"MIT License\" title=\"MIT License\" /\u003e\n\u003c/p\u003e\n\n\n\n# WebViewKit\n\nWebViewKit is a SwiftUI SDK that adds a `WebView` and a `SafariWebView` that can be used to embed web content and present web sites in your apps:\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src =\"Resources/Demo.gif\" width=\"300\" /\u003e\n\u003c/p\u003e\n\nThe ``WebView`` component supports iOS, macOS, \u0026 visionOS, and can be configured to fit your needs, while the iOS exclusive ``SafariWebView`` can be used for more basic needs and a more browser-like experience.\n\n\n\n## Installation\n\nWebViewKit can be installed with the Swift Package Manager:\n\n```\nhttps://github.com/danielsaidi/WebViewKit.git\n```\n\n\n\n## Getting started\n\nThe library's main view is ``WebView``, which can be used to display any URL:\n\n```swift\nimport SwiftUI\nimport WebViewKit\n\nstruct MyView {\n\n    var body: some View {\n        WebView(urlString: \"https://danielsaidi.com\")\n    }\n}\n```\n\nSee the online [getting started guide][Getting-Started] for more information.\n\n\n\n## Documentation\n\nThe online [documentation][Documentation] has more information, articles, code examples, etc.\n\n\n\n## Demo Application\n\nThe `Demo` folder has an app that lets you explore the library and try out the views.\n\n\n\n## Support my work \n\nYou can [sponsor me][Sponsors] on GitHub Sponsors or [reach out][Email] for paid support, to help support my [open-source projects][OpenSource].\n\nYour support makes it possible for me to put more work into these projects and make them the best they can be.\n\n\n\n## Contact\n\nFeel free to reach out if you have questions, or want to contribute in any way:\n\n* Website: [danielsaidi.com][Website]\n* E-mail: [daniel.saidi@gmail.com][Email]\n* Bluesky: [@danielsaidi@bsky.social][Bluesky]\n* Mastodon: [@danielsaidi@mastodon.social][Mastodon]\n\n\n\n## License\n\nWebViewKit is available under the MIT license. See the [LICENSE][License] file for more info.\n\n\n\n[Email]: mailto:daniel.saidi@gmail.com\n[Website]: https://danielsaidi.com\n[GitHub]: https://github.com/danielsaidi\n[OpenSource]: https://danielsaidi.com/opensource\n[Sponsors]: https://github.com/sponsors/danielsaidi\n\n[Bluesky]: https://bsky.app/profile/danielsaidi.bsky.social\n[Mastodon]: https://mastodon.social/@danielsaidi\n[Twitter]: https://twitter.com/danielsaidi\n\n[Documentation]: https://danielsaidi.github.io/WebViewKit\n[Getting-Started]: https://danielsaidi.github.io/WebViewKit/documentation/webviewkit/getting-started\n[License]: https://github.com/danielsaidi/WebViewKit/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fwebviewkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielsaidi%2Fwebviewkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fwebviewkit/lists"}