{"id":25254525,"url":"https://github.com/srea/ribstreeviewerclient","last_synced_at":"2025-10-27T01:31:01.941Z","repository":{"id":36644293,"uuid":"162586026","full_name":"srea/RIBsTreeViewerClient","owner":"srea","description":"Real Time viewing attached RIBs Tree on Browser","archived":false,"fork":false,"pushed_at":"2023-03-04T05:20:15.000Z","size":1905,"stargazers_count":105,"open_issues_count":5,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-30T23:41:13.422Z","etag":null,"topics":["debug","ios","refactor","ribs","test"],"latest_commit_sha":null,"homepage":null,"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/srea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-20T13:51:23.000Z","updated_at":"2024-04-11T11:14:16.000Z","dependencies_parsed_at":"2022-08-08T16:16:19.818Z","dependency_job_id":"4fcfe094-4cb8-465f-97e0-287639365c19","html_url":"https://github.com/srea/RIBsTreeViewerClient","commit_stats":{"total_commits":73,"total_committers":7,"mean_commits":"10.428571428571429","dds":0.4931506849315068,"last_synced_commit":"9cd8e8f7348b1c76c6c51f1e2da7a4855c2d5562"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srea%2FRIBsTreeViewerClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srea%2FRIBsTreeViewerClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srea%2FRIBsTreeViewerClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srea%2FRIBsTreeViewerClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srea","download_url":"https://codeload.github.com/srea/RIBsTreeViewerClient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238418455,"owners_count":19468915,"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":["debug","ios","refactor","ribs","test"],"created_at":"2025-02-12T05:32:25.898Z","updated_at":"2025-10-27T01:31:01.353Z","avatar_url":"https://github.com/srea.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/github/license/srea/RIBsTreeViewerClient.svg) \n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n# RIBsTreeViewer\n\n![](./docs/logo.png)  \n\nReal Time viewing attached RIBs Tree on Browser\n\n## Demo\n\n![](./docs/demo.gif)  \n\n## Using the Libraries\n\n### XCFramework\n\nAdd the xcframework to your project。\n\n```\n./Products/RIBsTreeViewerClient.xcframework\n```\n\n### CocoaPods\n\nThis is not supported because the RIBs do not provide an up-to-date PodSpec, making it difficult to resolve dependencies.\n\n### Carthage\n\n```shell\ngithub \"srea/RIBsTreeViewerClient\"\n```\n\n```\n$ carthage update --platform iOS --no-use-binaries\n```\n\n#### Build Phase\n\n![](./docs/Carthage_BuildPhase.png)  \n![](./docs/Carthage_Embedded.png)\n\nCarthage CopyFrameworks (ONLY DEBUG)\n\n```shell\n if [ ${CONFIGURATION%%-*} == \"Debug\" ]; then\n    /usr/local/bin/carthage copy-frameworks\n fi\n```\n\n## Basic setup\n\n```swift\n@UIApplicationMain\npublic class AppDelegate: UIResponder, UIApplicationDelegate {\n\n    private var ribsTreeViewer: RIBsTreeViewer? = nil\n    \n    public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n        let window = UIWindow(frame: UIScreen.main.bounds)\n        self.window = window\n\n        let result = RootBuilder(dependency: AppComponent()).build()\n        let launchRouter = result.launchRouter\n        self.launchRouter = launchRouter\n        urlHandler = result.urlHandler\n        launchRouter.launch(from: window)\n        startRIBsTreeViewer(launchRouter: launchRouter)\n        return true\n    }\n}\n```\n\n```swift\n// MARK: - RIBsTreeViewer\n\n#if DEBUG\nimport RIBsTreeViewerClient\n\nextension AppDelegate {\n    private func startRIBsTreeViewer(launchRouter: Routing) {\n        if #available(iOS 13.0, *) {\n            ribsTreeViewer = RIBsTreeViewerImpl.init(router: launchRouter,\n                                                     options: [.webSocketURL(\"ws://0.0.0.0:8080\"),\n                                                               .monitoringIntervalMillis(1000)])\n            ribsTreeViewer?.start()\n        } else {\n            // RIBsTreeViewer is not supported OS version.\n        }\n    }\n}\n#endif\n```\n\n### Installing \n\n```\n$ npm install yarn\n```\n\n### Starting the websocke server\n\n```shell\n$ npx yarn install\n$ node index.js\n```\n\n## Open the page.\n\n```shell\n$ npx yarn install\n$ npx webpack\n$ open ./public/index.html\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrea%2Fribstreeviewerclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrea%2Fribstreeviewerclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrea%2Fribstreeviewerclient/lists"}