A powerful desktop application for intercepting and analyzing HTTP/HTTPS traffic from mobile devices. Built with Electron, Vue 3, and TypeScript.
- MITM Proxy Server – Intercept HTTP/HTTPS traffic on port 8888
- Auto CA Certificate Generation – Creates and manages SSL certificates for HTTPS interception
- QR Code Setup – Easy mobile device configuration via QR code scanning
- Real-time Request Capture – Live updates as requests are captured
- Advanced Filtering – Filter by method, status, host, content type
- Request Details – View headers, body, timing with syntax highlighting
- Pattern Detection – Auto-detect JWT tokens, API keys, Base64 strings
- Export Options – Export as HAR, cURL, Python code, Postman collection
- Dark Mode – Beautiful dark theme UI
- Electron – Cross-platform desktop framework
- Vue 3 – Composition API with TypeScript
- TailwindCSS – Utility-first CSS
- PrimeVue – UI component library
- Pinia – State management
- better-sqlite3 – Fast SQLite database
- node-forge – Certificate generation
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/danieldev23/trafexia.git
cd trafexia
# Install dependencies
npm install
# Start development
npm run dev
# Build for current platform
npm run build
# Build for specific platforms
npm run build:mac
npm run build:win
npm run build:linux
- Start the Proxy – Click “Start Proxy” to begin intercepting traffic
- Scan QR Code – Use your mobile device to scan the displayed QR code
- Install Certificate – Follow the setup instructions to install the CA certificate
- Configure Proxy – Set up your mobile device to use the proxy
- Capture Traffic – All HTTP/HTTPS traffic will be captured and displayed
- Go to Settings → WiFi → Long press network → Modify → Advanced → Proxy: Manual
- Enter the proxy IP and port (shown in the app)
- Download and install the CA certificate
- Settings → Security → Install from storage → Select the certificate
- Go to Settings → WiFi → Tap (i) next to network → Configure Proxy → Manual
- Enter the proxy IP and port
- Download the CA certificate
- Settings → General → Profile → Install the profile
- Settings → General → About → Certificate Trust Settings → Enable the certificate
⚠️ Warning: Installing a CA certificate allows traffic interception. Only use this for development and reverse engineering on your own devices. Remove the certificate when not in use.
If you find this project helpful, consider supporting me:
MIT License – See LICENSE for details.

