• Skip to main content
  • Skip to secondary menu
  • Skip to footer

Exclusive.org

Digital ideas, domains and editorial insights

  • Sponsored Post
  • About
  • Contact
    • GDPR

BitSpeed.org: How to Build a Cloudflare Workers Speed Test — and Why the Domain Is the Real Asset

May 9, 2026 By admin

There is a category of domain that does not need much imagination to value. You read the name, you immediately know what it does, and you know who would pay for it. bitspeed.org is that kind of domain. Clean, technical, memorable, and sitting in a space — internet speed measurement — that has real institutional buyers: ISPs, network hardware vendors, telcos, SaaS monitoring companies.

The question is not whether the domain has value. The question is how to surface that value to the right buyer. The answer, in this case, is a working product. Not a parking page. Not a coming-soon placeholder. A functional, live internet speed test running at bitspeed.org, built on Cloudflare Workers, with zero hosting cost and a deployment time measured in hours.

This post covers both things at once: the domain case and the technical build. By the end, you will have a complete architectural blueprint you can execute yourself.


Why Cloudflare Workers

The architecture choice matters here because it reflects the domain’s identity. A speed test built on Cloudflare Workers is not a toy demo. Cloudflare operates over 300 points of presence worldwide, and a Worker executes at the PoP nearest to the user. That means latency measurements are honest — the probe hits real edge infrastructure, not a single origin server in a distant data center.

This is the same principle that makes Cloudflare’s own speed test at speed.cloudflare.com credible. You are borrowing that infrastructure. For a domain like bitspeed.org, that is a meaningful credibility signal to any technical buyer who looks under the hood.

The secondary benefit is operational: the Cloudflare Workers free tier covers 100,000 requests per day. A full speed test — ping, download, upload — consumes roughly three to five requests. That is 20,000 to 30,000 complete tests per day before any cost appears. For a domain showcase, this is effectively infinite.


The Architecture

The entire application lives in a single Worker script. No external origin server. No database. No CDN configuration beyond the Worker itself. The Worker handles four routes:

GET / serves the complete HTML, CSS, and JavaScript application inline — a single self-contained response. GET /ping returns a minimal one-byte response used for latency measurement. GET /download streams a configurable volume of generated bytes to the browser. POST /upload receives a binary payload from the browser and acknowledges the byte count received.

Nothing else is required. The Worker file structure is minimal:

bitspeed-worker/
├── wrangler.toml
├── package.json
└── src/
    └── index.js

The wrangler.toml configuration maps the Worker to the bitspeed.org domain:

name = "bitspeed"
main = "src/index.js"
compatibility_date = "2024-11-01"

routes = [
  { pattern = "bitspeed.org/*", zone_name = "bitspeed.org" }
]

For this to work, bitspeed.org must be on Cloudflare’s nameservers. GoDaddy supports NS delegation — you point the domain’s nameservers at Cloudflare, Cloudflare takes over DNS, and the Worker route activates.


The Three-Phase Test

The test runs in sequence: ping and jitter first, download second, upload third. Each phase has a distinct method.

Ping and jitter fires ten consecutive GET /ping requests. The browser records round-trip time for each using performance.now(). The first result is discarded — it includes connection establishment overhead that inflates the number. The remaining nine produce an average latency and a jitter figure derived from standard deviation. This is the same methodology serious speed test implementations use.

Download sends a GET /download?mb=25 request. The Worker responds with a streaming ReadableStream that pushes chunks of generated bytes in a controller loop. The browser consumes the stream using response.body.getReader(), sampling bytes received against elapsed time every 200 milliseconds. This produces a live Mbps readout that updates in real time during the test. Final throughput is computed from total bytes transferred over total wall time.

Upload generates a local ArrayBuffer in the browser — starting at 5 MB, scaling to 25 MB automatically if the connection is fast enough to warrant it — and POSTs it to /upload. The Worker reads the request body and acknowledges the byte count. The browser divides payload size by wall time to derive upload throughput. Auto-scaling the payload avoids wasting time on slow connections while ensuring accurate measurement on fast ones.


Server Location and ISP Detection

Every Cloudflare response includes a CF-Ray header in the format hash-IATA, where the IATA code identifies the PoP that handled the request. Parsing the last segment gives you the airport code — FRA for Frankfurt, SIN for Singapore, LAX for Los Angeles — which the UI displays as the server location. This is a small detail that adds significant credibility to the result.

The user’s IP is available from the cf-connecting-ip request header. ISP identification requires one outbound call from the Worker to a geolocation API such as ipapi.co, which returns ISP name and ASN. For a pure Workers-only build with no external dependencies, this can be omitted and displayed as a future enhancement.


The UI

The interface follows the established visual language of speed test applications because buyers and visitors will immediately recognize what they are looking at. The centerpiece is an arc gauge — an SVG semicircle that sweeps from zero to maximum as download or upload speed is measured. The needle position corresponds to current Mbps, and the number updates live during the test.

Below the gauge, three result cards display the final values: ping in milliseconds, download in Mbps, upload in Mbps. A status line above the gauge reads “Testing download… 47.3 Mbps” during measurement and settles to the result when the phase completes. The footer shows server location, user IP, and ISP name.

The visual goal is not to replicate Speedtest.net’s exact aesthetic. It is to produce something that looks intentional, professional, and purpose-built for the domain. A buyer encountering bitspeed.org should see a product, not a prototype.


Deployment

The full deployment sequence from zero to live is four steps. Install the Cloudflare Workers CLI with npm create cloudflare@latest bitspeed-worker. Write the Worker script and inline HTML. Run wrangler deploy. Point bitspeed.org’s nameservers at Cloudflare through GoDaddy’s DNS settings.

Build time for someone with basic JavaScript familiarity is three to four hours. Ongoing maintenance is zero — the Worker runs indefinitely with no servers to patch, no certificates to renew, no infrastructure to monitor.


The Domain Case

Speed testing has real institutional demand. ISPs use branded speed test tools for customer self-diagnosis, reducing support call volume. Hardware vendors embed them in router admin interfaces. Enterprise network monitoring companies use them as lightweight probes. Any of these buyers would find bitspeed.org immediately useful as a brand — the name communicates exactly what the product does without explanation.

The difference between a parked domain and a domain with a live product is not just aesthetic. It is the difference between a buyer having to imagine the use case and a buyer being able to see it. At the price point where .org domains in this space trade — typically five to fifteen thousand dollars for a clean, generic, on-brand name — the cost of building a proof-of-concept on Cloudflare Workers is negligible against the potential upside.

The technical work described in this post is not a business plan. It is a domain positioning strategy. BitSpeed.org running a real speed test is a more persuasive asking-price justification than any outreach email could be on its own.

Build it once. Let it run. Let the domain speak for itself.

BitSpeed.org — Full Cloudflare Workers Speed Test: The Complete Code

Two files. No build step. Deploy with wrangler deploy.


wrangler.toml

name = "bitspeed"
main = "src/index.js"
compatibility_date = "2024-11-01"

routes = [
  { pattern = "bitspeed.org/*", zone_name = "bitspeed.org" }
]

src/index.js

const HTML = `
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>BitSpeed — Internet Speed Test</title>
  <style>
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #0a0a0f;
      color: #e0e0e0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      padding: 2rem;
    }
    h1 { font-size: 1.6rem; font-weight: 300; letter-spacing: .2em; color: #fff; margin-bottom: 2.5rem; }
    h1 span { color: #00c8ff; font-weight: 700; }
    .gauge-wrap { position: relative; width: 280px; height: 160px; margin-bottom: 1.5rem; }
    .gauge-wrap svg { width: 100%; height: 100%; }
    .track { fill: none; stroke: #1e1e2e; stroke-width: 18; stroke-linecap: round; }
    .arc  { fill: none; stroke: #00c8ff; stroke-width: 18; stroke-linecap: round;
            transition: stroke-dashoffset .15s ease; }
    .speed-num {
      position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
      font-size: 3rem; font-weight: 700; color: #fff; line-height: 1;
    }
    .speed-unit { font-size: .85rem; color: #888; text-align: center; margin-bottom: 2rem; letter-spacing: .1em; }
    .status { font-size: .95rem; color: #aaa; margin-bottom: 2.5rem; min-height: 1.4em; }
    .cards { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; justify-content: center; }
    .card {
      background: #13131f;
      border: 1px solid #1e1e2e;
      border-radius: 12px;
      padding: 1.2rem 2rem;
      text-align: center;
      min-width: 110px;
    }
    .card-label { font-size: .7rem; letter-spacing: .12em; color: #666; text-transform: uppercase; margin-bottom: .4rem; }
    .card-val { font-size: 1.6rem; font-weight: 700; color: #fff; }
    .card-unit { font-size: .7rem; color: #555; }
    button {
      background: #00c8ff;
      color: #000;
      border: none;
      border-radius: 50px;
      padding: .85rem 3rem;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: .05em;
      transition: opacity .2s;
    }
    button:disabled { opacity: .4; cursor: not-allowed; }
    .meta { margin-top: 2rem; font-size: .75rem; color: #444; text-align: center; line-height: 1.8; }
  </style>
</head>
<body>
  <h1><span>BIT</span>SPEED</h1>

  <div class="gauge-wrap">
    <svg viewBox="0 0 280 160" xmlns="http://www.w3.org/2000/svg">
      <path class="track" d="M 30 150 A 110 110 0 0 1 250 150"/>
      <path class="arc"  id="arc" d="M 30 150 A 110 110 0 0 1 250 150"
            stroke-dasharray="345" stroke-dashoffset="345"/>
    </svg>
    <div class="speed-num" id="num">—</div>
  </div>
  <div class="speed-unit" id="unit"></div>
  <div class="status" id="status">Press Go to begin</div>

  <div class="cards">
    <div class="card">
      <div class="card-label">Ping</div>
      <div class="card-val" id="r-ping">—</div>
      <div class="card-unit">ms</div>
    </div>
    <div class="card">
      <div class="card-label">Download</div>
      <div class="card-val" id="r-dl">—</div>
      <div class="card-unit">Mbps</div>
    </div>
    <div class="card">
      <div class="card-label">Upload</div>
      <div class="card-val" id="r-ul">—</div>
      <div class="card-unit">Mbps</div>
    </div>
  </div>

  <button id="btn" onclick="runTest()">Go</button>

  <div class="meta" id="meta"></div>

  <script>
    const arc    = document.getElementById('arc');
    const numEl  = document.getElementById('num');
    const unitEl = document.getElementById('unit');
    const status = document.getElementById('status');
    const btn    = document.getElementById('btn');
    const ARC_LEN = 345;

    function setGauge(mbps, max) {
      const pct = Math.min(mbps / max, 1);
      arc.style.strokeDashoffset = ARC_LEN - ARC_LEN * pct;
      numEl.textContent = mbps >= 1 ? mbps.toFixed(1) : mbps.toFixed(0);
    }
    function resetGauge() {
      arc.style.strokeDashoffset = ARC_LEN;
      numEl.textContent = '—';
      unitEl.textContent = '';
    }

    async function measurePing() {
      status.textContent = 'Measuring ping…';
      const times = [];
      for (let i = 0; i < 10; i++) {
        const t0 = performance.now();
        await fetch('/ping', { cache: 'no-store' });
        times.push(performance.now() - t0);
      }
      times.shift(); // discard first (connection warmup)
      const avg = times.reduce((a,b) => a+b, 0) / times.length;
      const jitter = Math.sqrt(times.map(t => (t - avg)**2).reduce((a,b) => a+b, 0) / times.length);
      document.getElementById('r-ping').textContent = avg.toFixed(0);
      return { ping: avg, jitter };
    }

    async function measureDownload() {
      status.textContent = 'Testing download…';
      unitEl.textContent = 'Mbps download';
      const MB = 25;
      const t0 = performance.now();
      let loaded = 0;
      const res = await fetch('/download?mb=' + MB, { cache: 'no-store' });
      const reader = res.body.getReader();
      let last = t0;
      while (true) {
        const { done, value } = await reader.read();
        if (done) break;
        loaded += value.byteLength;
        const now = performance.now();
        if (now - last > 200) {
          const mbps = (loaded * 8) / ((now - t0) / 1000) / 1e6;
          setGauge(mbps, 500);
          status.textContent = 'Download: ' + mbps.toFixed(1) + ' Mbps';
          last = now;
        }
      }
      const elapsed = (performance.now() - t0) / 1000;
      const mbps = (loaded * 8) / elapsed / 1e6;
      setGauge(mbps, 500);
      document.getElementById('r-dl').textContent = mbps.toFixed(1);
      return mbps;
    }

    async function measureUpload(dlMbps) {
      status.textContent = 'Testing upload…';
      unitEl.textContent = 'Mbps upload';
      const MB = dlMbps > 100 ? 25 : 5;
      const buf = new ArrayBuffer(MB * 1024 * 1024);
      crypto.getRandomValues(new Uint8Array(buf));
      const t0 = performance.now();
      await fetch('/upload', { method: 'POST', body: buf, cache: 'no-store' });
      const elapsed = (performance.now() - t0) / 1000;
      const mbps = (MB * 8) / elapsed;
      setGauge(mbps, 500);
      document.getElementById('r-ul').textContent = mbps.toFixed(1);
      return mbps;
    }

    async function runTest() {
      btn.disabled = true;
      resetGauge();
      ['r-ping','r-dl','r-ul'].forEach(id => document.getElementById(id).textContent = '—');
      document.getElementById('meta').textContent = '';
      try {
        const { ping } = await measurePing();
        const dlMbps = await measureDownload();
        await measureUpload(dlMbps);
        status.textContent = 'Done.';
        unitEl.textContent = '';
        numEl.textContent = '✓';
      } catch(e) {
        status.textContent = 'Error: ' + e.message;
      }
      btn.disabled = false;
    }

    // Fetch server location from CF-Ray on load
    fetch('/ping').then(r => {
      const ray = r.headers.get('cf-ray') || '';
      const pop = ray.split('-')[1] || '—';
      document.getElementById('meta').textContent = 'Server: ' + pop;
    });
  </script>
</body>
</html>
`;

// Generate random bytes for download test
function makeStream(bytes) {
  const CHUNK = 64 * 1024; // 64 KB chunks
  return new ReadableStream({
    start(controller) {
      let sent = 0;
      function push() {
        while (sent < bytes) {
          const size = Math.min(CHUNK, bytes - sent);
          controller.enqueue(new Uint8Array(size));
          sent += size;
          if (sent < bytes) { setTimeout(push, 0); return; }
        }
        controller.close();
      }
      push();
    }
  });
}

export default {
  async fetch(request) {
    const url = new URL(request.url);

    // Serve app
    if (url.pathname === '/') {
      return new Response(HTML, {
        headers: { 'Content-Type': 'text/html;charset=UTF-8' }
      });
    }

    // Ping endpoint
    if (url.pathname === '/ping') {
      return new Response('', {
        headers: {
          'Content-Type': 'text/plain',
          'Cache-Control': 'no-store',
          'Access-Control-Allow-Origin': '*'
        }
      });
    }

    // Download endpoint
    if (url.pathname === '/download') {
      const mb = Math.min(parseInt(url.searchParams.get('mb') || '25', 10), 100);
      const bytes = mb * 1024 * 1024;
      return new Response(makeStream(bytes), {
        headers: {
          'Content-Type': 'application/octet-stream',
          'Content-Length': String(bytes),
          'Cache-Control': 'no-store',
          'Access-Control-Allow-Origin': '*'
        }
      });
    }

    // Upload endpoint
    if (url.pathname === '/upload' && request.method === 'POST') {
      const buf = await request.arrayBuffer();
      return new Response(JSON.stringify({ received: buf.byteLength }), {
        headers: {
          'Content-Type': 'application/json',
          'Cache-Control': 'no-store',
          'Access-Control-Allow-Origin': '*'
        }
      });
    }

    return new Response('Not found', { status: 404 });
  }
};

Deploy

npm create cloudflare@latest bitspeed-worker
cd bitspeed-worker
# replace src/index.js with the code above
wrangler deploy

Point bitspeed.org nameservers to Cloudflare, add the Worker route in the dashboard, and the speed test is live. Total hosting cost: zero on the free tier.

Filed Under: News

Footer

Recent Posts

  • Google AI Overviews Now Suppress 58% of Clicks to Top-Ranking Pages
  • RealEstateMarket.us: The Exact-Match Address for America’s Largest Asset Class
  • Web Analytics Snapshot, May 3–May 9
  • Pemba.org Is Available for Acquisition
  • Posterial.com: A Domain Built for the Next CMS Platform
  • BitSpeed.org: How to Build a Cloudflare Workers Speed Test — and Why the Domain Is the Real Asset
  • Domain Names as an Engine of Personal Expression
  • Solar.net Sells for $11,767 at GoDaddy
  • Web Analytics Weekly Summary, April 26 – May 2, 2026
  • The Polling Domain Cluster: A SaaS-Ready Bundle for Research Tech and Political Technology Buyers

Media Partners

  • JVQ.net: Just Very Quick
  • k4i.com
  • Referently.com
Quantum Stocks Are Starting to Look Like the Next Meme Stock Bubble
Quantum Computing’s $931 Million Insider Sell-Off Is the Bubble Warning Wall Street Can’t Ignore
AI’s Next Market Shockwave Is Coming: AMD, Broadcom, and NVIDIA Earnings Are Around the Corner
EDC Las Vegas 2026: What Attendees Need to Know Before the Weekend
Danielle Deadwyler and the Problem of Being the Best Thing in Every Room
The Crawford-Mayweather Debate Is a Question Boxing Cannot Answer
Did Sean Strickland Win?
Fatal Influence Hit SmackDown and the Women's Division Finally Has a Story
Trump Called Norah O'Donnell a Disgrace on Live TV. He Was Not Wrong.
The Supreme Court Doesn't Know What to Do With Geofence Warrants. Neither Does Anyone Else.
Qualcomm and the AI Infrastructure Boom: A 62% Rally Ahead of the Revenue
Berkshire's $10 Billion Alphabet Buy Is a Signal, Not a Trade: The AI Build-Out Is Just Getting Started
Marvell Q1 FY2027: The $15 Billion Number Behind the Beat
Cloudflare's Path to a Trillion: The Edge Inference Bet
Adobe's Structural Problem Is Not Competition. It Is Displacement.
What the Market Inferred from Micron's Numbers, and Why It Got There Wrong
Quantum Stocks Are in the Wrong Place as Inflation Keeps Grinding Higher
Cuba, The Last Caribbean Dictatorship
Nikkei 225 Has Gained Nearly 7% in Four Sessions. Here Is Why.
How Japan Lost Semiconductor Leadership to Taiwan
Mesh WiFi vs Access Points: Which Architecture Is Right for Your Home
802.11r, 802.11k, 802.11v: The Three Protocols That Make WiFi Roaming Seamless
60 GHz WiGig Is Not Dead: Here Is Where It Actually Makes Sense
Why Your WiFi Router Should Never Be on the Floor
What People Actually Build With a Raspberry Pi: Case Studies From the Field
MOPP Levels
Perihelion and Aphelion
Going Concern Opinion
Holograph Manuscript
Finding Aid

Media Partners

  • Media Presser
  • Yellow Fiction
  • 3V.org
MarketAnalysis.com Publishes Comprehensive Quantum Computing Equity Memo Covering IONQ, QBTS, RGTI, QUBT, XNDU, INFQ
What Is an Analyst Call
Foreign Debt Holdings Are a Trade Deficit Problem, Not Just a Fiscal One
Why Belgium Holds More U.S. Debt Than Saudi Arabia, and What That Actually Means
Private Investors Now Dominate Foreign Holdings of U.S. Treasury Debt
The United States Paid $282 Billion in Interest to Foreign Debt Holders in 2025
NAB 2026: Las Vegas and the End of the Broadcast Era
Japan Holds $1.185 Trillion in U.S. Debt and the Number Tells an Incomplete Story
Foreign Holdings of U.S. Federal Debt Reached $9.2 Trillion in 2025
China Has Shed $357 Billion in U.S. Treasuries Since 2021
Downton Abbey: The Grand Finale and the Ethics of the Graceful Exit
Netflix Cancels Bandi After One Season Despite 40 Million Hours Viewed
Marshals (CBS, 2026): Brain Cells Died Watching This
Lord of the Flies on Netflix Is the TV Adaptation That Probably Should Have Been Made Decades Ago
Kin by Tayari Jones: The Year's Best Novel So Far, According to the NYT
Kathryn Stockett Returns After Fifteen Years. The Wait Was Apparently Worth It.
John of John: Douglas Stuart Leaves Glasgow Behind, but Not His Themes
Jack Ryan Is Back. This Time It's a Movie, Not a Season.
Homebound: A Debut That Spans Six Centuries and One Computer Game
Freida McFadden's New Thriller Arrives on BookTok Schedule
Barilla Opens Good Food Makers 2026 Applications Through July 10
The Future Is Here, Just Not Equally Distributed
Westin Grand Central, Three Days in May: The 21st Needham Technology, Media & Consumer Conference
SpaceX Launch Cadence and the New Normal in American Rocketry
Self-Checkout Is Failing and Retailers Are Starting to Admit It
Sam Altman, xAI, and the AI Industry's Accountability Deficit
Pete Hegseth and the Pentagon's Leadership Vacuum
Kentucky Derby 2026: What the Result Tells You
Why Spirit Airlines Shut Down
Harley-Davidson's 2024–2026 Recall and What It Signals

Copyright © 2022 Exclusive.org

Technologies, Market Analysis & Market Research