{"id":24096413,"url":"https://github.com/t-osawa-009/reswiftmonitor","last_synced_at":"2025-07-04T11:05:59.006Z","repository":{"id":40444091,"uuid":"120158141","full_name":"t-osawa-009/ReSwiftMonitor","owner":"t-osawa-009","description":"ReSwift+redeux dev tools","archived":false,"fork":false,"pushed_at":"2022-10-29T03:49:26.000Z","size":3725,"stargazers_count":14,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T08:14:39.630Z","etag":null,"topics":["dev","devtools","ios","katana","middleware","monitor","monitors","pod","redux","redux-devtools","redux-devtools-extension","redux-middleware","reswift","swift"],"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/t-osawa-009.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-04T05:34:40.000Z","updated_at":"2023-03-27T09:47:14.000Z","dependencies_parsed_at":"2022-08-09T20:31:17.204Z","dependency_job_id":null,"html_url":"https://github.com/t-osawa-009/ReSwiftMonitor","commit_stats":null,"previous_names":["takuchantuyoshi/reswiftmonitor"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/t-osawa-009/ReSwiftMonitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FReSwiftMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FReSwiftMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FReSwiftMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FReSwiftMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t-osawa-009","download_url":"https://codeload.github.com/t-osawa-009/ReSwiftMonitor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FReSwiftMonitor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263499193,"owners_count":23476021,"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":["dev","devtools","ios","katana","middleware","monitor","monitors","pod","redux","redux-devtools","redux-devtools-extension","redux-middleware","reswift","swift"],"created_at":"2025-01-10T12:31:57.436Z","updated_at":"2025-07-04T11:05:58.976Z","avatar_url":"https://github.com/t-osawa-009.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReSwiftMonitor\n\n[ReSwift](https://github.com/ReSwift/ReSwift) middleware that can be used to communicate with redux-dev tools. It has been tested with  [redux-devtools cli](https://github.com/reduxjs/redux-devtools/tree/main/packages/redux-devtools-cli), but it should work with [other monitors]( https://github.com/zalmoxisus/remote-redux-devtools#monitoring) too.\nThis project is heavily inspired by the [katanaMonitor-lib-swift](https://github.com/bolismauro/katanaMonitor-lib-swift). \n\n![gif](https://github.com/takuchantuyoshi/ReSwiftMonitor/blob/master/GIF/reswiftmonitor_sample.gif?raw=true)\n\n#### Dependencies \n\nInstall the redux-devtools cli once:\n\n```sh\nnpm install -g @redux-devtools/cli\n```\n\nRun the standalone application (every time you want to use the monitor)\n\n```sh\nredux-devtools --open\n```\n\n#### Project Integration\nThe monitor is shipped using Cocoapods.\n\n##### Pod\nAdd the pod `ReSwiftMonitor`\n\n```ruby\npod 'ReSwiftMonitor', :configurations =\u003e ['Debug']\n```\n##### Carthage\n```\ngithub \"t-osawa-009/ReSwiftMonitor\"\n```\n\nThe middleware should be used in debug configurations only.\n\nIn your application, conditionally add the middleware. Here, for instance, we use the `DEBUG` macro to conditionally add the middleware in debug configurations only:\n\n```swift\nvar middleware: [Middleware\u003cAppState\u003e] = {\n    var _middleware: [Middleware\u003cAppState\u003e] = []\n    #if DEBUG\n    let monitorMiddleware = MonitorMiddleware.make(configuration: Configuration())\n    _middleware.append(monitorMiddleware)\n    #endif\n    return _middleware\n}()\n\nlet store = Store\u003cAppState\u003e(reducer: AppState.reducer(), state: AppState(), middleware: middleware)\n\n```\n\n\n\n#### Usage\n\n* Launch `redux-devtools` in your terminal\n* Click `settings` and make sure that `Use custom local server` is selected and the configuration is the proper ones (by default localhost and 8000). This is the UI where actions will appear\n* Launch your Reswift application\n\n#### More\n- [ReSwiftMonitorBrowser](https://github.com/t-osawa-009/ReSwiftMonitorBrowser) ReSwiftMonitor Browser for iOS, Mac OS\n\n#### Libraries Used\n- [sacOO7/socketcluster-client-swift](https://github.com/sacOO7/socketcluster-client-swift)\n- [ReSwift](https://github.com/ReSwift/ReSwift)\n- [HandyJSON](https://github.com/alibaba/HandyJSON)\n- [Starscream](https://github.com/daltoniam/Starscream)\n\n### Contributing\nThere's still a lot of work to do here. We would love to see you involved. You can find all the details on how to get started in the [Contributing Guide](https://github.com/t-osawa-009/ReSwiftMonitor/blob/master/CONTRIBUTING.md).\n\n### License\n\nReSwiftMonitor is released under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft-osawa-009%2Freswiftmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft-osawa-009%2Freswiftmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft-osawa-009%2Freswiftmonitor/lists"}