{"id":1083,"url":"https://github.com/pmusolino/Wormholy","last_synced_at":"2025-08-06T14:31:33.496Z","repository":{"id":38361439,"uuid":"128782492","full_name":"pmusolino/Wormholy","owner":"pmusolino","description":"iOS network debugging, like a wizard 🧙‍♂️","archived":false,"fork":false,"pushed_at":"2024-04-18T15:58:22.000Z","size":2116,"stargazers_count":2320,"open_issues_count":27,"forks_count":183,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-07-31T12:14:52.301Z","etag":null,"topics":["alamofire","charles","debugger","https","ios","logger","logging","network","nsurlsession"],"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/pmusolino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"custom":"https://www.paypal.me/pmusolino"}},"created_at":"2018-04-09T14:11:55.000Z","updated_at":"2024-07-26T13:16:59.000Z","dependencies_parsed_at":"2024-01-29T16:58:21.570Z","dependency_job_id":"8c85a9a5-6ca7-48b5-a8f9-dc4cdadb8872","html_url":"https://github.com/pmusolino/Wormholy","commit_stats":{"total_commits":260,"total_committers":29,"mean_commits":8.96551724137931,"dds":0.2615384615384615,"last_synced_commit":"695ccee03c595177ddc4b9356e2381254aae8eba"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmusolino%2FWormholy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmusolino%2FWormholy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmusolino%2FWormholy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmusolino%2FWormholy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmusolino","download_url":"https://codeload.github.com/pmusolino/Wormholy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215780273,"owners_count":15929791,"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":["alamofire","charles","debugger","https","ios","logger","logging","network","nsurlsession"],"created_at":"2024-01-05T20:15:38.565Z","updated_at":"2024-12-09T14:31:19.962Z","avatar_url":"https://github.com/pmusolino.png","language":"Swift","funding_links":["https://www.paypal.me/pmusolino"],"categories":["Debugging","Libs","HarmonyOS","Swift","Network [🔝](#readme)","nsurlsession"],"sub_categories":["Getting Started","Network","Linter","Windows Manager"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/pmusolino/Wormholy/master/logo.png\" alt=\"Icon\"/\u003e\n\u003c/p\u003e\n\n[![Language](https://img.shields.io/badge/Swift-5-orange.svg)]()\n[![Pod version](https://img.shields.io/badge/Cocoapods-Compatible%20-blue)](https://cocoapods.org/pods/Wormholy)\n[![SPM Compatible](https://img.shields.io/badge/SPM-Compatible-green.svg)](https://swift.org/package-manager/)\n\nStart debugging iOS network calls like a wizard, without extra code! Wormholy makes debugging quick and reliable.\n\n**Features:**\n\n- [x] No code to write and no imports.\n- [x] Record all app traffic that uses `NSURLSession`.\n- [x] Reveal the content of all requests, responses, and headers simply by shaking your phone!\n- [x] No headaches with SSL certificates on HTTPS calls.\n- [x] Find, isolate, and fix bugs quickly.\n- [x] Swift \u0026 Objective-C compatibility.\n- [x] Also works with external libraries like `Alamofire` \u0026 `AFNetworking`.\n- [x] Ability to blacklist hosts from being recorded using the array `ignoredHosts`.\n- [x] Ability to export API requests as a Postman collection.\n- [x] Ability to share cURL representations of API requests.\n- [x] Programmatically enable or disable Wormholy for specific session configurations.\n- [x] Control the shake gesture activation with the `shakeEnabled` property.\n- [x] Filter responses by status code for precise debugging.\n- [x] View request stats, including HTTP methods breakdown, status code distribution, error types, response size stats, and more.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/pmusolino/Wormholy/refs/heads/feat/swift-ui-ios-15-support/screens.webp\" alt=\"Screens\"/\u003e\n\u003c/p\u003e\n\n## Requirements\n\n- iOS 16.0+\n- Xcode 15+\n- Swift 5\n\n## Usage\n\nIntegrating Wormholy into your project is simple, and it works like magic! **Shake your device** or simulator to access Wormholy. There's no need to import the library into your code.\n\n\u003cu\u003e**It is recommended to install it only in debug mode and not integrate it into production. Please remove it before sending your apps to production.**\u003c/u\u003e The easiest way to do this is with CocoaPods:\n\n```shell\npod 'Wormholy', :configurations =\u003e ['Debug']\n```\n\nYou can also integrate Wormholy using the **Swift Package Manager**!\n\n### Configuration Options\n\n- **Ignored Hosts**: Specify hosts to be excluded from logging using `Wormholy.ignoredHosts`. This is useful for ignoring traffic to certain domains.\n- **Logging Limit**: Control the number of logs retained with `Wormholy.limit`. This helps manage memory usage by limiting the amount of data stored.\n- **Default Filter**: Set a default filter for the search box with `Wormholy.defaultFilter` to streamline your debugging process.\n- **Enable/Disable**: Use `Wormholy.setEnabled(_:)` to toggle request tracking globally. You can also enable or disable it for specific `URLSessionConfiguration` instances using `Wormholy.setEnabled(_:sessionConfiguration:)`.\n- **Shake Gesture**: Control the activation of Wormholy via shake gesture with `Wormholy.shakeEnabled`.\n\n### Triggering Wormholy\n\nIf you prefer not to use the shake gesture, you can disable it using the [environment variable](https://medium.com/@derrickho_28266/xcode-custom-environment-variables-681b5b8674ec) `WORMHOLY_SHAKE_ENABLED` = `NO`.\n\nTo trigger Wormholy manually from another point in your app without using the shake gesture, call:\n\n```swift\nNotificationCenter.default.post(name: NSNotification.Name(rawValue: \"wormholy_fire\"), object: nil)\n```\n\nBy following these steps and configurations, you can effectively integrate Wormholy into your development workflow, enhancing your ability to debug network requests efficiently.\n\n## Contributing\n\n- If you **need help** or you'd like to **ask a general question**, open an issue.\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Acknowledgements\n\n**Made with ❤️ by [Paolo Musolino](https://github.com/pmusolino).**\n\n***Follow me on:***\n#### 💼 [LinkedIn](https://www.linkedin.com/in/paolomusolino/)\n#### 🤖 [X](https://x.com/pmusolino)\n\n## MIT License\n\nWormholy is available under the MIT license. See the LICENSE file for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmusolino%2FWormholy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmusolino%2FWormholy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmusolino%2FWormholy/lists"}