Hey Android devs!

I've just open-sourced **Kourier** — an on-device HTTP inspector and live network telemetry SDK built for Android and Kotlin Multiplatform apps.

When building network-intensive apps, debugging HTTP calls directly on physical devices or emulators usually involves setting up desktop proxy tools (Charles/Proxyman), configuring Wi-Fi proxy profiles, and dealing with SSL pinning bypasses.

Kourier eliminates that friction completely by inspecting, storing, and visualizing your network traffic directly on the device with zero external setup.

### 🌟 What Kourier Brings:

  1. **Unified Network Interception**:

    - **Android**: Plug-and-play OkHttp & Retrofit interceptor.

    - **Multiplatform**: First-class Ktor Client 3.x plugin (Android & iOS).

    - **iOS**: Native Darwin `NSURLProtocol` interceptor for `URLSession`.

  2. **100% Compose Multiplatform UI**:

    - A modern, responsive in-app inspector interface with full **Day & Night mode** support.

    - Live HTTP status badges (200, 404, 500), latency waterfall, and search & status filtering.

  3. **Multi-Modal In-App Triggers**:

    - Launch via a draggable floating bubble overlay, dynamic notification drawer with heads-up alerts on 4xx/5xx errors, or hardware shake gesture.

  4. **Enterprise Data Masking & Privacy**:

    - Automatically redacts sensitive headers (`Authorization`, `Cookie`, API keys) and JSON payload fields (`password`, `token`, `credit_card`) before saving to SQLite.

  5. **Live Telemetry & Diagnostics**:

    - Real-time dashboard tracking active calls, error rates, throughput, and TTFB.

    - 1-tap export as formatted cURL commands or HAR (HTTP Archive) files via the native system share sheet.

  6. **Zero Release Footprint**:

    - Ships with lightweight `kourier-noop` artifacts to eliminate all debugging code and UI in production release builds.

---

### 🔗 Source Code & Setup Guide:

👉 **GitHub**: https://github.com/dev-shushant/kourier

Would love to get your feedback, bug reports, and suggestions!

submitted by /u/dev_shushant
[link] [comments]