[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6878":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":36,"discoverSource":37},6878,"Bagel","yagiz\u002FBagel","yagiz","a little native network debugging tool for iOS","",null,"Swift",4419,327,47,28,0,2,3,6,7,29.55,"Apache License 2.0",false,"master",true,[27,28,29,30,31,32],"alamofire","debug","ios","network","network-traffic","swift","2026-06-12 02:01:31","# Bagel\n![Bagel](https:\u002F\u002Fgithub.com\u002Fyagiz\u002FBagel\u002Fblob\u002Fmaster\u002Fassets\u002Fheader.png?raw=true)\n\u003Cp align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCocoaPods\u002FCocoaPods\" alt=\"CocoaPods\">\n        \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCocoaPods-compatible-4BC51D.svg?style=flat\" \u002F>\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCarthage\u002FCarthage\" alt=\"Carthage\">\n        \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCarthage-compatible-4BC51D.svg?style=flat\" \u002F>\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FJamitLabs\u002FAccio\" alt=\"Accio\">\n        \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAccio-supported-0A7CF5.svg?style=flat\" \u002F>\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyagiz\u002FBagel\u002Freleases\" alt=\"Version\">\n        \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Fyagiz\u002FBagel.svg\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\nBagel is a little native iOS network debugger. It's not a proxy debugger so you don't have to mess around with certificates, proxy settings etc. As long as your iOS devices and your Mac are in the same network, you can view the network traffic of your apps seperated by the devices or simulators.\n\n## Preview\n![Bagel](https:\u002F\u002Fgithub.com\u002Fyagiz\u002FBagel\u002Fblob\u002Fdevelop\u002Fassets\u002Fscreenshot.png?raw=true)\n## Installation\n#### Install Mac App\n- Clone the repo.\n- Install pods.\n- Build and archive the project.\n#### Install iOS Client\n#### CocoaPods\n```shhttps:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fversion-1.3.1-blue.svg?style=flat\npod 'Bagel', '~>  1.4.0'\n```\n##### Carthage\n```sh\ngithub \"yagiz\u002FBagel\" \"1.4.0\"\n```\n##### Accio\n```swift\n.package(url: \"https:\u002F\u002Fgithub.com\u002Fyagiz\u002FBagel.git\", .upToNextMajor(from: \"1.4.0\")),\n```\n\n### Usage\nMost basic usage is to start Bagel iOS before any network operation. \n```swift\n\u002F\u002Fimport Bagel\nBagel.start()\n```\nSince Bagel exposes every request info to the public it would be better if you disable it for the store versions. You can use the below snippet to do it:\n```swift\n\u002F\u002Fimport Bagel\n#if DEBUG\nBagel.start()\n#endif\n```\n\n###  Configuring Bagel\nBy default, Bagel gets your project name and device information. Desktop client uses these informations to separate projects and devices. You can configure these if you wish:\n```swift\nlet bagelConfig = BagelConfiguration()\n\nbagelConfig.project.projectName = \"Custom Project Name\"\nbagelConfig.device.deviceName = \"Custom Device Name\"\nbagelConfig.device.deviceDescription = \"Custom Device Description\"\n\nBagel.start(bagelConfig)\n```\nBagel framework communicates with the desktop client by using Bonjour protocol. You can also configure these Netservice parameters. Default values are:\n\n```swift\nlet bagelConfig = BagelConfiguration()\n\nbagelConfig.netservicePort = 43434\nbagelConfig.netserviceDomain = \"\"\nbagelConfig.netserviceType = \"_Bagel._tcp\"\nbagelConfig.netserviceName = \"\"\n\nBagel.start(bagelConfig)\n```\nIf you change Netservice parameters in your app, you should also change them on desktop client.\n\nLicense\n----\nApache\n","Bagel 是一个轻量级的 iOS 原生网络调试工具。它允许开发者在无需配置证书或代理的情况下，直接在同一局域网内查看应用的网络流量，支持按设备或模拟器分离显示。该工具基于 Swift 开发，并且兼容 Alamofire 框架，通过 Bonjour 协议与桌面客户端通信。Bagel 适用于需要快速诊断和调试移动应用网络请求的场景，特别适合那些希望简化调试流程、提高开发效率的 iOS 开发者。此外，Bagel 还提供了灵活的配置选项，以便用户根据具体需求自定义项目名称、设备信息以及 Bonjour 服务参数。","2026-06-11 03:09:22","top_language"]