frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Stunt – a stunt double for the APIs you integrate (95 adapters)

https://github.com/stuntapi/stunt
2•polymatto•3h ago
Hi, I'm the author. Quick tour before the comments do it for me.

StuntAPI, `stunt` for CLI friends, runs local, stateful stand-ins for the public APIs your code talks to. `brew install --cask stuntapi/tap/stunt`, then `stunt demo` — you get a Stripe-style sim on a local port, and the curl it prints actually means it:

create a charge, list it back (the charge is there — state persists across requests and restarts), capture it, and watch the signed webhook fire at a local sink. All synthetic, all offline, no Stripe account.

Why I built it: I've spent twenty-odd years integrating other people's APIs — commodities trading and market data in London, fintech, payments, blockchain RPC infra — and the test story never got better. Sandbox accounts, live secrets in CI, rate limits, flaky suites because the mock didn't behave like the real thing. WireMock/Prism/MSW are great at static and schema-shaped mocks; what I always wanted was a runnable stand-in — create, list, mutate, webhooks, auth expiry, cursor pagination, state machines — without writing it all myself. So: 95 adapters (Stripe, Twilio, GitHub, S3, Salesforce, ...), each one YAML + sandboxed Starlark handlers + synthetic fixtures.

The part I'd genuinely like holes poked in: adapters run in a Starlark VM with no host I/O or network — that's the property that makes it safe to `stunt catalog add` a stranger's adapter, the way you'd install an npm package. State lives in engine primitives (SQLite collections, KV, blob store, HMAC tokens, webhook emitter with real provider signature schemes), and everything is deterministic — injectable clock, seeded RNG.

Yes, this works great in tests of course.

To keep the adapters honest, CI drives the real provider SDKs against them: stripe-go, aws-sdk-go-v2 (real SigV4), go-github, twilio-go, go-shopify, and the Node trio (stripe-node, octokit, twilio-node) through the actual binary.

And this is just the beginning, if there's traction, we'll see more and more of these. I'll just keep adding the ones I use personally for now.

That harness caught real bugs: Stripe money fields coming back as JSON strings (typed SDKs just reject the response), GitHub pagination Link headers pointing at production — octokit followed them straight to the real api.github.com.

Honest limits: adapters are unofficial and fidelity-ranked, not API-complete; I'd rather nail the flows real integrations actually exercise than checkbox every endpoint. Windows is currently a script install rather than the default winget source. And if you integrate an API that's missing, `stunt adapter import openapi|har|proto` scaffolds one — PRs welcome. Docs @ https://stuntapi.com

What should adapter #96 be? I'm Alessandro BTW (https://polymatto.com/about, @polyMatto on X) — engineer for two decades+, Italy to London and now raising my young family in exile, surrounded by trees and/or beach as much as possible, trading floors to web3 infra and everything in between, now spending my open-source time directing clankers in various ambitious projects adn no, this one wasn't ambitious at all, just useful and one that I am expecting to "flop" in here since it's literally my first post. I know, I should feel ashamed!

But more is coming soon, wintty is probably going to be my next post. Stay tuned!

Happy to answer anything and to intercept the, hopefully, fresh virtual tomatoes you'd throw at me.

Ciao!

Show HN: Shoehorn – Quantize any model down to run on your machine

https://notactuallytreyanastasio.github.io/shoehorn/
19•rhgraysonii•2h ago•2 comments

Show HN: Openleetcode – local LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode
5•therepanic•1h ago•1 comments

Show HN: Saggar, a Mac terminal that keeps sessions and your attention organized

https://saggar.marginalutility.dev/
43•mcclowes•1d ago•48 comments

Show HN: Go CLI for website health checks, zero dependencies

https://github.com/atillalab/site-health
3•mehmetkose•2h ago•0 comments

Show HN: Singular – local orchestration for autonomous coding agents

https://github.com/alex-reysa/singular-lite
7•alexreysa•1h ago•2 comments

Show HN: Agent-codemode – scripts your agent writes can call your MCP servers

https://github.com/janwilmake/agent-codemode
3•janwilmake•1h ago•0 comments

Show HN: Imgoci – format for publishing OS images to an OCI registry

https://github.com/imgoci/spec
2•aliasxneo•1h ago•0 comments

Show HN: Phone-harness – let your agent control your phone

https://github.com/ShawnPana/phone-harness
2•shawnpana•2h ago•0 comments

Show HN: TurnKeeper – Fair, explainable team rotations for Slack (no AI)

https://getturnkeeper.com/
2•adriankurz•2h ago•0 comments

Show HN: Termaxa – my agent gate passed its security rig, failed a two-user test

https://github.com/termaxa/termaxa
2•devdoc83•2h ago•1 comments

Show HN: Tracelint – a linter for AI agent traces, no LLM judge

https://github.com/AshwinUgale/tracelint
3•Ashwin1121•2h ago•0 comments

Show HN: I benchmarked LLMs on predicting knife steel properties

https://github.com/Steel-predictor-project/steel-llm-eval
2•p-s-v•2h ago•0 comments

Show HN: A local MitM proxy to control TLS fingerprints

https://github.com/ytkoka/impersonate-proxy
18•ytkoka•4h ago•4 comments

Show HN: K7d – Fork live Kubernetes clusters in <1s –> GRPO-train AI on infra

https://github.com/katakate/k7d
2•gbxk•2h ago•1 comments

Show HN: Robot or Meatbag?

https://meatbag.atomic14.com/
3•iamflimflam1•3h ago•0 comments

Show HN: I wrapped iOS 27's on-device AI into an offline live captioning app

https://testflight.apple.com/join/pQKnQgZZ
5•markmatsushima•3h ago•1 comments

Show HN: Desktopcolors.com – A museum for solid background colors of classic OS

https://desktopcolors.com
157•vlowrian•1d ago•70 comments

Show HN: Figranium – Dockerized, API-first, block-based browser automation

https://github.com/figranium/figranium
3•asernasr•3h ago•2 comments

Show HN: Stunt – a stunt double for the APIs you integrate (95 adapters)

https://github.com/stuntapi/stunt
2•polymatto•3h ago•0 comments

Show HN: Rataflow – React Flow, but for the Terminal (Rust/Ratatui)

https://github.com/furkankly/rataflow
3•furkankly•3h ago•0 comments

Show HN: Leviath – Structured context regions for LLM agents, in one Rust binary

https://leviath.dev
3•gemisis•3h ago•0 comments

Show HN: NinethirtyAI – A US equity research and analysis platform

https://ninethirty.ai/drmarket/
4•askyashu•4h ago•0 comments

Show HN: LumoTray for Mac

https://lumotray.com/mac/
3•lgl•4h ago•0 comments

Show HN: Glade API – Amazon data for every build

https://gladeapi.com
3•qwikhost•4h ago•0 comments

Show HN: Europe Robotics Map – An open source map of robotics companies

https://europeroboticsmap.com/
2•ahmed_sulajman•4h ago•0 comments

Show HN: PhysiClaw – an AI agent that physically operates an iPhone

https://github.com/physiclaw/PhysiClaw
2•qiaoqian•4h ago•1 comments

Show HN: A searchable index of GitHub's lists that shows what's dead

https://awesome.donld.me/
2•donald_sh•4h ago•0 comments

Show HN: Engrava – a local graph memory database for AI agents (SQLite, MIT)

https://github.com/sovantica/engrava
4•przemarzec•4h ago•0 comments

Show HN: Dreadsweeper – Minesweeper Raycasted

https://dreadsweeper.franzai.com/
4•franze•5h ago•1 comments

Show HN: AirStats – Mac menu bar system monitor, 0.046% CPU idle, MIT

https://github.com/byrencheema/airstats
3•byrencodes•6h ago•0 comments