Chucker is an OkHttp interceptor library that records HTTP traffic inside an Android app and shows it in a built-in UI or notification.
Overview
Chucker attaches to Android applications through OkHttp as an interceptor. It persists request and response metadata inside the host app and surfaces a notification summary of activity, with a full-screen UI for browsing and sharing captured traffic.
Distribution uses Maven Central with separate release and no-op artifacts so production builds can strip the inspector from shipped APKs. Developers add ChuckerInterceptor to an OkHttp client builder; optional network-level placement exposes peer and wire-level details per OkHttp documentation.
The UI supports multi-window on Android 7+, body search with highlighting, image responses, custom body decoders, header redaction, and configuration through ChuckerCollector. Chucker is a maintained fork of the earlier Chuck project, with migration guides between major versions.
The library targets development and debug builds rather than production deployments, because stored traffic may include sensitive headers and bodies.
Key features
- OkHttp 4 compatible interceptor
- Notification plus in-app traffic UI
- Release no-op artifact for APKs
- Header redaction support
- Gzip and Brotli body handling
- Custom binary body decoders
- Multi-window inspection activity
- Gradle Maven Central dependency
Use cases
- Debugging REST calls during Android development
- Sharing HTTP traces without desktop proxies
- Inspecting images in API responses on device
- Hiding auth headers from logged traffic
- Migrating projects from Chuck to Chucker