I’ve been building an API client in Go since April 2025, mostly because every one I liked wanted me to sign in. It’s called Gostman: a Wails desktop app, a CLI, and a web version at Gostman — Free, Open Source API Client and Postman Alternative. MIT licensed.
The part I think this forum would care about is how it’s put together. For a while I had three copies of the request logic (a JS one in the frontend, one in the desktop app’s Go code, one in the Vercel proxy), and they drifted exactly how you’d expect. string(bodyBytes) was quietly corrupting binary responses, JSON numbers above 2^53 were changing value because they went through float64, and cookies set on a redirect hop got dropped because there was no jar.
Now there’s one engine package with a single entry point:
func Send(ctx context.Context, req Request, policy Policy) (Response, error)
Each front end passes its own Policy (timeouts, body limits, whether private networks are allowed). The public proxy turns on BlockPrivate, which swaps in a dialer that resolves the host, rejects it if any IP is private or reserved, then dials the IP it actually checked, so a DNS rebind can’t slip in between the check and the connect.
A few other Go bits:
- the CLI runs pre-request/test scripts in goja, with a watchdog that times out the VM and samples heap via
runtime/metricsevery 50ms, callingvm.Interruptif a script blows past its allowance gostman mcpis a hand-written MCP server (stdio + Streamable HTTP on loopback) so a coding agent can call your API through a collection. A redactor replaces secret values, including URL-encoded, JSON-escaped and base64 forms, with{{label}}markers before anything reaches the model- gRPC works from server reflection or .proto files via protocompile, no protoc needed
- collections are plain YAML files you can commit
Repo: GitHub - kunalgoesbyken/gostman: Free, open source API client for REST, GraphQL, gRPC and WebSocket. Desktop, web and CLI. No account. · GitHub
Longer write-up with diagrams: https://medium.com/@kunal.rc/i-built-an-open-source-postman-alternative-in-go-no-account-one-engine-for-desktop-cli-and-web-42fe80e4d772
Would really like feedback on the engine/Policy split and the SSRF dialer in particular. If something there looks wrong to you, I’d rather hear it now.