qmetrics.net

httptap

Linux CLI to inspect program HTTP and HTTPS traffic

httptap screenshot

httptap wraps a command so you can see HTTP and HTTPS requests the program makes on Linux via network namespaces and a TUN device, without root or system-wide iptables in typical setups

Overview

httptap is a command-line tool you invoke as httptap -- <your command>. While the wrapped program runs, the tool prints summaries of outbound HTTP and HTTPS requests and their responses. It can decrypt HTTPS by injecting a per-run certificate authority trusted only inside the child process environment.

The tool places the subprocess in an isolated network namespace and routes all its traffic through a TUN interface. It implements a transparent TCP proxy and relays traffic to real destinations while logging application-layer data. Optional flags control header and body output, treat specific ports as HTTPS, support DNS-over-HTTP, and export captures in HAR format.

You can install a static Go binary from releases or build with Go. On some newer Ubuntu releases an extra sysctl step is documented for unprivileged user namespaces. The program currently targets Linux only because it relies on network namespaces and related kernel APIs.

A special address routes traffic intended for localhost when the isolated namespace would otherwise see a separate loopback stack. For programs that daemonize after launch, a --no-exit flag keeps proxying after the immediate child exits.

Key features

  • Wrap any command to log HTTP/HTTPS
  • HTTPS decryption via injected CA
  • Linux network namespace isolation
  • HAR file export
  • Optional header and body printing
  • DNS-over-HTTP visibility
  • Localhost routing workaround
  • Static binary without extra dependencies

Use cases

  • Debug curl or script API calls
  • Inspect gcloud or kubectl HTTP usage
  • Capture traffic for HAR viewers
  • Study redirect chains
  • Run GUI apps under traffic capture

Tags

Similar software

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

  • REST and HTTP method support
  • GraphQL, WebSocket, and MQTT clients
  • Collections with nested folders
TypeScriptWeb, Linux, macOS, WindowsDetails →
★ 81k⟳ 7 days agoMIT
Open Source Alternative to:Postman

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

  • REST routes from JSON files
  • JSON5 database support
  • Rich query operators
JavaScriptCLIDetails →
★ 75.7k⟳ 8 months agoMIT

Bruno

Git-native local API client for REST and GraphQL

Bruno is an API client for exploring and testing REST, GraphQL, gRPC, and WebSocket APIs. Collections live as folders on disk in OpenCollection YAML with no cloud sync.

  • Filesystem-based OpenCollection YAML collections
  • REST, GraphQL, gRPC, and WebSocket support
  • Git-friendly plain-text workflow
JavaScriptLinux, macOS, Windows, DockerDetails →
★ 48.7k⟳ todayMIT
Open Source Alternative to:Postman

mitmproxy

Interactive TLS-aware HTTP and WebSocket intercepting proxy

mitmproxy sits between clients and servers to inspect, modify, and replay HTTP/1, HTTP/2, HTTP/3, and WebSocket traffic. It ships console, CLI, and web front ends.

  • TLS interception for HTTP and WebSockets
  • Interactive console interface
  • mitmdump CLI capture and scripting
PythonWeb, Linux, macOS, WindowsDetails →
★ 47.3k⟳ 2 days agoMIT

Kong Gateway

Cloud-native API, LLM, and MCP gateway with plugins

Kong Gateway centralizes proxying, routing, load balancing, and authentication for microservice APIs and AI traffic. It extends behavior through a plugin system and optional AI gateway features.

  • Advanced routing and load balancing
  • JWT, OAuth, and ACL authentication
  • Multi-provider LLM API routing
LuaLinux, DockerDetails →
★ 44.4k⟳ 11 days agoApache-2.0
Open Source Alternative to:ApigeeOpenResty Edge

IT Tools

Web collection of handy developer and IT utilities

IT Tools bundles many browser-based converters, encoders, and calculators for developers and IT staff, organized by category with a unified interface.

  • Broad catalog of developer utilities
  • Crypto and hashing tools
  • JSON, YAML, XML, and TOML converters
VueWeb, DockerDetails →
★ 41.4k⟳ 9 months agoGPL-3.0