Wannabe – A versatile Go tool for generating mock HTTP APIs
Hey HN! Half a year ago, I decided to learn the basics of Go and create something useful along the way. Thus, I created Wannabe, a tool that's useful for generating mock HTTP APIs used in integration and all the other kinds of testing. How it works? Wannabe functions as a standalone server. Upon receiving a request, it generates a cURL command from it based on the request matching configuration you set and generates a hash from the prepared cURL command. When in "proxy" or "mixed" mode, Wannabe proxies the request to the external provider and stores the request/response pair as a record…
What it does
In the maker’s words, at launch
Hey HN! Half a year ago, I decided to learn the basics of Go and create something useful along the way. Thus, I created Wannabe, a tool that's useful for generating mock HTTP APIs used in integration and all the other kinds of testing. How it works? Wannabe functions as a standalone server. Upon receiving a request, it generates a cURL command from it based on the request matching configuration you set and generates a hash from the prepared cURL command. When in "proxy" or "mixed" mode, Wannabe proxies the request to the external provider and stores the request/response pair as a record in the configured storage provider using the generated hash as a key. When in "mixed" or "server" mode, Wannabe looks up the matching record in the configured storage provider using the generated hash as a record key and responds with the stored response if it finds a matching record. Of course, similar tools already exist, but this is the one I started, and I'm already implementing it into testing flows at the company I work for. ;) I'm kindly inviting you to check out the repository and documentation on GitHub. All comments and potential contributions in the future are highly welcome. If there’s enough interest, I’m more than ready to develop it further. Take care... and keep creating!
Does the same job
all alternatives →- MOMockit – Open-source app to create and configure HTTP mocked endpoints2019 · mockit.netlify.com · ▲158

- HAHTTPretty, an easy way to mock http requests in python2012 · falcao.it · ▲97

- IHInspect-HTTP-Proxy: a tool to pretty-print JSON requests/responses2025 · github.com · ▲8
A simple Go-based HTTP proxy designed for detailed inspection of requests and responses. It logs traffic to the console with colorization, automatic decompression, and formatting for common content types, while remaining transparent to the client application. Ideal for debugging API interactions, understanding middleware behavior, or simply getting a clear view of HTTP traffic flow with jq-like pretty-printing & colorization of request/response. Automatically redacts parts of Authorization header to avoid token leakage.
- MMMockoon – mock REST APIs in seconds2017 · mockoon.com · ▲68
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, August 2024
the whole month →
- IY
Life & fun · 2024 · ytch.xyz



- IA
Hey there HN! We’re Joe and Stopa, and today we’re open sourcing InstantDB, a client-side database that makes it easy to build real-time and collaborative apps like Notion and Figma. Building modern apps these days involves a lot of schleps. For a basic CRUD app you need to spin up servers, wire up endpoints, integrate auth, add permissions, and then marshal data from the backend to the frontend and back again. If you want to deliver a buttery smooth user experience, you’ll need to add optimistic updates and rollbacks. We do these steps over and over for every feature we build, which can…
Dev tools · 2024 · github.com