frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Decoy – A native Mac app for mocking HTTP endpoints locally

https://decoy-app.com/
5•mosselman•1h ago

Comments

mosselman•1h ago
Hey HN, I'm Achilleas. I built Decoy because I didn't feel like running Docker every time I needed to test some webhooks. All I really wanted was to return a custom response on localhost to test my application code interacting with external systems.

Decoy is a native Mac app (SwiftUI + Network.framework) that lets you create mock HTTP endpoints. You pick a method, define a response (JSON, HTML, XML, a file, a redirect), and it just works. Incoming requests show up in real time with full headers and body, which is handy for debugging webhooks. It supports parameterized paths like /users/:id and you can group endpoints into projects with subdomain support. Requests are persisted to SQLite immediately and CORS is handled automatically.

To be clear about what it isn't: it doesn't send requests (not a Postman replacement), it's not a proxy, and it's Mac only.

It's $24.99 on the Mac App Store, one-time purchase. I'm an indie developer — no team, just me building tools I want to use myself.

Happy to answer questions about Decoy!