Hakka
Open SourceReact Native · Web · Native

See every request
from inside your app.

Local-first network inspector for React Native, the web, Next.js, Android, and iOS. It captures traffic in-process, with no proxy, no certificate, no cloud, and no accounts.

$npx hakka init
Hakka network inspector showing captured requests with method, status, timing, and HAR, OTel, and Postman export buttons
What it does

A full inspector, in-process.

In-process capture

A native OkHttp interceptor on Android and URLProtocol on iOS, with a JS fetch / XHR / WebSocket fallback where native cannot see traffic. No proxy. No CA certificate.

Breakpoints

Pause and edit a request or a response while it is in flight, then resume or abort. The Charles and Proxyman trick, in-process, with nothing sitting in the middle.

Mocking & throttling

Canned responses, block an endpoint, Map Remote redirect, rewrite, and network-condition profiles. Test the unhappy path on demand.

Exports

One capture, four formats: HAR, OpenTelemetry, Postman Collection, and shell-safe cURL. Hand it to a teammate or replay it later.

MCP for AI agents

Point Claude Code at your live traffic and ask "what 5xx did that button trigger?" against the real requests your app just made. Sensitive headers are redacted at ingest.

Release-safe

Production builds get no-op artifacts, so there is zero overhead in the app you actually ship. Hakka runs in dev and disappears in release.

One engine

Same model everywhere. Native rendering.

hakka-core powers every target, so captures, panels, and exports stay identical across platforms while each surface renders native.

React NativeWebNext.jsAndroidiOS
Quickstart

Two lines in React Native.

Or run npx hakka init to detect your framework and wire it up.

npm install react-native-hakka \
  @react-native-clipboard/clipboard
cd ios && pod install
import { Hakka } from 'react-native-hakka'

Hakka.start({ mode: 'auto' })
Full install guide →

Debug your app's network from inside your app.