{"id":1753,"url":"https://github.com/itsmeichigo/URLPreview","last_synced_at":"2025-08-02T04:32:28.959Z","repository":{"id":56925252,"uuid":"49180536","full_name":"itsmeichigo/URLPreview","owner":"itsmeichigo","description":"An NSURL extension for showing preview info of webpages","archived":false,"fork":false,"pushed_at":"2020-08-27T04:38:30.000Z","size":275,"stargazers_count":199,"open_issues_count":0,"forks_count":20,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-30T10:44:05.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/itsmeichigo.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}},"created_at":"2016-01-07T04:14:02.000Z","updated_at":"2024-10-17T02:34:37.000Z","dependencies_parsed_at":"2022-08-21T06:20:16.746Z","dependency_job_id":null,"html_url":"https://github.com/itsmeichigo/URLPreview","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/itsmeichigo/URLPreview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeichigo%2FURLPreview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeichigo%2FURLPreview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeichigo%2FURLPreview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeichigo%2FURLPreview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsmeichigo","download_url":"https://codeload.github.com/itsmeichigo/URLPreview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmeichigo%2FURLPreview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334618,"owners_count":24233793,"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-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2024-01-05T20:15:54.977Z","updated_at":"2025-08-02T04:32:28.607Z","avatar_url":"https://github.com/itsmeichigo.png","language":"Swift","funding_links":[],"categories":["Parsing"],"sub_categories":["Other Parsing","Other free courses"],"readme":"# URLPreview\n\nAn NSURL extension for showing preview info of webpages.\n\nYou may want to use it if you want to mimick Facebook app's behavior when you post a link on your status.\n\n![Screenshot](https://raw.githubusercontent.com/itsmeichigo/URLPreview/master/ScreenShot.png)\n\n## Requirements\n\n- Swift 5 \u0026 Xcode 10.2\n- This library depends on [Kanna](https://github.com/tid-kijyun/Kanna)\n\n## Usage\n\nPretty simple, all you need is a block:\n\n```Swift\nif let url = NSURL(string: urlTextField.text!) {\n    url.fetchPageInfo({ (title, description, previewImage) -\u003e Void in\n      // do whatever you want here\n    }, failure: { (errorMessage) -\u003e Void in\n      print(errorMessage)\n    })\n} else {\n  print(\"Invalid URL!\")\n}\n```\n\n## Contributing\n\nContributions for bug fixing or improvements are welcome. Feel free to submit a pull request.\n\n## Licence\n\nURLPreview is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmeichigo%2FURLPreview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsmeichigo%2FURLPreview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmeichigo%2FURLPreview/lists"}