FChucker
A lightweight and flexible Swift network logging SDK. Easily monitor, debug, and analyze your HTTP(S) traffic to improve your development workflow.
Install / Use
/learn @muhammedfaruk/FChuckerREADME
FChucker
A powerful network debugging tool for iOS applications built with SwiftUI. FChucker intercepts and displays network requests in a beautiful, interactive interface, making it easy to debug API calls during development.
Features
- 🔍 Network Request Interception: Automatically captures all HTTP/HTTPS requests
- 📱 SwiftUI Interface: Modern, native iOS interface built with SwiftUI
- 🎨 Interactive JSON Viewer: Expandable/collapsible JSON viewer with syntax highlighting
- 🔔 Toast Notifications: Real-time toast notifications for network requests
- 📊 Request Details: View complete request/response data including headers, body, and status codes
- ⚡ Lightweight: Minimal performance impact on your app
https://github.com/user-attachments/assets/0be26dfc-c0c9-4970-af8f-1df02478cd42
Requirements
- iOS 15.0+
- Xcode 15.0+
Installation
Swift Package Manager
Add FChucker to your project using Swift Package Manager:
- In Xcode, go to
File→Add Package Dependencies - Enter the repository URL:
https://github.com/muhammedfaruk/FChucker - Select the version you want to use
- Add the package to your target
Or add it to your Package.swift:
dependencies: [
.package(url: "https://github.com/muhammedfaruk/FChucker", from: "1.0.0")
]
Quick Start
1. Start Network Monitoring
In your app's entry point (usually App.swift or SceneDelegate.swift), start FChucker:
import FChucker
@main
struct MyApp: App {
init() {
// Start network monitoring
#if DEBUG
FChucker.start()
#endif
}
var body: some Scene {
WindowGroup {
ContentView()
.networkToasts() // Add toast notifications
}
}
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
FChucker is available under the MIT license. See the LICENSE file for more info.
Credits
Created by Muhammed Faruk Söğüt
Note: This tool is intended for development and debugging purposes only. Do not include it in production builds.
