Tracea

Android in-app network inspector, HTTP debugger & API mocking library. Zero proxy setup. Built with Kotlin & Jetpack Compose.

JitPack Version Android Kotlin MIT License
⭐ View on GitHub 📦 Get Started
Android Network Inspector - Request List HTTP Request Response Details API Mock Rules Engine

Why Tracea?

Everything you need to debug and mock Android network traffic — directly inside your app.

🔍

Real-Time HTTP Inspection

Monitor all OkHttp & Retrofit calls with status badges, headers, formatted JSON bodies, and query parameters.

🎭

Client-Side API Mocking

Force 401s, 500s, empty states, and slow timeouts. Test edge cases without touching backend code.

📉

Timing Waterfall

DNS lookup, TCP connect, TLS handshake, TTFB, and download — Chrome DevTools style breakdown.

🔒

Auto Redaction

Masks Authorization, Cookie, password, token, and secret fields recursively in headers and JSON bodies.

📋

1-Click Export

Copy cURL commands, export single-request or full-session HAR files for Postman and Chrome DevTools.

🔌

Floating Debug Overlay

Draggable badge with live request counter. Tap once to open the inspector from any screen.

Tracea vs Alternatives

How Tracea compares to Chucker, Charles Proxy, Stetho, and Flipper.

Feature Tracea Chucker Charles Stetho Flipper
In-app UI (no external tool)
Zero proxy / SSL setup
Client-side API mocking
HAR file export
Timing waterfall
Auto token/password redaction
Web inspector (browser)
Jetpack Compose UIN/A
No-op release artifactN/A
Maintained (2026)⚠️

Get Started

Add Tracea to your Android project in 2 minutes.

1. Add JitPack to settings.gradle.kts

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

2. Add dependency to app/build.gradle.kts

dependencies {
    // Full debugger in debug builds
    debugImplementation("com.github.HariKulhari06:tracea:1.2.0")

    // Zero-overhead stub for release builds
    releaseImplementation("com.github.HariKulhari06:tracea-noop:1.2.0")
}

3. Initialize & attach interceptor

Tracea.initialize(context = this, config = TraceaConfig(
    enabled = BuildConfig.DEBUG,
    showFloatingButton = true
))

val client = OkHttpClient.Builder()
    .addInterceptor(Tracea.interceptor)
    .build()
12 KB
Release Artifact
0 MB
Production Impact
~920 KB
Debug Footprint
0%
Security Risk