Hopwire Hopwire

P2P Developer & Webhook Gateway Pre-release

HTTP tunnels to localhost, recorded and replayable.

Hopwire records every request you send through it to your local service, lets teammates watch and replay it over a direct encrypted connection, and gives you a public HTTPS URL when a webhook sender needs one.

Private mode needs no account.

$ npm install -g hopwire
not published yet
$ hopwire http 3000

Not published yet: Hopwire is not released and there is no npm package, so do not run the install line today. npm is the assumed way to install, not a decided one.

~/shop-apiexample output

$ hopwire http 3000 --share

Mode
private (direct P2P: no account, no servers of ours, end-to-end encrypted between you and the teammates you choose)
Forwarding
http://127.0.0.1:4041 -> http://127.0.0.1:3000
Traffic log
3b9f0c2e...e07a (0 exchanges)
Peer key
a81c47d9...5d20
Notice
The shared log contains headers and bodies as captured, including credentials. It is the whole log of this data directory, earlier runs included. Anyone with the log key can read it. The peer key is not a secret (the nodes of the DHT see it), and anyone who knows it can reach the service; restrict both with --allow <pubkey>.
Inspector
http://127.0.0.1:4040
  1. POST /api/orders 201 18ms
  2. GET /api/orders/1042 200 9ms
  3. POST /webhooks/payment 500 131ms
  4. GET /health 200 2ms

Three things that should be simpler

  • A webhook sender needs a public URL. Your code runs on localhost.
  • A teammate's integration fails on their machine, and all you get is a screenshot of a log.
  • Reaching a teammate's local service usually means an account and someone else's servers in the middle.

Three commands

  1. Forward and record

    private, local only
    $ hopwire http 3000

    Send requests to the entry point at 127.0.0.1:4041 instead of your service. Hopwire forwards each one to port 3000, records the request and response in a local traffic log and shows them in the inspector at 127.0.0.1:4040. Until you add --share or --public, Hopwire makes no network connection beyond loopback.

  2. Share with a teammate

    private, direct P2P
    $ hopwire http 3000 --share

    Your teammate follows your traffic live and replays it against their own service. They put the log key from your startup output in place of <log-key>:

    $ hopwire watch <log-key> --replay-target http://127.0.0.1:3000

    Or reaches your service directly with your peer key, as if it ran on their machine:

    $ hopwire connect <peer-key> --port 8080
    $ curl http://127.0.0.1:8080/health

    hopwire id prints your machine's public key, so a teammate can put it on their allowlist with --allow <pubkey>.

  3. Go public when a webhook needs it

    public, through the edge
    $ hopwire login
    $ hopwire http 3000 --public

    Your service is now reachable at https://<name>.hwr.sh. Add --share as well and your teammates see the incoming webhooks live.

Several services? List them in hopwire.yaml and start them all with hopwire up.

Default mode

Private mode

No account, no servers of ours, end-to-end encrypted between you and the teammates you choose.

Private mode is the default. Your machine and your teammate's find each other through the public HyperDHT network, then connect directly. Requests, responses and the traffic log go straight between the two machines, encrypted with Noise. Our servers aren't involved, so private mode keeps working even when our edge and account service are down.

  • --share announces your traffic log and accepts connections from teammates.
  • hopwire watch copies a teammate's log to your machine as it grows, and you can replay any request against your own localhost.
  • hopwire connect opens a private tunnel from a port on your machine to your teammate's service.
  • --allow <pubkey> limits both to the keys you list.
public HyperDHT discovery only: sees IP addresses and keys direct, encrypted with Noise requests, responses, traffic log you --share teammate watch, connect
Discovery through the DHT Your traffic, peer to peer DHT nodes see IP addresses and keys. They never see requests, responses or the traffic log, which go directly between the two machines, encrypted with Noise.

What others can see

  • HyperDHT nodes see IP addresses, public keys and discovery keys. They never see requests, responses or the traffic log.
  • Teammates with your log key see everything captured: headers and bodies, including Authorization headers, cookies and webhook signatures. The log isn't redacted, because redaction would break replay of signed webhooks. Their copy of the log stays on their machine.
  • Teammates with your peer key can send requests to your service through hopwire connect.
  • Restrict both with --allow <pubkey>. Without --share, nothing is announced and nobody can connect.

What private mode can't do

  • Receive webhooks from third parties. A payment provider or Git host needs a public URL, so use public mode. In private mode both sides need the Hopwire CLI.
  • Connect when hole punching fails. Behind some strict NATs no direct connection is possible. The CLI says so and exits with an error. There's no relay.

Opt-in with --public

Public mode

A public HTTPS URL for webhook senders and browsers.

hopwire http 3000 --public gives your local service an address like https://<name>.hwr.sh. Requests arrive at Cloudflare's edge and travel to your machine over a WebSocket your CLI opens outbound. You don't open any inbound ports or change your router.

Cloudflare edge https://<name>.hwr.sh HTTPS WebSocket webhook sender or a browser forwards, stores nothing your machine CLI -> :3000
Request path. Your CLI opens the WebSocket outbound. The edge forwards each request and response and stores none of their content.

How it differs from private mode

  • It needs an account. Sign up, create an API token and run hopwire login. Accounts are not open yet.
  • Requests pass through the edge. HTTPS ends at Cloudflare's edge, which forwards each request to your CLI. Our edge code stores no request or response content and logs only the subdomain, request id, status, duration and error codes. Cloudflare, which runs the edge, processes connection metadata such as IP addresses.
  • The private-mode claim doesn't apply here. The CLI says which mode every tunnel runs in.

Details

  • Every organisation gets one fixed t- URL that stays the same between starts, and names of your choice come with Pro (5) and Team (25). Public tunnels live under hwr.sh.
  • Optional basic auth at the edge stops unauthenticated requests before they reach your machine.
  • If your CLI isn't connected, the URL answers 502 Tunnel offline. If your service doesn't start answering within 30 seconds, the edge returns 504.
  • Everything that arrives is still recorded locally and appears in your inspector. With --share, your teammates see it too.

127.0.0.1:4040

Every request, on your machine

The inspector runs at 127.0.0.1:4040 and is never reachable from outside your machine.

Illustration with sample data, not a screenshot. Here a teammate watches a shared log: entries from the other machine are tagged remote, and the replay at the top went to the watcher's own localhost.

Live list

New requests appear as they arrive, newest first, with method, path, status, duration and where they came from: local, peer, public or replay. You can filter by method, path or status, and by service.

Request and response

See the headers and the body, with JSON formatted for reading. Each body is captured up to 2 MB. Larger bodies are still forwarded in full, and the inspector shows when the copy was truncated.

Replay, and Edit & Replay

Send a captured request to your service again, as it was or with the method, path, headers or body changed. The result appears as a new entry, linked to the original, so you can fix a payload and try again without waiting for the sender.

Replay a teammate's traffic

With hopwire watch, your teammate's requests appear in your inspector, tagged remote. Replay any of them against your own localhost and your replays appear next to them.

Where your traffic goes

Hopwire private Hopwire public A typical hosted tunnel
Account needed No Yes Depends on the provider
Whose servers carry the traffic None. It goes directly between the two machines Cloudflare's edge, then a WebSocket to your CLI The provider's
Who can see request content You, plus teammates you give the log key or who connect to your service The edge decrypts requests to forward them, but stores none of them. Then you, plus teammates you share with Whoever terminates TLS on the path. Check the provider's documentation
Receives third-party webhooks No. Both sides need the CLI Yes Yes
Working as a team Give teammates your log key or peer key. Nobody needs an account An organisation with members and invitations. The Team plan covers up to 5 members with pooled limits Depends on the provider
Cost Free, no account Free plan with an account. Pro is €9.52 a month including VAT (€8 net), Team is €46.41 a month including VAT (€39 net) for up to 5 members: see Pricing Depends on the provider

In both modes, captured traffic stays on your machine and the machines of the teammates you share with.

Pricing Not on sale yet

Pricing

Private mode is free and needs no account. Public mode has a free plan and two paid ones. Euro prices include 19% German VAT, with the net price beside them. There is no usage billing: if you reach a limit, the URL pauses until 00:00 UTC and nothing is charged.

Private mode no account

€0 / $0. All of private mode, the inspector, replay and unlimited local history. Free for any use, including commercial, and never metered.

Get started

Free

account

€0 / $0With an account. No card needed.

For a developer who needs a public webhook URL.

  • Everything in private mode
  • 1 fixed public URL that stays the same between starts
  • 1 tunnel online
  • 2,000 requests a day
  • No session timer. The tunnel disconnects after 24 hours without a request, and the URL stays the same.
  • Basic auth at the edge
  • A warning page on browser page loads only. Never on webhooks, API calls or curl.
Create an account

Accounts are not open yet.

Pro

account

€9.52a month, or €95.20 a year (two months free), including VAT. Net of VAT: €8 / $9 a month, €80 / $90 a year.

For a developer who uses public URLs every week.

  • Everything in Free
  • 5 names of your choice, plus your fixed URL
  • 3 tunnels online at once
  • 20,000 requests a day
  • No idle disconnect
  • No warning page
  • Email support, best effort
Choose Pro

Checkout is not open yet.

Team

organisation

€46.41a month, or €464.10 a year, including VAT. Net of VAT: €39 / $45 a month, €390 / $450 a year. One price for up to 5 members, not per seat.

For a small team that shares names and limits.

  • Everything in Pro
  • One organisation with up to 5 members, joined by invitation
  • 25 names of your choice, plus the fixed URL
  • 15 tunnels online at once
  • 100,000 requests a day, pooled across the team
  • Roles: owner, admin and member
Choose Team

Checkout is not open yet.

Founding price

Organisations created during the beta (your personal one included) get Pro yearly at a lower price, every year. It stays locked for as long as the subscription runs on Pro yearly. A change to another plan or to monthly billing ends it.

€76.16a year for Pro, including VAT. €64 / $72 net of VAT.

What happens at a limit

  • The public URL answers 429 until 00:00 UTC. Nothing is charged.
  • You get an email at 80% and at 100% of a daily limit. Past the published request limit, Pro is still served up to 30,000 requests and Team up to 150,000 before the 429.
  • No overage, no automatic upgrade, no charge you didn't choose.
  • Private mode has no limits, because nothing is counted.

Terms in short

  • Your price is locked for as long as your subscription runs.
  • Cancel at any time. Access runs to the end of the paid period.
  • Full refund within 30 days on annual plans, once per organisation.
  • A name you reserve is never given to anyone else.
  • Billing runs through Stripe, and checkout shows the total with VAT before you pay. Consumers have a 14-day right of withdrawal.

Accounts and checkout are not open, so nothing here can be bought yet. Limit values are starting values and may change before launch.

All plans, limits and terms

What Hopwire is not

  • A TCP or UDP tunnel, or a VPN. It works with HTTP. The public side speaks HTTP only.
  • A production ingress, load balancer or CDN. It's a development tool.
  • A hosted request bin. Captured traffic lives on your machine and on the machines of the teammates you share with. Our edge and account service never store request or response content.
  • A public dashboard. The inspector listens on 127.0.0.1 only.
  • Something that needs an account for private use.
  • A relay. There is no relay for networks where a direct connection fails, because a relay would put a server of ours in the path.
  • Not in the first version: custom domains and a standalone binary.

FAQ

Is Hopwire open source?
The CLI, the inspector and the protocol will be published under the Apache-2.0 licence with the first release. That's all the code that runs on your machine, so you can check what private mode does. The edge and the account service are closed source.
What do the DHT nodes see?
To find each other, peers use the public HyperDHT network. Its nodes see IP addresses, public keys and discovery keys. They never see requests, responses or the traffic log. The connection between you and your teammate is end-to-end encrypted with Noise.
Does it work behind NAT? What happens when hole punching fails?
Usually, yes. Hopwire uses UDP hole punching to connect two machines directly. Behind some strict NATs this fails. The CLI then tells you no direct connection was possible and exits with an error. There's no relay, because a relay would put a server of ours in the path. Try another network, or use public mode with basic auth at the edge.
Can I receive webhooks in private mode?
No. A third-party sender needs a public URL, and in private mode both sides need the Hopwire CLI. Use hopwire http <port> --public for webhooks. Add --share and your teammates can watch and replay them.
Where is the traffic log stored?
On your machine, in ~/.hopwire/ (change it with HOPWIRE_HOME or --data-dir). It's an append-only Hypercore log with one entry per exchange: a request together with its response. Bodies are captured up to 2 MB each and aren't redacted. Teammates who watch your log keep a copy in their own data directory. We store none of it, in either mode. In public mode requests and responses pass through the edge, which forwards them without storing them.
Is there telemetry?
No. In either mode, no analytics, update check or crash report leaves your machine. To enforce the plan limits, the edge counts requests, bytes and open-request time per organisation per day. Those counters hold numbers only, never paths, headers or bodies. Private mode is never counted. This site sets no cookies, loads no analytics or trackers and makes no request to any other site: its fonts, styles and images are served from the same place as the page.
Does it support WebSockets?
Yes. WebSocket connections pass through the local entry point, through hopwire connect and through a public URL. A public tunnel carries up to 10 open connections at a time. The traffic log records the handshake as an exchange with status 101, not the messages, so a WebSocket can't be replayed.
Can a team share one account?
In private mode a team needs no account at all: you hand teammates a log key or a peer key. For public mode, organisations with members and invitations come with the Team plan. It covers one organisation with up to 5 members who share its names and its daily limits. See Pricing.
Who runs Hopwire?
An independent company in Germany; the imprint names it. Public mode runs on Cloudflare's network. Private mode runs on your machines and the public HyperDHT network. Pro and Team include email support, best effort with no SLA. On Free you can write to the same address, with no response time promised.

Install Pre-release

One command to the first recorded request

Install the CLI, point it at the port your service listens on, and send a request to the entry point. Private mode needs no account.

$ npm install -g hopwire
not published yet
$ hopwire http 3000
$ curl -X POST http://127.0.0.1:4041/hello -d '{"hello":"hopwire"}'

Then open http://127.0.0.1:4040 to see the request in the inspector. Not published yet: Hopwire is not released and there is no npm package, so do not run the install line today. npm is the assumed way to install, not a decided one.