echo

module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT

README

rhythm echo

Is your site still saying what it should?
Echo captures every email, SMS, webhook and API call your site sends, seals staging so nothing reaches real people and shows what each form, order or sign-up sends before and after a change. Built for PHP & WordPress, with Laravel and Next.js connectors.

Release CI License npm Packagist

Install · Quick start · Seal a site · Check a change · What it catches · Cookie consent · Docs · Benchmark



The Rhythm set

Asks Checks
rhythm Which tools do I have? installs, updates and runs the set as rhythm <tool>
Tuner Is my site safe? what an attacker can find
Soundcheck Did my change break anything? what visitors see and do
Echo Is my site still saying what it should? everything the site sends and what fires before consent
Roadie Is my staging a safe copy of production? real people, live keys and side effects in the copy
Sightread What will this update really change? the code an update brings

They work on the same change: Tuner finds the plugin to update, Sightread reads the update, Roadie gives you a staging copy to try it on, Soundcheck shows what it did to the pages and Echo what it did to the messages and the cookie banner.

Install

rhythm install echo                                    # or rhythm update echo for the latest

That needs rhythm 0.5.0 or later. No rhythm yet? The installer sets it up with its default tools, Echo among them:

curl -fsSL https://rythm.sh/install | sh               # macOS · Linux
irm https://rythm.sh/install.ps1 | iex                 # Windows (PowerShell)
go install github.com/RhythmShahriar/echo/cmd/rhythm-echo@latest

Every download is checked against the release checksums, which are signed with cosign. Cookie consent checks also need Chrome: Echo uses yours, or downloads Chrome for Testing once (Install).

rhythm echo and rhythm-echo are the same command: the rhythm CLI runs the rhythm-echo binary for you. Use either; the examples here use rhythm echo.

Quick start

No site needed. Start Echo:

rhythm echo up                                   # sealed: API and live view on :8025, SMTP on :1025

In a second terminal, send it an email through Echo's sendmail stand-in and list what it caught:

printf 'To: ann@shop.test\nSubject: Hello from Echo\n\nIt works.\n' | rhythm echo sendmail -t -i
rhythm echo ls
25c6a3f7349b  02:40:07 email to ann@shop.test: Hello from Echo [faked]

[faked] means Echo answered in the mail server's place: nothing was delivered. Open http://127.0.0.1:8025 to see it in Echo Inbox. Then connect a real site (below), or check the cookie banner of one you own: rhythm echo consent https://staging.yoursite.example (Cookie consent checks).

Seal a site

Start Echo, then connect the site. Nothing the site sends leaves the machine; Echo answers in each service's place, so the site carries on as if the email went out and the SMS was delivered.

rhythm echo up                                   # API :8025 (live view), SMTP :1025
rhythm echo install wordpress /var/www/staging   # or: laravel, next, node, generic
rhythm echo doctor                               # canaries through every layer plus Chrome
rhythm echo watch                                # see each message as it's sent
Stack Connector Catches
WordPress one mu-plugin, written by install every wp_mail() (beats FluentSMTP, Post SMTP), every wp_remote_*() call (SMS plugins, Woo webhooks, Slack, GA4, Meta CAPI, API mailers) and raw cURL SDKs through Echo's proxy
Laravel composer require rhythmsh/echo-laravel every mailer and transport, the Http client, Vonage and Slack notifications, queued jobs (the action follows them)
Next.js · Node npm i -D @rhythmsh/echo + instrumentation.ts fetch (Node and Edge), http/https (axios, SDKs), Nodemailer; built for Vercel previews too
Anything SMTP, sendmail_path, HTTPS_PROXY mail and outbound HTTPS from any language, through Echo's SMTP sink and MITM proxy

Connectors switch themselves off in production. For a seal that can't be bypassed, run the app on an internal Docker network or behind a firewall with Echo as its only way out: recipes.

Check a change

List the actions that make your site send things in .echo/config.yaml (rhythm echo init writes a first one for WordPress, Laravel, Next.js, Node or PHP): HTTP requests, WP-CLI or artisan commands, or signed webhook replays. Forms and multi-step journeys are driven by Soundcheck with --echo.

# .echo/config.yaml: ask WordPress for a password reset, which sends one email
site: https://staging.shop.test
actions:
  - name: Lost password
    http:
      method: POST
      url: /wp-login.php?action=lostpassword
      form: {user_login: admin}
    expect: {email: 1}

Each action counts as done when nothing new arrives for quiet (default 2s), or after timeout (default 30s). Echo caps quiet at 30s and timeout at 60s: a longer value acts as the cap. For one run, --quiet 500ms and --timeout 10s on snapshot, compare and run override them (within the same caps; a value outside them is refused).

Commands find .echo/config.yaml in the folder you're in or one above it, so they work from any subfolder: flush and command actions run in the project's folder. Snapshot, compare, run and doctor name the config they use. The search stops at the repository root (below your home folder outside a repository) and skips a folder above that isn't yours or that anyone can write to (such as /tmp), since a config there could run someone else's commands. Snapshots and runs are kept next to the config; --config points at another one (its snapshots come with it) and --store <dir> keeps them elsewhere.

[!WARNING] .echo/config.yaml is code. A command action or a flush entry runs in your shell on every snapshot, compare and run. ${env:NAME} puts an environment variable into an http action, which sends it to the URL the action names. Read a config from a repository you didn't write before you run Echo in it, as you would a Makefile.

rhythm echo snapshot --name before-update        # what each action sends now
# …update plugins, deploy…
rhythm echo compare --open                       # what changed, in a report
Class Means
BROKE a message sent in the snapshot is missing now, fails, or has a new error (an unfilled {first_name}, a PHP warning in the email)
NEW a message or a problem that wasn't there before
CHANGED the same message but different: recipient, subject, text, sender, fields of a payload
FIXED a problem from the snapshot is gone
You want to… Run
Check the contact form still emails the office rhythm soundcheck compare staging.shop.test --echo
Replay a Stripe payment and see the order email rhythm echo replay payment_intent.succeeded --to /?wc-api=wc_stripe
Check that the cookie banner's Reject really rejects rhythm echo consent https://staging.shop.test
Check SPF, DKIM and DMARC for the sender you use rhythm echo check shop.com --from-mail received.eml
Fail CI when a message stops being sent rhythm echo compare (exits 1 on BROKE by default; --fail-on new is stricter)
Compare in CI with a baseline from another job rhythm echo snapshot --export base.tgz there, rhythm echo compare --against base.tgz here
Get the login code or magic link just sent, in a test code=$(rhythm echo latest --to ann@shop.test --code) (--link --kind magic for the link; looks back 1m and waits up to --wait, default 10s, then exits 1). A test that signs the same user in again should pass --run or a short --since 5s, or run rhythm echo clear --to ann@shop.test first, or it may get the previous code
Stream what the site sends into a script rhythm echo watch --json (one JSON object per line)
Read any result in a script --json on any command: one shape, with kind, summary, verdict and data
Accept a change you meant to make rhythm echo compare --accept <key> (compare -v shows each change's key)
Add a check of your own, such as an old phone number rules: in .echo/config.yaml, then rhythm echo checks --test
Let a coding agent read what the site sent claude mcp add echo -- rhythm-echo mcp
Let a client sign off on an email before launch relay: {allow: ["*@client.example"]} in .echo/config.yaml and the SMTP account in RHYTHM_ECHO_RELAY=smtp://user:pass@smtp.agency.example:587, then rhythm echo up --login client:<password>. Release in Echo Inbox's email view, or rhythm echo release <id> --to ann@client.example
Watch many client sites from one Echo rhythm echo hub, rhythm echo schedule for update windows and rhythm echo report --site <id> --store <dir> --pdf for the client

What it catches

📭 Lost messages

The admin notification that stopped, the autoresponder a plugin update removed, the SMS a gateway change broke, the Slack alert, the GA4 purchase event, the queued mail stuck in a job, the webhook Zapier no longer receives.

✍️ Wrong content

Unfilled placeholders ({first_name}, *|FNAME|*, [your-name]), PHP warnings printed into emails, links to staging or localhost, garbled encoding, emails too big for Gmail, SMS that cost three parts, payloads that lost fields.

🔒 Staging that talks to real people

Sealed by default: email, SMS, WhatsApp, webhooks, analytics and push are answered by Echo. Live-mode calls to Stripe, PayPal, Adyen, Braintree, Square, Authorize.net, Mollie and Razorpay get the gateway's own refusal in every mode, so a test can never charge a card through them, even in observe mode or on an allowlisted host. In observe mode, any real recipient outside your allowlist is flagged.

📬 Deliverability

SPF (including the 10-lookup limit), DKIM keys, DMARC policy and alignment for the service you actually send through, MX, MTA-STS and TLS-RPT. headers reads a received email and tells you who sent it and why it passed or failed. Never sends anything.

54 services are recognized out of the box, from SendGrid, Mailgun, Postmark, Resend, SES and the Gmail and Microsoft Graph APIs to Twilio, Vonage, WhatsApp Cloud, Slack, Teams, GA4, Segment, Meta, FCM, APNs, Stripe, HubSpot, Klaviyo and Zapier (rhythm echo providers lists them). Anything else is captured as a generic webhook.

Does Reject really reject? Echo clicks your cookie banner three ways and shows every tracker that fired before the choice or after Reject, with Consent Mode decoded from the wire.

rhythm echo consent <url> loads the page in a real browser (the Chrome you have, or Chrome for Testing downloaded once) as three new visitors, each in a fresh profile and each followed by a scroll, one more page and a reload:

  • No choice: the visitor ignores the banner. Nothing that needs consent should fire.
  • Accept: Echo clicks Accept and checks the banner's own stored state says so. Trackers may fire now.
  • Reject: Echo clicks Reject (on the first layer, or in the settings) and checks the stored state. Nothing that needs consent should fire, on this page or the next. Hiding a banner is never a Reject.

Hits are held in the browser: checking production adds nothing to anyone's analytics.

A real run against the consent testbed's c02 shop, whose Meta Pixel ignores Consent Mode. The Hosts mapped line is there because the testbed answers every host through --map-host; a check of your own site over https doesn't print it.

Every result is an evidence folder in .echo/consent/: consent.json, screenshots, every event of every run, a manifest with the SHA-256 of each file and report.html. rhythm echo consent verify <folder> checks that nothing in it changed since.

You want to… Run
Add Global Privacy Control and a withdrawal rhythm echo consent --runs +gpc,+withdraw https://shop.example
Look like a visitor from Germany rhythm echo consent --geo de https://shop.example (language and time zone, never the IP address)
Judge Google's cookieless pings as hits --consent-mode basic or --consent-mode strict
See which buttons Echo would click, without a verdict rhythm echo consent detect https://shop.example
Click a banner Echo doesn't know --accept-selector '#yes' --reject-selector '#no'
Fail CI only when something got worse --save baseline once, then --against baseline --fail-on broke
Check many sites --sites sites.yaml, the same file Soundcheck fleet reads
Sign the evidence --sign-key team.key, then rhythm echo consent verify <folder> --key team.pub
Read the result in a script --json: the rhythm-echo/v1 envelope with kind: consent, also when the check stops early (verdict: error and an error with the exit code and message)

Echo knows Cookiebot, Complianz, CookieYes, OneTrust, Usercentrics, Didomi, iubenda and Borlabs Cookie. Other banners are found by their cookie words and buttons in 30 languages (rhythm echo consent cmps lists the rules). Trackers come from an MIT catalogue with fixtures: GA4, Google Ads, Meta Pixel, TikTok, Microsoft Clarity, LinkedIn, Hotjar and more (rhythm echo consent trackers).

In CI:

- uses: RhythmShahriar/echo@v1.2.0
  with:
    mode: consent
    site: https://staging.shop.test/ https://staging.shop.test/shop/
    fail-on: error
    pr-comment: true

The job summary and the pull request comment show tracker names, counts, check titles and page paths, never query strings, cookie values or IDs. upload: true keeps the evidence folder as the echo-consent artifact; sign: true signs consent.json with keyless cosign.

Try it on the testbed

No staging site needed and nothing leaves the machine: the repository has 40 small shops (25 broken in one way each, 15 correct) on one local Go server, with stand-ins for every tracker and CMP host. You need Go and Chrome:

git clone https://github.com/RhythmShahriar/echo && cd echo
make build                                   # bin/rhythm-echo
make -C testbed/consent serve                # leave it running: 127.0.0.1:23400 and :23401

In a second terminal:

map=$(make -s -C testbed/consent map)        # the --map-host flags for every stand-in host
eval "bin/rhythm-echo consent https://c01.shop.test/ $map"     # all clear
testbed/consent/toggle.sh c01 broken
eval "bin/rhythm-echo consent https://c01.shop.test/ $map"     # GA4 before the choice
testbed/consent/toggle.sh all good

eval keeps the quotes around '*.shop.test=...' working. Ports taken? make -C testbed/consent serve LISTEN=127.0.0.1:39130 ADMIN=127.0.0.1:39131, then make -s -C testbed/consent map LISTEN=127.0.0.1:39130. A build from source calls itself dev. More in Try it on the testbed.

Honest limits

What a pass means. In these runs, from this machine, with this browser and these settings, no tracker on Echo's list sent a request or set a cookie before the visitor chose or after Reject. It does not mean the site complies with the GDPR, ePrivacy, CCPA/CPRA or any other law. Evidence, not legal advice.

One visitor, one place. Banners differ by country, language and device. Geo-targeted banners may not show to a CI runner in the US; Echo can set the browser's language and time zone (--geo) but not its IP address. Run it from the region that matters, or through a proxy there.

Blind spots. Trackers that are not on the list; server-side tagging on your own domain when its requests don't look like GA4 or Meta; fingerprinting without network requests; tags that wait longer than the settle time or need more interaction than a scroll and one more page; sites that hide tags from automated browsers.

Consent Mode advanced. Google says its tags in advanced mode "send measurements without cookies" while consent is denied. Whether that is acceptable before consent is disputed. Echo reports these pings as consent/cookieless-ping under the default policy advanced; --consent-mode basic or strict counts them as hits.

gcd is unofficial. Google doesn't document the gcd parameter. Echo shows the raw value next to a reading based on community documentation and treats letters it doesn't know as unknown.

Pseudonymised, not anonymised. Masked or hashed identifiers in reports can still be personal data. Treat reports like logs.

What leaves the machine. Requests to the site and to the scripts it loads (which shows this machine's IP address to those servers). No tracking hits unless --send-hits. Nothing goes to Rhythm. The update check contacts GitHub (RHYTHM_OFFLINE=1 turns it off).

Banners Echo can't handle are reported as "couldn't check" (exit 3), never as a pass. Tested CMPs and the dates their fixtures were captured are in the benchmark.

A signature proves who made the evidence file and that it hasn't changed. It doesn't prove the site behaves the same for every visitor, region or day. Keyless signing in the Action writes the repository and workflow name to the public Rekor log.

More in the wiki: Echo-Consent, checks, Consent Mode, banners (CMPs), CI and evidence.

Why Echo

  • Compares, not just catches. Mail catchers show you an inbox. Echo tells you what changed in what your site sends, ranked, after every update.
  • Every channel. Email, SMS, WhatsApp, chat, webhooks, analytics, push and payment calls, in one place.
  • No test code. Actions are a few lines of YAML; Soundcheck drives real forms; replay sends signed webhooks.
  • Local and free. One binary, your machine or your CI. Captured messages stay on your machine, with credentials masked before they're stored.

CI

- uses: RhythmShahriar/echo@v1
  with:
    mode: compare
    fail-on: broke

Or start Echo for Soundcheck: mode: up, then rhythm soundcheck compare … --echo. mode: consent checks a cookie banner (above). More in the CI guide.

Docs

Your first run seal a site and check a change, in ten minutes
Connectors WordPress, Laravel, Next.js, Node, anything
Sealing staging what's caught, what's faked, hard seals
Actions and compare .echo/config.yaml, snapshots, classes
With Soundcheck forms and flows, with their messages
Cookie consent does Reject really reject: a first check, reading the result, honest limits
Consent checks every consent check, with an example and the fix
Consent in CI the Action's mode: consent, sites files, baselines, signing
CI the GitHub Action and other CI systems
CLI reference every command, flag and exit code

All of it lives in the Rhythm documentation wiki.

Contributing

git clone https://github.com/RhythmShahriar/echo && cd echo
make hooks   # Conventional Commits check
make check   # lint + tests

The connectors have their own tests: make -C connectors/laravel check (Docker), cd connectors/node && npm test. See CONTRIBUTING.md for Echo's layout, tests and the consent testbed. Setup, commits and reviews are in the shared CONTRIBUTING.

Responsible use & disclaimer

Echo is built to help people test their own sites safely.

  • Use it only on sites you own or are authorized to test. Replays and actions send real requests to the site you point them at.
  • Captured messages contain personal data. They stay on your machine (or CI runner); credentials are masked, content isn't. Treat .echo/ like a database dump and use test data on staging.
  • Observe mode really sends. Seal is the default for a reason; use observe only where real delivery is safe.
  • No warranty. Echo is provided "as is", as set out in the license. A connector can miss a message sent in a way it doesn't hook; use a hard seal where a leak would matter.

Found a vulnerability in Echo itself? Please report it privately.

License

MIT.

Part of rhythm · Useful ideas. Working systems.

Directories

Path Synopsis
Package catcher is Echo's running side: an inbox of captured messages, the HTTP API connectors and tools talk to, the seal policy that decides what may leave and the SMTP sink.
Package catcher is Echo's running side: an inbox of captured messages, the HTTP API connectors and tools talk to, the seal policy that decides what may leave and the SMTP sink.
Package check finds problems in captured messages: placeholders that were never filled in, PHP errors printed into an email, links to a development machine, SMS that cost several parts, webhooks that fail.
Package check finds problems in captured messages: placeholders that were never filled in, PHP errors printed into an email, links to a development machine, SMS that cost several parts, webhooks that fail.
Package client talks to a running Echo (`rhythm echo up`) over its HTTP API.
Package client talks to a running Echo (`rhythm echo up`) over its HTTP API.
cmd
rhythm-echo command
Command rhythm-echo captures every email, SMS, webhook and API call a site sends, seals staging so none of it reaches real people and compares what each action sends before and after a change.
Command rhythm-echo captures every email, SMS, webhook and API call a site sends, seals staging so none of it reaches real people and compares what each action sends before and after a change.
rhythm-echo/internal/started
Package started records when the process started, before the packages that can hold it up do.
Package started records when the process started, before the packages that can hold it up do.
Package codes finds what an end-to-end test needs from a message it just caused: the one-time code in a login or checkout email or SMS and the links that sign someone in, verify an address, reset a password or unsubscribe.
Package codes finds what an end-to-end test needs from a message it just caused: the one-time code in a login or checkout email or SMS and the links that sign someone in, verify an address, reset a password or unsubscribe.
Package compare diffs two runs: for each action that's in both, it matches the messages sent before and after and reports the ones that stopped (BROKE), appeared (NEW), changed (who they go to, the subject, the text, the fields of a payload, how many times) or problems that went away (FIXED).
Package compare diffs two runs: for each action that's in both, it matches the messages sent before and after and reports the ones that stopped (BROKE), appeared (NEW), changed (who they go to, the subject, the text, the fields of a payload, how many times) or problems that went away (FIXED).
Package compat checks a captured email the way a comparison page expects a mail catcher to: HTML reports the HTML and CSS features that common clients drop (flexbox in Outlook for Windows, a <style> block Gmail throws away and similar) and Spam asks a SpamAssassin daemon for a score.
Package compat checks a captured email the way a comparison page expects a mail catcher to: HTML reports the HTML and CSS features that common clients drop (flexbox in Outlook for Windows, a <style> block Gmail throws away and similar) and Spam asks a SpamAssassin daemon for a score.
Package config loads Echo's project settings from .echo/config.yaml: how the catcher behaves (seal or observe, what may be reached), what counts as staging and production, plus the actions `snapshot` and `compare` run.
Package config loads Echo's project settings from .echo/config.yaml: how the catcher behaves (seal or observe, what may be reached), what counts as staging and production, plus the actions `snapshot` and `compare` run.
Package conformance checks a connector against Echo's wire protocol.
Package conformance checks a connector against Echo's wire protocol.
cmd/conformance command
Command conformance runs Echo's strict stand-in on its own, for the connectors' end-to-end tests until `rhythm echo conformance` exists:
Command conformance runs Echo's strict stand-in on its own, for the connectors' end-to-end tests until `rhythm echo conformance` exists:
gen command
Command gen writes wire/schema.json, Echo's wire protocol as a JSON Schema, from the Go types in package wire.
Command gen writes wire/schema.json, Echo's wire protocol as a JSON Schema, from the Go types in package wire.
connectors
wordpress
Package wordpress installs Echo's WordPress connector: one mu-plugin, embedded in the binary, that reports every wp_mail() and wp_remote_*() call to Echo and obeys its seal.
Package wordpress installs Echo's WordPress connector: one mu-plugin, embedded in the binary, that reports every wp_mail() and wp_remote_*() call to Echo and obeys its seal.
wordpress/cmd/plugin-zip command
Command plugin-zip writes Echo Staging Seal as a zip, the form WordPress.org and Plugins > Add New > Upload take:
Command plugin-zip writes Echo Staging Seal as a zip, the form WordPress.org and Plugins > Add New > Upload take:
Package consent checks a site's cookie consent: it loads pages in a browser with no choice, after Accept and after Reject, records every tracker hit, cookie and consent signal and judges them.
Package consent checks a site's cookie consent: it loads pages in a browser with no choice, after Accept and after Reject, records every tracker hit, cookie and consent signal and judges them.
browse
Package browse runs consent checks in Chrome: one fresh context per run, the egress guard, the recorder that turns the browser's events into consent events and the steps of a run (PRD 13.6).
Package browse runs consent checks in Chrome: one fresh context per run, the egress guard, the recorder that turns the browser's events into consent events and the steps of a run (PRD 13.6).
browse/egress
Package egress is the consent check's egress guard (PRD 13.7): small in-process HTTP proxies on 127.0.0.1 that every request Chrome makes goes through.
Package egress is the consent check's egress guard (PRD 13.7): small in-process HTTP proxies on 127.0.0.1 that every request Chrome makes goes through.
cli
Package cli is the rhythm echo consent command: its flags, its subcommands (detect, report, verify, cmps, trackers, prune), its messages and how it turns a consent result into output and an exit code.
Package cli is the rhythm echo consent command: its flags, its subcommands (detect, report, verify, cmps, trackers, prune), its messages and how it turns a consent result into output and an exit code.
cmp
Package cmp finds a page's consent management platform, clicks Accept or Reject on its banner the way a visitor does and checks the choice was stored.
Package cmp finds a page's consent management platform, clicks Accept or Reject on its banner the way a visitor does and checks the choice was stored.
consenttest
Package consenttest holds in-memory stand-ins for every consent stage, golden results and the helpers lane tests use to get another stage without importing its package: Need skips a test until that stage is linked, Use registers fakes for one test.
Package consenttest holds in-memory stand-ins for every consent stage, golden results and the helpers lane tests use to get another stage without importing its package: Need skips a test until that stage is linked, Use registers fakes for one test.
evidence
Package evidence writes a consent result's evidence folder: the hashes of every file, consent.json, its optional ed25519 signature and the manifest; it also verifies a folder against them.
Package evidence writes a consent result's evidence folder: the hashes of every file, consent.json, its optional ed25519 signature and the manifest; it also verifies a folder against them.
signal
Package signal decodes consent signals: Google's gcs and gcd parameters, Consent Mode and other consent calls recorded by the page hooks, IAB TCF and GPP strings and each CMP's stored state.
Package signal decodes consent signals: Google's gcs and gcd parameters, Consent Mode and other consent calls recorded by the page hooks, IAB TCF and GPP strings and each CMP's stored state.
signal/cmpstate
Package cmpstate reads the choice a consent management platform stored: one pure parser per CMP over its cookie or storage values (Cookiebot, OneTrust, CookieYes, Complianz, Usercentrics, Borlabs, Didomi, iubenda and the IAB TCF string).
Package cmpstate reads the choice a consent management platform stored: one pure parser per CMP over its cookie or storage values (Cookiebot, OneTrust, CookieYes, Complianz, Usercentrics, Borlabs, Didomi, iubenda and the IAB TCF string).
tracker
Package tracker is the consent tracker catalog: which requests, cookies and storage keys belong to which tracker, what each one is for and whether it needs consent.
Package tracker is the consent tracker catalog: which requests, cookies and storage keys belong to which tracker, what each one is for and whether it needs consent.
verdict
Package verdict judges a recorded consent result: it runs the checks of the catalog under the chosen policy, lists inconclusive runs and compares a result with a baseline.
Package verdict judges a recorded consent result: it runs the checks of the catalog under the chosen policy, lists inconclusive runs and compares a result with a baseline.
Package dns checks a domain's mail deliverability records (SPF, DKIM, DMARC, MX, MTA-STS, TLS-RPT and BIMI) without sending anything.
Package dns checks a domain's mail deliverability records (SPF, DKIM, DMARC, MX, MTA-STS, TLS-RPT and BIMI) without sending anything.
Package headers analyzes a received email's headers: what the receiving server concluded about SPF, DKIM and DMARC, how the message is signed, which service sent it and the path it took.
Package headers analyzes a received email's headers: what the receiving server concluded about SPF, DKIM and DMARC, how the message is signed, which service sent it and the path it took.
Package hub is Echo for agencies: one catcher that many staging sites send to, which keeps what each site sent apart and across restarts.
Package hub is Echo for agencies: one catcher that many staging sites send to, which keeps what each site sent apart and across restarts.
integrations
action
Package action tests Echo's GitHub Action (action.yml at the repository root) and the shell scripts it runs: the release check in .github/scripts and the summary and comment helpers next to this file.
Package action tests Echo's GitHub Action (action.yml at the repository root) and the shell scripts it runs: the release check in .github/scripts and the summary and comment helpers next to this file.
ci-fixture
Package cifixture tests the CI fixture in this folder: a one-page PHP shop that Echo's GitHub Action tests and the Windows and macOS CI jobs snapshot and compare.
Package cifixture tests the CI fixture in this folder: a one-page PHP shop that Echo's GitHub Action tests and the Windows and macOS CI jobs snapshot and compare.
image
Package image tests Echo's container image (the Dockerfile at the repository root) and the promise behind it: an image that replaces Mailpit in Docker Compose, DDEV, Lando and Sail needs Mailpit's API to answer in Mailpit's shape.
Package image tests Echo's container image (the Dockerfile at the repository root) and the promise behind it: an image that replaces Mailpit in Docker Compose, DDEV, Lando and Sail needs Mailpit's API to answer in Mailpit's shape.
internal
browser
Package browser runs headless Chrome for Echo's consent checks.
Package browser runs headless Chrome for Echo's consent checks.
browser/internal/pingen command
Command pingen writes browser/cft_pins.go: the Chrome for Testing version Soundcheck downloads and the SHA-256 of each platform's archive.
Command pingen writes browser/cft_pins.go: the Chrome for Testing version Soundcheck downloads and the SHA-256 of each platform's archive.
browser/norodflag
Package norodflag turns off rod's hidden command line flag.
Package norodflag turns off rod's hidden command line flag.
browser/proc
Package proc holds the process helpers that differ between Unix and Windows: how a child is asked to stop when its context is canceled and how a browser and its children are stopped.
Package proc holds the process helpers that differ between Unix and Windows: how a child is asked to stop when its context is canceled and how a browser and its children are stopped.
browser/retry
Package retry runs a browser's start-up step again when it failed for a reason a later try can get past: a browser that was slow to start on a busy machine, or a driver that dropped the request while the last session's browser was still shutting down.
Package retry runs a browser's start-up step again when it failed for a reason a later try can get past: a browser that was slow to start on a busy machine, or a driver that dropped the request while the last session's browser was still shutting down.
flagtext
Package flagtext words flag errors the way every rhythm echo command does: flags spelled as the help spells them (--fail-on, not -fail-on) and an unknown one with the flag it most likely meant.
Package flagtext words flag errors the way every rhythm echo command does: flags spelled as the help spells them (--fail-on, not -fail-on) and an unknown one with the flag it most likely meant.
importguard
Package importguard holds only tests: they keep the browser out of every package that doesn't need it, Soundcheck's module out of the build and os/exec out of the consent packages.
Package importguard holds only tests: they keep the browser out of every package that doesn't need it, Soundcheck's module out of the build and os/exec out of the consent packages.
kitcheck
Package kitcheck holds contract tests for what Echo relies on in the rhythm kit: masking in kit/secrets, the temp-file cleanup in kit/cache and the fail-closed signature check in kit/update.
Package kitcheck holds contract tests for what Echo relies on in the rhythm kit: masking in kit/secrets, the temp-file cleanup in kit/cache and the fail-closed signature check in kit/update.
testenv
Package testenv sizes the browser tests for the machine they run on.
Package testenv sizes the browser tests for the machine they run on.
Package mask hides credentials in what Echo stores: headers, URLs, text, JSON payloads and raw MIME.
Package mask hides credentials in what Echo stores: headers, URLs, text, JSON payloads and raw MIME.
Package mcp is Echo's Model Context Protocol server, so coding agents can ask what a site sent ("what did checkout send?", "what changed since the snapshot?") instead of scraping a terminal.
Package mcp is Echo's Model Context Protocol server, so coding agents can ask what a site sent ("what did checkout send?", "what changed since the snapshot?") instead of scraping a terminal.
Package model holds what Echo records: the messages a site sends (email, SMS, webhooks, chat alerts, analytics and payment calls), the actions that made it send them and the issues and changes found when checking and comparing runs.
Package model holds what Echo records: the messages a site sends (email, SMS, webhooks, chat alerts, analytics and payment calls), the actions that made it send them and the issues and changes found when checking and comparing runs.
Package proxy is Echo's HTTP(S) proxy: the bridge for apps and SDKs that send without going through a connector's hooks (the Twilio and Stripe PHP SDKs call cURL directly, Python and Go read HTTPS_PROXY).
Package proxy is Echo's HTTP(S) proxy: the bridge for apps and SDKs that send without going through a connector's hooks (the Twilio and Stripe PHP SDKs call cURL directly, Python and Go read HTTPS_PROXY).
Package recognize turns an outbound HTTP request into a message: it works out the channel (SMS, chat, webhook…), the provider and the recipients and content and says what a sealed staging site should be answered with.
Package recognize turns an outbound HTTP request into a message: it works out the channel (SMS, chat, webhook…), the provider and the recipients and content and says what a sealed staging site should be answered with.
Package relay lets a client see a captured email in their own inbox before launch without breaking the seal: a reader releases one message to one address, the address must match the relay's allowlist and the message goes out through the agency's own SMTP account over TLS.
Package relay lets a client see a captured email in their own inbox before launch without breaking the seal: a reader releases one message to one address, the address must match the relay's allowlist and the message goes out through the agency's own SMTP account over TLS.
Package replay sends signed test webhooks (Stripe, Standard Webhooks, GitHub, WooCommerce, generic HMAC) to a staging site, so Echo can capture what the site sends in response: "payment_intent.succeeded → order email + SMS + CRM call".
Package replay sends signed test webhooks (Stripe, Standard Webhooks, GitHub, WooCommerce, generic HMAC) to a staging site, so Echo can capture what the site sends in response: "payment_intent.succeeded → order email + SMS + CRM call".
Package report renders Echo's results: a live line per captured message (`rhythm echo watch`), the terminal summary of a run or a comparison, plain text for logs and screen readers, JSON, Markdown, JUnit XML, a standalone HTML inbox with message previews and a print-ready agency report that sums up a site's comparisons.
Package report renders Echo's results: a live line per captured message (`rhythm echo watch`), the terminal summary of a run or a comparison, plain text for logs and screen readers, JSON, Markdown, JUnit XML, a standalone HTML inbox with message previews and a print-ready agency report that sums up a site's comparisons.
Package runner runs a project's actions against a running Echo: for each one it triggers the site (an HTTP request, a command, a replayed webhook), lets queued senders catch up, waits until the site falls quiet, then records the messages that action caused, with their issues.
Package runner runs a project's actions against a running Echo: for each one it triggers the site (an HTTP request, a command, a replayed webhook), lets queued senders catch up, waits until the site falls quiet, then records the messages that action caused, with their issues.
Package sendmail is a sendmail-compatible shim: `rhythm-echo sendmail` reads a message on stdin (as /usr/sbin/sendmail does) and hands it to Echo instead of delivering it.
Package sendmail is a sendmail-compatible shim: `rhythm-echo sendmail` reads a message on stdin (as /usr/sbin/sendmail does) and hands it to Echo instead of delivering it.
Package store keeps Echo's files in the project's .echo/ folder: named snapshots, recent runs and comparisons, each a directory holding run.json (or comparison.json).
Package store keeps Echo's files in the project's .echo/ folder: named snapshots, recent runs and comparisons, each a directory holding run.json (or comparison.json).
testbed
consent/bench command
Command bench is the consent benchmark: it runs rhythm-echo consent against every scenario of testbed/consent/scenarios.yaml, good state then broken, judges each result against the scenario's expect and forbid lists, runs the control pass over every good state, the environment probes and the performance measures of PRD 19, then writes docs/benchmark-consent.md and testbed/consent/bench/work/results.json.
Command bench is the consent benchmark: it runs rhythm-echo consent against every scenario of testbed/consent/scenarios.yaml, good state then broken, judges each result against the scenario's expect and forbid lists, runs the control pass over every good state, the environment probes and the performance measures of PRD 19, then writes docs/benchmark-consent.md and testbed/consent/bench/work/results.json.
consent/bench/hwm
Package hwm measures one process's own peak resident memory, leaving out its children.
Package hwm measures one process's own peak resident memory, leaving out its children.
consent/bench/peakmem command
Command peakmem runs a command and writes its own peak resident memory (in KiB, children left out) to a file: the consent benchmark's runner wraps rhythm-echo in it in Docker mode, so the figure is Echo's and not that of the Chrome it starts and reaps.
Command peakmem runs a command and writes its own peak resident memory (in KiB, children left out) to a file: the consent benchmark's runner wraps rhythm-echo in it in Docker mode, so the figure is Echo's and not that of the Chrome it starts and reaps.
consent/dns command
Command dns is the sealed Docker testbed's resolver: it answers every A query, whatever the name, with one address (the gate's) and never forwards anything.
Command dns is the sealed Docker testbed's resolver: it answers every A query, whatever the name, with one address (the gate's) and never forwards anything.
consent/judge
Package judge decides whether a run of rhythm-echo consent on a testbed scenario caught it: it reads the consent envelope, matches it against the scenario's expect and forbid lists (scenarios.yaml), checks the tracker sink stayed empty and that every stand-in tag the page names was loaded.
Package judge decides whether a run of rhythm-echo consent on a testbed scenario caught it: it reads the consent envelope, matches it against the scenario's expect and forbid lists (scenarios.yaml), checks the tracker sink stayed empty and that every stand-in tag the page names was loaded.
consent/scenarios
Package scenarios reads testbed/consent/scenarios.yaml, the manifest of the consent testbed: the 25 bad and 15 good scenario sites, what each broken state must make Echo find and what it must not, plus the security fixtures the environment probes use.
Package scenarios reads testbed/consent/scenarios.yaml, the manifest of the consent testbed: the 25 bad and 15 good scenario sites, what each broken state must make Echo find and what it must not, plus the security fixtures the environment probes use.
consent/server
Package server serves the consent testbed's scenario sites and the stand-in tracker tags on loopback, with a sink that counts every hit that reaches it, so tests can prove held hits never leave the browser.
Package server serves the consent testbed's scenario sites and the stand-in tracker tags on loopback, with a sink that counts every hit that reaches it, so tests can prove held hits never leave the browser.
consent/server/cmd/consent-testbed command
Command consent-testbed serves the Echo consent testbed in Go mode: every scenario site by its host name (c01.shop.test ...
Command consent-testbed serves the Echo consent testbed in Go mode: every scenario site by its host name (c01.shop.test ...
Package web is Echo Inbox, the live view `rhythm echo up` serves at /: one list of everything captured (email, SMS, chat, webhooks, payments, analytics), a detail pane with HTML, Text, Headers, Raw, JSON, Checks and Attachments tabs, search, filters, delete, live updates and, when up has a relay, Release for one email.
Package web is Echo Inbox, the live view `rhythm echo up` serves at /: one list of everything captured (email, SMS, chat, webhooks, payments, analytics), a detail pane with HTML, Text, Headers, Raw, JSON, Checks and Attachments tabs, search, filters, delete, live updates and, when up has a relay, Release for one email.
Package wire is the small JSON protocol between Echo and the connectors inside a site (the WordPress mu-plugin, the Laravel package, the Node package): a connector reports each email and each outbound HTTP request.
Package wire is the small JSON protocol between Echo and the connectors inside a site (the WordPress mu-plugin, the Laravel package, the Node package): a connector reports each email and each outbound HTTP request.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL