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•40m 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!

Frameworks shipping with knowledge: benchmarking agents on one they haven't seen

https://spynejs.com/blog/frameworks-are-starting-to-ship-knowledge
1•nybatista•45s ago•0 comments

Show HN: Robot or Meatbag?

https://meatbag.atomic14.com/
1•iamflimflam1•45s ago•0 comments

Zero-copy wgpu rendering inside an Electron app

https://murlet.com/blog/rendering-wgpu-under-electron/
1•tangled•1m ago•0 comments

Show HN: A static personal site with post-quantum signed and encrypted URLs

https://diaryof.me/tools/
1•cryptographical•2m ago•1 comments

Plainhub – runway and burn from typed entries, no bank connection

https://plainhub.app/
1•byozgnn•2m ago•0 comments

Xenix, from Microsoft, in Adverts

https://retrocomputingforum.com/t/xenix-from-microsoft-in-adverts/2778
1•stikit•2m ago•0 comments

Niagara: A 32-WAY MULTITHREADED SPARC PROCESSOR (2005) [pdf]

https://web.archive.org/web/20060901143530/http://ogun.stanford.edu/%7ekunle/publications/niagra_...
1•rbanffy•5m ago•0 comments

DeepSeek Harness vs. LangChain Deep Agents – what's the actual difference?

2•sockstack•6m ago•0 comments

Show HN: I built a local-first, open-source tab manager for Chrome

https://github.com/timgioh/Tab-Shield-Saver-Protect-Stash-Tabs
1•Konstantinsio•6m ago•0 comments

Show HN: A stupid simple way to manage and publish ANY AI agents artifacts

https://docstash.ai/
1•itskishankumar•6m ago•0 comments

Meta pays pro-Meta influencers when countries look into teen safety on Instagram

https://www.theguardian.com/technology/2026/aug/18/meta-pays-influencers-teen-social-media-ban
3•mikelgan•7m ago•1 comments

The Cop Who Took on Flock

https://www.wired.com/story/the-cop-who-took-on-flock/
1•Brajeshwar•7m ago•0 comments

Software Factories Are Distributed Systems

https://www.sjarmak.ai/writing/software-factories-are-distributed-systems/
1•sjarmak•7m ago•1 comments

Show HN: NexusMem – not a vector DB: it indexes shell exit codes and Git diffs

https://github.com/yaminbkk/NexusMem
1•yamin_bakoh•8m ago•0 comments

Mecanicien Ia – Ecommerce

https://piecemotooccasion.eu/
1•tonydevweb•9m ago•0 comments

We Should Start Preparing for Human Resurrection

https://joshbocanegra.medium.com/we-should-start-preparing-for-human-resurrection-6624031a990b
1•jbai•9m ago•0 comments

DeepSeek Harness

https://github.com/deepseek-ai/deepseek-harness
1•SweetSoftPillow•10m ago•0 comments

Show HN: Countinghouse– MCP tools that call each other in-process, not via model

https://mchen6.github.io/countinghouse/
1•out4b•11m ago•0 comments

Claude Text Watermark: Reconstruction, Not Hidden Characters

https://aitextwatermarkremover.com/blog/claude-official-text-watermark
1•wangneo276•11m ago•0 comments

Git Forge on Durable Objects

https://git.littledivy.com/dgit/about/
1•undefined_void•12m ago•1 comments

Installing Arch Linux on a Framework Laptop

https://hack.rest/repeat
1•kaishiro•12m ago•0 comments

MIT engineers connect bacteria to create living transistors

https://news.mit.edu/2026/mit-engineers-connect-bacteria-to-create-living-transistors-0817
1•bookofjoe•13m ago•0 comments

Hacking your life with AI can get you hacked – Research

https://www.endorlabs.com/learn/hacking-your-life-with-ai-can-get-you-hacked
1•p80n•14m ago•0 comments

UI SFX - Open-source interface sound effects

https://github.com/romainsimon/uisfx
1•agilek•15m ago•0 comments

Learn People's Names

https://justismills.substack.com/p/learn-peoples-names
1•surprisetalk•15m ago•0 comments

Star Citizen has a disastrously laggy stream with horrendous vibes

https://www.pcgamer.com/games/mmo/star-citizen-has-a-disastrously-laggy-stream-with-horrendous-vi...
1•evo_9•15m ago•0 comments

Agent identity, plus context and memory: three IANA-registered formats

https://zenodo.org/records/21951641
2•wolfejam•16m ago•1 comments

Python Polars Cheatsheet (based on our O'Reilly book)

https://opensource.posit.co/resources/cheatsheets/polars/
5•jeroenjanssens•18m ago•1 comments

Wetherspoons bans customers playing music from phones in pubs

https://www.bbc.co.uk/news/articles/cnvnl8gy22lo
4•zeristor•18m ago•1 comments

Zoo CAD on a Nintendo 3DS

https://twitter.com/zoodotdev/status/2088362877640122543
2•fallat•19m ago•0 comments