{"id":1640,"url":"https://github.com/FelixLinBH/Domainer","last_synced_at":"2025-08-02T04:32:06.727Z","repository":{"id":56908653,"uuid":"65621360","full_name":"FelixLinBH/Domainer","owner":"FelixLinBH","description":"Manage multi-domain url auto mapping ip address table.","archived":false,"fork":false,"pushed_at":"2016-08-31T17:03:51.000Z","size":67,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T21:17:22.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/FelixLinBH.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-08-13T14:32:48.000Z","updated_at":"2020-04-04T15:23:42.000Z","dependencies_parsed_at":"2022-08-21T03:20:58.725Z","dependency_job_id":null,"html_url":"https://github.com/FelixLinBH/Domainer","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/FelixLinBH/Domainer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixLinBH%2FDomainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixLinBH%2FDomainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixLinBH%2FDomainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixLinBH%2FDomainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FelixLinBH","download_url":"https://codeload.github.com/FelixLinBH/Domainer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FelixLinBH%2FDomainer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334615,"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:52.069Z","updated_at":"2025-08-02T04:32:06.460Z","avatar_url":"https://github.com/FelixLinBH.png","language":"Objective-C","funding_links":[],"categories":["Networking"],"sub_categories":["Video","Other free courses"],"readme":"# Domainer\n\n\u003e Multi-domain mapper.\r\n\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\r\n[![Version](https://img.shields.io/cocoapods/v/Domainer.svg?style=flat)](http://cocoapods.org/pods/Domainer)\r\n[![License](https://img.shields.io/cocoapods/l/Domainer.svg?style=flat)](http://cocoapods.org/pods/Domainer)\r\n[![Platform](https://img.shields.io/cocoapods/p/Domainer.svg?style=flat)](http://cocoapods.org/pods/Domainer)\r\n\r\nThis library provides manage multi-domain table.\r\n\n![Editor preferences pane](https://github.com/FelixLinBH/Domainer/blob/master/ScreenShot.png?raw=true)\n\r\n## Features\r\n\r\n- [x] Manage multi-domain mapping main domain.  \r\n- [x] Find best domain which with low latency.\r\n- [x] Bypass dns resolver when IP table exists the domain.\r\n- [x] Swizzle NSURLRequest method in runtime.\r\n\r\n## Installation\r\n\r\n*Domainer requires iOS 7.0 or later.*\r\n\r\n### Using [CocoaPods](http://cocoapods.org)\r\n\r\n1.  Add the pod `Domainer` to your [Podfile](http://guides.cocoapods.org/using/the-podfile.html).\r\n\r\n        pod 'Domainer'\r\n\r\n2.  Run `pod install` from Terminal, then open your app's `.xcworkspace` file to launch Xcode.\r\n3.  Import the `Domainer.h` header. Typically, this should be written as `#import \u003cDomainer.h\u003e`\r\n\r\n### Using [Carthage](https://github.com/Carthage/Carthage)\r\n\r\n1.  Add the `felixLinBH/Domainer` project to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).\r\n\r\n        github \"felixLinBH/Domainer\"\r\n\r\n2.  Run `carthage update`, then follow the [additional steps required](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add the iOS and/or Mac frameworks into your project.\r\n3.  Import the Domainer framework/module.\r\n    *  Using Modules: `@import Domainer `\r\n    *  Without Modules: `#import \u003cDomainer.h\u003e`  \r\n\r\n## Usage example\n\r\n###Create domain table with Json format###\n\n```json\n[\n{\"mainDomainName\":\"www.mainDomain.com\",\"mapping\":[\"www.domain1.com\",\"www.domain2.com\",\"www.domain3.com\"]}\n,\n{\"mainDomainName\":\"www.mainDomain2.com\",\"mapping\":[\"www.domain4.com\",\"www.domain5.com\",\"www.domain6.com\"]}\n]\n```\n\n###Set mapping###\n```\n[Domainer setMapper:jsonArray];\n```\n\n###Run with callback###\n```\n[Domainer runWithCompleteHandler:^(BOOL sucess, NSArray *noResolvedDomain) {\n\tif(sucess){\n\t //Start query some api...\n\t};\n}];\n```\n## Example\n\r\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\r\n## Contribute\r\n\r\nWe would love for you to contribute to **Domainer**, check the ``LICENSE`` file for more info.\r\n\r\n## Author\r\n\r\n[Felix.lin](mailto:fly_81211@hotmail.com)\r\n\n## License\n\nDomainer is available under the MIT license. See the LICENSE file for more info.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFelixLinBH%2FDomainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFelixLinBH%2FDomainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFelixLinBH%2FDomainer/lists"}