
Wormhole
Local HTTP and text WebSocket tunnels with traffic inspection.
Wormhole is a self-hosted ngrok alternative built on Cloudflare (D1, Durable Objects, Workers). Free tier eligible within limits. Inspect the source and license in the linked repository.
Source & license
Upstream license: MIT
License TL;DR
You can use it, change it, self-host it and sell it. Keep the original copyright and license notice with copies of the code. You don’t have to publish your changes. The authors don’t promise it will work.
Explain MIT in plain English →Summary of the main license. Separate packages and assets can have different terms.
Inspect repository ↗Read this project’s actual license ↗Repository owner
See the upstream repository for the original creator and contributors.
Maintain this project? Maintainer verification →README badge, corrections or removal →Cloudflare hosting
Free tier eligible within limits
The reviewed Cloudflare deployment is eligible for Free-plan allowances for the stated small workload and feature scope. Usage limits, CPU, required account setup and separate services apply.
Hosting requirements
- Cloudflare hosts the relay only; provide an existing local machine, running application and network connection.
- Replace upstream account, zone and D1 IDs, configure your own wildcard hostname and database schema; domain registration is a separate cost.
- Use the SQLite Tunnel migration and keep Worker requests/10 ms CPU, D1 and DO requests/active duration inside free quotas.
- Frequent long-lived tunnels, WebSocket forwarding and large responses consume relay usage and may need Workers Paid.
- GitHub OAuth is optional for anonymous tunnels but needed for the documented custom-subdomain workflow.
- Workers Free dynamic requests are shared across this account (100,000/day), with 10 ms CPU per invocation; workload fit is conditional and has not been measured.
- D1 Free allowance: 5 million rows read/day, 100,000 rows written/day and 5 GB total storage; unindexed scans and history retention consume quota.
- Only SQLite Durable Objects qualify for Workers Free. Keep DO requests below 100,000/day, active duration below 13,000 GB-s/day and SQLite storage/operations inside the captured allowances.
Review findings & limitations
- The pinned original Worker, SQLite Tunnel DO, D1 schema, Go client and inspector ran locally. HTTP GET/POST forwarding, original body/header inspection, live updates, path filtering, replay and the HAR API worked with synthetic data. No public tunnel was opened.
- Binary WebSocket framing failed: a type-2 message returned as type 1 with the same ASCII content. The pinned client writes text messages and the relay sends decoded strings. Only text echo forwarding was verified; do not assume binary-protocol compatibility.
- All 52 original regular files were preserved. The original Go suite passed 99 test events with -race, and the original relay suite passed 34 tests. These suites did not catch the observed cross-service binary framing failure.
- The CLI hardcodes wss://relay.wormhole.bar. The local review used an untracked harness around the original exported client, plus a loopback virtual-host proxy and synthetic origin; the CLI default relay workflow was not run.
- The HAR API returned six entries. Browser download observation timed out after clicking Export HAR, so completed UI file saving remains unverified.
- MIT copyright Muhammad Hanan Asghar. The actual Cloudflare relay uses Workers, D1 and SQLite Durable Objects; the local target machine/application and network remain outside Cloudflare.
- Replace the original account, zone, D1 IDs and hardcoded hostnames for your own relay. Public DNS/TLS, GitHub OAuth/custom subdomains, recovery/hibernation under load, enterprise parity and Free-plan CPU/usage fit remain untested.
Sources checked 01/10/2026
Repository snapshot: c53fd29. Hosting eligibility reflects the deployment documentation and listed assumptions.
- ngrok ↗
e edge. | | **Custom subdomains** | Request a memorable address after signing in with GitHub. | | **Traffic inspector** | Inspect request and response details in a local dashboard with a live request stream. | | **Replay and export** | Replay captured requests and export traffic in HAR format. | | **WebSocket support** | Forward WebSocket connections through the tunnel. | | **Automatic recovery** | Reconnect with exponential backoff when the connection drops. | | **Terminal or headless mode** | Follow a color-coded request log or use plain log output. | | **Open s
- workers ↗
name = "wormhole-relay" main = "src/index.ts" compatibility_date = "2025-02-14" account_id = "c766c312cd089545cd36afdede71bb89" [durable_objects] bindings = [ { name = "TUNNEL", class_name = "Tunnel" } ] [[migrations]] tag = "v1" new_sqlite_classes = ["Tunnel"] [[routes]] pattern = "*.wormhole.bar/*" zone_id = "9c072e7ba0809f3a6ec55b6fdaa53ad1" [[d1_databases]] binding = "DB" database_name = "wormhole-db" database_id = "bb72debb-382b-431d-ac81-9df6fd84b765" migrations_dir = "migratio
- d1 ↗
tern = "*.wormhole.bar/*" zone_id = "9c072e7ba0809f3a6ec55b6fdaa53ad1" [[d1_databases]] binding = "DB" database_name = "wormhole-db" database_id = "bb72debb-382b-431d-ac81-9df6fd84b765" migrations_dir = "migrations"
- durable-objects ↗
-02-14" account_id = "c766c312cd089545cd36afdede71bb89" [durable_objects] bindings = [ { name = "TUNNEL", class_name = "Tunnel" } ] [[migrations]] tag = "v1" new_sqlite_classes = ["Tunnel"] [[routes]] pattern = "*.wormhole.bar/*" zone_id = "9c072e7ba0809f3a6ec55b6fdaa53ad1" [[d1_databases]] binding = "DB" database_name = "wormhole-db" database_id = "bb72debb-382b-431d-ac81-9df6fd84b765" migrations_dir = "migrations"
- free-tier-eligible ↗
name = "wormhole-relay" main = "src/index.ts" compatibility_date = "2025-02-14" account_id = "c766c312cd089545cd36afdede71bb89" [durable_objects] bindings = [ { name = "TUNNEL", class_name = "Tunnel" } ] [[migrations]] tag = "v1" new_sqlite_classes = ["Tunnel"] [[routes]] pattern = "*.wormhole.bar/*" zone_id = "9c072e7ba0809f3a6ec55b6fdaa53ad1" [[d1_databases]] binding = "DB" database_name = "wormhole-db" database_id = "bb72debb-382b-431d-ac81-9df6fd84b765" mi
- free-tier-eligible ↗
ount Manager. | | Requests<sup>1, 2, 3, 4</sup> | Duration | CPU time | | --- | --- | --- | --- | | **Free** | 100,000 per day | No charge for duration | 10 milliseconds of CPU time per invocation | | **Standard** | 10 million included per month <br> +$0.30 per additional million | No charge or limit for duration | 30 million CPU milliseconds included per month<br> +$0.02 per additional million CPU milliseconds<br><br> Max of [5 minutes of CPU time](https://developers.cloudflare.com/workers/platform/limits/#account-plan-limits) per invocation (default: 30 second
- free-tier-eligible ↗
rs Paid](https://developers.cloudflare.com/workers/platform/pricing/#workers) | | --- | --- | --- | | Rows read | 5 million / day | First 25 billion / month included + $0.001 / million rows | | Rows written | 100,000 / day | First 50 million / month included + $1.00 / million rows | | Storage (per GB stored) | 5 GB (total) | First 5 GB included + $0.75 / GB-mo | Track your D1 usage To accurately track your usage, use the [meta object](https://developers.cloudflare.com/d1/worker-api/return-object/), [GraphQL Analytics API](https://developers.cloudflare.com/d1/obs
- free-tier-eligible ↗
ute and storage. Note Durable Objects are available both on Workers Free and Workers Paid plans. - **Workers Free plan**: Only Durable Objects with [SQLite storage backend](https://developers.cloudflare.com/durable-objects/best-practices/access-durable-objects-storage/#create-sqlite-backed-durable-object-class) are available. - **Workers Paid plan**: Durable Objects with the SQLite storage backend are available. The [key-value storage backend](https://developers.cloudflare.com/durable-objects/reference/durable-objects-migrations/#storage-backends) is only avail
- MIT ↗
MIT License Copyright (c) 2025 Muhammad Hanan Asghar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this
- architecture ↗
name = "wormhole-relay" main = "src/index.ts" compatibility_date = "2025-02-14" account_id = "c766c312cd089545cd36afdede71bb89" [durable_objects] bindings = [ { name = "TUNNEL", class_name = "Tunnel" } ] [[migrations]] tag = "v1" new_sqlite_classes = ["Tunnel"] [[routes]] pattern = "*.wormhole.bar/*" zone_id = "9c072e7ba0809f3a6ec55b6fdaa53ad1" [[d1_databases]] binding = "DB" database_name = "wormhole-db" database_id = "bb72debb-382b-431d-ac81-9df6fd84b765" migrations_dir = "migratio
Locally captured application screenshot · MuhammadHananAsghar/wormhole repository contributors; captured locally by Cloudsteading ↗. Uses demonstration data. Local execution does not verify a production Cloudflare deployment.
What we tested locally
Original Go 1.26.1 client and embedded inspector with Wrangler 4.145.0 workerd, isolated local D1 and a SQLite Tunnel Durable Object. Six synthetic HTTP requests, a synthetic order POST, request replay and a loopback WebSocket echo service. These are disposable local test payloads; no real customer traffic, account or public tunnel was used.
- Passed: Original source and dependency preservation. All 52 original regular files still match their immutable Git blobs. Go built with -mod=readonly using the committed go.sum; npm ci used the original edge lockfile with lifecycle scripts disabled.
- Passed: Original CLI build and unit suites. The original CLI built and its version subcommand ran. The original Go suite produced 99 passing test events across four packages with -race, and the original relay suite passed 34 tests across two files.
- Passed: Anonymous local tunnel registration. The original Go client registered over WebSocket with the original local Cloudflare Worker, SQLite Tunnel Durable Object and D1 migrations, using a disclosed loopback harness. No public tunnel was opened.
- Passed: HTTP forwarding and original traffic recording. GET routes returned 200, a synthetic POST returned 201 with its body retained, a missing route returned 404, and the original sensitive-path guard returned 403 for /.env. Six HTTP requests appeared in the original inspector.
- Passed: Original inspector live stream and filtering. Codex Browser selected the POST and displayed request/response headers and JSON bodies. A new GET appeared without a reload. The original path filter restricted the list to the two matching order paths.
- Passed: Original replay and HAR API export. Codex Browser used Replay and observed the original success alert with HTTP 201. GET /api/har returned valid HAR 1.2 containing six captured entries.
- Passed: Inspector foreign-origin guard. The original inspector API returned 403 for an unrelated https Origin; local inspection remained available. This scoped check is not a full security assessment.
- Passed: Text WebSocket forwarding. A visitor connected through the original Worker and Go client to a synthetic loopback WebSocket origin; the text message returned with its content and message type preserved.
- Needs a fix: Binary WebSocket message type preservation. The supplemental visitor probe sent message type 2 but received type 1 with the same ASCII payload. The pinned Go forwarding path writes TextMessage and the relay sends decoded strings; binary framing is not preserved.
- Not tested: Browser HAR download completion. The original Export HAR control was clicked, but Codex Browser download observation timed out. The direct HAR endpoint and its six entries were verified separately; successful file saving through the UI was not confirmed.
- Not tested: Public relay and production integrations. Public DNS/TLS, the CLI default public relay path, GitHub OAuth/custom subdomains, reconnection/hibernation under load, enterprise parity, workload CPU and billing were not exercised.
Capture setup and limits
- All 52 original regular files remain unchanged from the pinned source. Go dependencies used the committed go.sum with -mod=readonly; relay npm dependencies used its committed package-lock.json.
- A supplemental untracked Go harness starts the original exported client and inspector with loopback addresses. It supplies a synthetic origin and a local reverse proxy which rewrites only the registration Host to the original relay hostname. These helpers do not replace the original forwarding, recorder, replay or relay implementations.
- The separate local Wrangler config replaces upstream resource IDs with an isolated D1 database and the original SQLite Tunnel class. All three original migrations were applied only to local state; no routes, OAuth secrets or remote resources were connected.
- The original CLI hardcodes the public relay URL and has no reviewed relay override flag. Only its build and version subcommand were exercised; tunnel execution used the original exported client through the disclosed harness.
- Initial supplemental requests used Node fetch, which did not preserve the virtual Host header and received 400 before entering the tunnel. Node http.request preserved that header for the actual forwarding checks.
- The test runs entirely on loopback. The displayed assigned wormhole.bar hostname is part of the original registration protocol, not proof of a deployed or reachable public tunnel.
- Binary WebSocket message types are not preserved at this pin: a type-2 message returned as type 1. Only the tested text echo supports a forwarding claim. Unicode framing, large payloads, load, hibernation and recovery require separate evaluation.
- GitHub OAuth, custom subdomains, public TLS, the hardcoded CLI relay workflow, enterprise features, a full security assessment and free-plan CPU/usage fit were not tested.
- The HAR endpoint returned a valid six-entry archive, but the browser download event timed out; this review does not confirm the UI completed saving that archive.
What it can replace
Compare the workflow you need. These mappings describe overlap; full feature parity requires a separate comparison.
Editorial workflow alternative: HTTP and tested text WebSocket forwarding of an existing local server, plus local inspection/replay. Binary WebSocket framing failed in the local review; no managed global service, team or enterprise parity.
See supporting source ↗How it works
The shape of Wormhole on Cloudflare, and how it stacks up against the rented tools it replaces.
Diagram target: edge/wrangler.toml. Other repository deployments are listed in the source evidence below; they are not required by this target.
Architecture
Diagram of deployment declarations at the reviewed commit. Each app has its own entrypoint; declared resources do not prove runtime calls. Follow file and line sources below.
View upstream source ↗Configuration and workflow sources
Reviewed commit c53fd29e3eb4. This configuration evidence comes from reading source files. Execution checks, when available, appear in the project's runtime review.
Deployment configuration · 1 file
Cloudflare Workers · compatibility 2025-02-14
wormhole-relay · default
Entrypoint: src/index.ts
Configured route patterns: *.wormhole.bar/*
DB→ D1TUNNEL→ Durable Objects · class Tunnel
Named environments are separate deployments. Bindings are shown only where declared. Configured routes are URL patterns, not verified application endpoints.
Runtime source · handlers, binding usage and workflow steps
Observed TypeScript/JavaScript declarations from Worker entrypoints and resolved relative imports. Calls and workflow steps may run conditionally; their listed order is not a proven end-to-end request flow. Router declarations may be mounted under a prefix or may not be registered. This shows code wiring, not a successful deployment or runtime test. Dynamic wiring, aliases and generated code may not resolve.
- L157 · fetch handler exported · references TUNNEL, DB · calls request.headers.get, jsonResponse, isAuthRequest, handleAuth, isRegisterRequest, env.TUNNEL.newUniqueId, env.TUNNEL.get, stub.fetch, extractSubdomain, RESERVED_SUBDOMAINS.has, first, bind, env.DB.prepare, env.TUNNEL.idFromString
- L20 · extractSubdomain calls (conditional paths may differ): host.split, hostname.endsWith, hostname.slice, subdomain.includes
- L36 · isRegisterRequest calls (conditional paths may differ): host.split
- L45 · jsonResponse calls (conditional paths may differ): JSON.stringify
- L52 · isAuthRequest calls (conditional paths may differ): host.split
- L59 · handleAuth calls (conditional paths may differ): url.searchParams.get, btoa, JSON.stringify, githubUrl.searchParams.set, Response.redirect, githubUrl.toString, jsonResponse, fetch, tokenResp.json, userResp.json, String, Math.floor, Date.now, crypto.subtle.importKey, encoder.encode, crypto.subtle.sign, String.fromCharCode, run, bind, env.DB.prepare
Environment references: env.GITHUB_CLIENT_ID · env.GITHUB_CLIENT_SECRET · env.AUTH_SECRET · env.DB · env.TUNNEL
- L495 · generateSubdomain calls (conditional paths may differ): crypto.getRandomValues, join, Array.from
Environment references: env.DB · env.TUNNEL
Build and deployment pipeline · 0 GitHub Actions workflows
Repository CI declarations, separate from runtime request processing. Job dependencies and conditions are shown as written; long commands are shortened with an ellipsis; a workflow file does not prove a recent successful run.
No GitHub Actions workflow was found in the collected tree. Deployment may be manual or configured elsewhere.
deploy: wrangler deploy
Repository README
View original on GitHub ↗Full upstream document by @MuhammadHananAsghar · README.md · snapshot c53fd29
Website · Installation · Quick start · CLI reference · Report an issue
Local development. Public URLs.
Wormhole gives your local server a public HTTPS URL with one command. Share a development server, test incoming webhooks, or preview an app on another device. Start a tunnel without an account or configuration file; sign in with GitHub when you need a custom subdomain.
wormhole http 3000
Illustrative session · Your public URL is assigned when the tunnel connects.
Features
| Capability | What you get |
|---|---|
| Instant HTTPS tunnels | A public URL for your local HTTP server, with TLS handled at the Cloudflare edge. |
| Custom subdomains | Request a memorable address after signing in with GitHub. |
| Traffic inspector | Inspect request and response details in a local dashboard with a live request stream. |
| Replay and export | Replay captured requests and export traffic in HAR format. |
| WebSocket support | Forward WebSocket connections through the tunnel. |
| Automatic recovery | Reconnect with exponential backoff when the connection drops. |
| Terminal or headless mode | Follow a color-coded request log or use plain log output. |
| Open source | A Go client and Cloudflare Workers relay, licensed under MIT. |
Installation
Quick install (macOS / Linux)
curl -fsSL https://wormhole.bar/install.sh | sh
Homebrew (macOS)
brew install MuhammadHananAsghar/tap/wormhole
Release binaries
Download a prebuilt binary from GitHub Releases.
Build from source
Requires Go 1.26.1 or later and Make.
git clone https://github.com/MuhammadHananAsghar/wormhole.git
cd wormhole
make build
# Binary: ./wormhole
Quick start
Expose a local HTTP server
# Start your local server on any port
wormhole http 3000
# => https://k7x9m2.wormhole.bar -> http://localhost:3000
Custom subdomain (free)
# One-time login via GitHub
wormhole login
# Use your own subdomain
wormhole http 3000 --subdomain myapp
# => https://myapp.wormhole.bar -> http://localhost:3000
Traffic inspector
Every tunnel automatically starts a traffic inspector at http://localhost:4040:
- Live request/response stream via WebSocket
- Request detail view with headers and body
- One-click request replay
- Filter by method, status code, path
- Export as HAR file
# Custom inspector port
wormhole http 3000 --inspect localhost:5050
# Disable inspector
wormhole http 3000 --no-inspect
CLI reference
wormhole http <port> # Expose local HTTP server
wormhole http <port> --subdomain NAME # Custom subdomain
wormhole http <port> --headless # No TUI, plain log output
wormhole http <port> --inspect ADDR # Custom inspector address
wormhole http <port> --no-inspect # Disable inspector
wormhole login # Authenticate via GitHub
wormhole logout # Remove stored credentials
wormhole status # Show auth status
wormhole uninstall # Remove wormhole from system
wormhole uninstall --purge # Also remove config (~/.wormhole/)
wormhole update # Update to the latest version
wormhole version # Print version
How it works
flowchart LR
visitor[Public client] -->|HTTPS| edge[Cloudflare Worker]
edge --> tunnel[Durable Object]
tunnel <-->|Encrypted WebSocket| cli[Wormhole CLI]
cli <-->|HTTP / WebSocket| local["localhost:3000"]
- The CLI opens a WebSocket connection to the Cloudflare edge and receives a public subdomain.
- Requests to that subdomain reach a Worker, which routes them to the tunnel's Durable Object.
- The Durable Object forwards requests over the connection to the CLI.
- The CLI calls your local server and sends its response back through the tunnel.
The traffic inspector runs locally at http://localhost:4040 and records requests for inspection, replay, and export.
Architecture
| Component | Technology |
|---|---|
| CLI Client | Go, Cobra, Bubbletea, Lipgloss |
| Transport | WebSocket (gorilla/websocket) |
| Edge Relay | Cloudflare Workers + Durable Objects |
| Database | Cloudflare D1 (SQLite) |
| DNS | Cloudflare DNS (wildcard *.wormhole.bar) |
| TLS | Cloudflare automatic SSL |
| Auth | GitHub OAuth |
Project structure
wormhole/
├── cmd/wormhole/ # CLI entry point
├── internal/
│ ├── client/ # Tunnel client (connect, forward, display)
│ ├── transport/ # WebSocket transport layer
│ └── inspect/ # Traffic inspector (recorder, server, replay, HAR)
├── edge/ # Cloudflare Worker + Durable Object relay
│ ├── src/
│ │ ├── index.ts # Worker router + auth
│ │ └── tunnel.ts # Durable Object tunnel proxy
│ └── migrations/ # D1 schema migrations
├── pkg/config/ # User config (~/.wormhole/config.json)
├── deployments/ # install.sh, Docker, etc.
├── Makefile
└── .goreleaser.yml
Security
Wormhole includes hardening measures to protect users who inadvertently expose sensitive local files or infrastructure details through the tunnel.
Sensitive path blocking (CWE-441)
By default, wormhole blocks requests to dot segments and node_modules before they reach your local server. Matching is done after URL unescaping and path cleaning, so encoded or traversal variants are blocked too.
/.env,/.git,/.aws,/.ssh,/.docker, and any other dot segment in the path: return 403 Forbidden/node_modules/anywhere in the path: return 403 Forbidden
This prevents credentials and source control history from being served to the internet even if your local server would normally serve them.
To disable (for users who genuinely need to serve these paths):
WORMHOLE_NO_PATH_FILTER=1 wormhole http 3000
Inspector CORS hardening (CWE-942)
The traffic inspector (localhost:4040) does not set Access-Control-Allow-Origin: *. CORS headers are only returned when the request's Origin is a loopback origin on the inspector's bound port. This prevents malicious websites visited in the same browser session from reading tunnel traffic via cross-origin requests.
The WebSocket upgrader applies the same origin policy.
Error message sanitization (CWE-200)
When the local server is unreachable, wormhole returns a generic message (Tunnel connected, but the local service is not responding.) to the remote caller instead of the raw Go error string. Internal network topology details (host names, port numbers, error codes) are logged locally only and never sent through the tunnel.
Development
Use Go 1.26.1 or later for the client and Node.js with npm for the edge relay.
# Run all Go tests
go test ./... -race
# Run edge tests
(cd edge && npm ci && npm test)
# Build binary
make build
# Cross-compile all platforms
make dist
Test-driven development
This project follows test-driven development. Write failing tests first, then implement.
# Run inspector tests without cached results
go test ./internal/inspect/ -v -count=1
# Coverage
go test ./... -cover
Contributing
Bug reports and focused pull requests are welcome. For a bug report, include your operating system, wormhole version, reproduction steps, and relevant logs with credentials removed.
Before opening a pull request, run the tests for the components you changed. Update the documentation when changing commands or user-facing behavior.
Roadmap
The current CLI uses a Cloudflare Workers relay. Future work includes a self-hosted Go relay, additional transports, and team features. The items below distinguish shipped capabilities from planned work.
View the development roadmap
- Phase 1 — Core tunnel (
wormhole http 3000→ public URL, WebSocket passthrough) - Phase 2 — HTTPS, custom subdomains (auto-reserve, 3/user limit), GitHub OAuth
- Phase 3 — Traffic inspector, request replay, HAR export, curl generation
- Phase 4 — Self-hosted Go relay (
wormhole server, QUIC transport, SQLite persistence) - Phase 5 — Auth & multi-user (API keys, team tokens, CF + self-hosted middleware)
- Phase 6 — Stream multiplexing (virtual streams over single WebSocket, backpressure)
- Phase 7 — Plugin system (request/response pipeline, custom auth, transforms)
- Phase 8 — Observability (Prometheus metrics, structured logs, health endpoints)
- Phase 9 — Protocol evolution (version negotiation, TLS pinning, binary framing)
- Phase 10 — Enterprise hardening (connection limits, mTLS, audit logs, RBAC)
- Phase 11 — P2P mode (
wormhole share, WebRTC direct connections, no relay) - Phase 12 — Polish & ship (homepage, docs site, video demos, package registries)
Contributors
Thanks to everyone who helps improve Wormhole through code, documentation, bug reports, and ideas.
View all contributors · Contribute to Wormhole
Author
Muhammad Hanan Asghar
- GitHub: @MuhammadHananAsghar
- LinkedIn: muhammadhananasghar
License
MIT License. See LICENSE for details.
Built with Go + Cloudflare Workers. Runs on the edge.
Frequently asked about Wormhole
What is Wormhole?+
Wormhole is a self-hosted ngrok alternative built on the Cloudflare developer platform. Local HTTP and text WebSocket tunnels with traffic inspection.
What does Wormhole replace?+
Wormhole is listed as an alternative to ngrok. Compare the features and tradeoffs before migrating.
What Cloudflare primitives does Wormhole use?+
Wormhole is built on D1, Durable Objects, Workers.
How much does Wormhole cost to run?+
The reviewed Cloudflare deployment is eligible for Free-plan allowances for the stated small workload and feature scope. Usage limits, CPU, required account setup and separate services apply. Cloudflare hosts the relay only; provide an existing local machine, running application and network connection. Replace upstream account, zone and D1 IDs, configure your own wildcard hostname and database schema; domain registration is a separate cost. Use the SQLite Tunnel migration and keep Worker requests/10 ms CPU, D1 and DO requests/active duration inside free quotas. Frequent long-lived tunnels, WebSocket forwarding and large responses consume relay usage and may need Workers Paid. GitHub OAuth is optional for anonymous tunnels but needed for the documented custom-subdomain workflow. Workers Free dynamic requests are shared across this account (100,000/day), with 10 ms CPU per invocation; workload fit is conditional and has not been measured. D1 Free allowance: 5 million rows read/day, 100,000 rows written/day and 5 GB total storage; unindexed scans and history retention consume quota. Only SQLite Durable Objects qualify for Workers Free. Keep DO requests below 100,000/day, active duration below 13,000 GB-s/day and SQLite storage/operations inside the captured allowances. Check current Cloudflare pricing before deploying.
Is Wormhole open source?+
The upstream repository declares the MIT license. Read its terms at https://raw.githubusercontent.com/MuhammadHananAsghar/wormhole/c53fd29e3eb46c7d41f4af21d053a3c3746fe9aa/LICENSE. Source code and contributor credit are available at https://github.com/MuhammadHananAsghar/wormhole.
Community rating
No ratings yet. Tried this project? Share your experience.
One rating per verified account. You can change or remove yours. Accounts are email verified; use of the software is self-reported.

Discussion · 0
sign in to comment →