{"id":17272318,"url":"https://github.com/vmanot/browserkit","last_synced_at":"2025-04-14T08:20:54.371Z","repository":{"id":194965861,"uuid":"579415219","full_name":"vmanot/BrowserKit","owner":"vmanot","description":"Web-scraping made easy with Swift.","archived":false,"fork":false,"pushed_at":"2024-07-27T01:23:38.000Z","size":928,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-27T21:52:05.316Z","etag":null,"topics":["async-await","framework","swift","web-scraping"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmanot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-17T16:12:03.000Z","updated_at":"2025-03-11T17:46:01.000Z","dependencies_parsed_at":"2023-09-16T01:13:38.650Z","dependency_job_id":"fe31e22b-d3dc-4de9-b9b1-ef0bf362b198","html_url":"https://github.com/vmanot/BrowserKit","commit_stats":null,"previous_names":["vmanot/browserkit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmanot%2FBrowserKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmanot%2FBrowserKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmanot%2FBrowserKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmanot%2FBrowserKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmanot","download_url":"https://codeload.github.com/vmanot/BrowserKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844036,"owners_count":21170505,"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":["async-await","framework","swift","web-scraping"],"created_at":"2024-10-15T08:48:21.624Z","updated_at":"2025-04-14T08:20:54.346Z","avatar_url":"https://github.com/vmanot.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BrowserKit\n\n[![Build all  platforms](https://github.com/vmanot/BrowserKit/actions/workflows/swift.yml/badge.svg)](https://github.com/vmanot/BrowserKit/actions/workflows/swift.yml)\n\n# Requirements\n\n- Deployment target: iOS 16, macOS 13\n- Xcode 15+\n\n# Usage\n\nThe main export of this package is `BKWebView`.\n\n## Bundled JavaScript libraries\n\n### [`turndown.js`](https://github.com/mixmark-io/turndown)\n\nturndown is an HTML to Markdown converter written in JavaScript. BrowserKit ships a minified version of `turndown.js` that makes it easy to scrape web pages using a modern Swift API: \n\nFor example:\n```swift\nlet turndown = await _TurndownJS()\n\nlet urlRequest = URLRequest(url: URL(string: \"https://en.wikipedia.org/wiki/Web_scraping\")!)\nlet htmlString = try await URLSession.shared.data(for: urlRequest).0.toString()\n\nlet markdown = try await turndown.convert(htmlString: htmlString)\n\nprint(markdown)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmanot%2Fbrowserkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmanot%2Fbrowserkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmanot%2Fbrowserkit/lists"}