frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Dánwò – Open-source E2E testing with emulators and fault injection

https://github.com/carbonmeai/danwo
2•faithfulojebiyi•2h ago
Hi HN, I'm Faithful. I built dánwò, an open-source (Apache-2.0) end-to-end testing framework for web and mobile apps, written in TypeScript.

The problem: a UI test can click "Pay", see "Payment successful" and pass, while the card was charged twice, the webhook was handled twice, or the receipt email never went out. With coding agents writing more of our code, that gap between "the screen looks right" and "the right things happened" is where I kept finding bugs.

How it works:

- Tests drive the app like a user, with locators or plain-English agent steps. An agent step calls a model once; danwo records the actions and replays them on later runs with no model calls, so CI doesn't need an API key.

- Your app runs behind an egress proxy. Calls to Stripe, Clerk, Resend, Slack, Google and about 20 other providers are answered by local emulators at the real hostnames, so there are no sandbox keys and no code changes. For Node apps a preload routes the calls; Bun honours HTTPS_PROXY.

- An invariant is a check that runs after the test and compares two sides: what the provider says happened (charges, emails, messages) and what your app stored. For example, credits granted must equal paid checkouts times 500.

- `danwo matrix` replays a test once per fault it could meet: a 500 or 429 from a provider, a declined card, a duplicate, late, forged or replayed webhook, a double-submit, a database commit whose reply is lost, Postgres unreachable for a few seconds. The invariant judges every run, so you see exactly which failure your app mishandles.

- Every run leaves a flight record: video, each step, every provider call, webhook delivery and database statement, with secrets redacted.

It runs in Chromium, Firefox and WebKit, and on the Android emulator and iOS Simulator. It ships an MCP server and a skill, so coding agents (Claude Code, Cursor, Codex) can write and run tests and fix what fails.

Limitations, honestly: the emulators are only as good as their fidelity to the real APIs. Each one has a suite that runs against the real provider to catch drift, but they won't cover every edge of Stripe's API. Backend routing is built for Node and Bun today. Mobile tests need macOS or Linux. It's early (v0.1.2).

The name is Yorùbá: "dán an wò" means "try it and see".

Quickstart: npx @danwo/cli init (docs: https://danwo.dev/docs/quickstart)

I'd love feedback, especially on faults you've been bitten by that aren't in the matrix yet.

Show HN: Impossible Machines: declaratively program the physical world

https://www.impossiblemachines.xyz
47•bhaprayan•22h ago•14 comments

Show HN: Swurf – Swipe through the real web

https://swurf.org/
40•webtjb096•15h ago•24 comments

Show HN: OnKey – I'm a bad singer, so I built an app to show where I'm off-key

https://github.com/dsmurrell/onkey
207•dsmurrell•1d ago•88 comments

Show HN: Making a smart TV dumb and then smart

https://github.com/anubhavmalhotra/r2d2-tv
83•animalhot•22h ago•62 comments

Show HN: Dánwò – Open-source E2E testing with emulators and fault injection

https://github.com/carbonmeai/danwo
2•faithfulojebiyi•2h ago•0 comments

Show HN: Searching for optimal strategies in a puzzle game with chance (Drop7)

https://drop7.dev
11•primitivesuave•5h ago•1 comments

Show HN: Apple-design-hig agent skill, DocC updater CLI, and MCP server

https://github.com/mr8lu/apple-design-hig
3•mr8lu•2h ago•0 comments

Show HN: ObsidianYouTubeSync – Sync YouTube History into Obsidian

https://github.com/mr8lu/ObsidianYouTubeSync
3•mr8lu•2h ago•0 comments

Show HN: Corgi, a helpful {agent, terminal} multiplexer

https://corgi.computer/
3•eiopa•2h ago•0 comments

Show HN: MXValidation – Send an email and get an authentication and DNS report

https://mxvalidation.com/
2•metalinvest•2h ago•0 comments

Show HN: I made a professional audio time-stretcher in Go

https://github.com/neputevshina/nanowarp
2•w3nnady•3h ago•0 comments

Show HN: Cascache – A Go cache where slow reads can't undo invalidation

https://github.com/unkn0wn-root/cascache/
3•unkn0wn_root•3h ago•0 comments

Show HN: Uberblok – an interactive museum of ZFS internals

https://uberblok.storagebits.workers.dev/
118•storagebits•2d ago•30 comments

Show HN: Amgi – Plain-text spaced repetition with FSRS

https://github.com/alisheryeginbay/amgi
2•yeginbay•3h ago•0 comments

Show HN: Beam – Play Local MKV/MP4 Files from a Mac on a Chromecast

https://github.com/prasad-kumkar/beam-cast
2•PrasadKumkar•4h ago•0 comments

Show HN: ZapFast, a native WhatsApp client with voice and video calls on Linux

https://zapfast.rocks/
2•earcar•4h ago•0 comments

Show HN: We had AI write a wiki from 45k Enron emails, every fact cited

https://www.thisandthat.chat/enron/
54•jreynar•10h ago•53 comments

Show HN: I made a jobs-near-you map

https://offpeak.fyi/search
4•vsurraco•5h ago•3 comments

Show HN: Koala – Run AI Agents in Isolated Linux VMs on macOS

https://kunalkushwaha.github.io/homebrew-koala/
3•kunalkushwaha•6h ago•0 comments

Show HN: Ts-polyglot – Call C/C++ or Rust functions directly from TypeScript

https://ts-polyglot.dev
2•emykhailenko•6h ago•0 comments

Show HN: Aurora Agentic Terminal

https://aurora.shitworks.co/
2•mrknown404•6h ago•0 comments

Show HN: Omnara – Open-source alternative to Claude Managed Agents

https://github.com/omnara-ai/omnara
111•kmansm27•2d ago•34 comments

Show HN: Turn regular JavaScript into a neural net

https://chenglou.me/handwired/
44•chenglou•3d ago•12 comments

SHOW HN:Free interactive Python and SQL courses that run in the browser

https://www.runtime.school
2•shadowdevil•7h ago•0 comments

Show HN: agent-usage-guard – a Claude Code mod to protect your usage window

https://github.com/rbartoli/agent-usage-guard
26•zzyyxx332211•1d ago•10 comments

Show HN: Vericto – Check AI agents' SQL before Postgres or MySQL runs it

https://github.com/vericto/vericto-proxy
3•donkan168•8h ago•0 comments

Show HN: SimCity, but with Permits

https://permit.petercai.com/
936•pcai•3d ago•422 comments

Show HN: Dovepass – can I legally fly a drone along this exact path in SF?

https://dovepass.com
33•nimitmehra•4d ago•8 comments

Show HN: The cost of slop. Subscription-adjusted

https://slopsidy.com/
2•maximedupre•3h ago•0 comments

Show HN: Mark – AI chat that answers with diagrams, quizzes and 3D models

https://saanora.com
3•AKSaathwik•9h ago•0 comments