StorySled
Free for every writer

A word meter, on the house

Set a goal, type in your count, and watch the sled slide toward the finish. Put it on your blog, your author site, your Notion page or your stream overlay. Free, no sign-up, no strings.

StorySled Word Meter

Take it with you

Two ways to use it

Your goal and count are remembered in the browser you use, so the sled is where you left it next time.

Embed it with an iframe

The easiest way. Paste this wherever your site or tool lets you add HTML or an embed, such as a WordPress Custom HTML block, Squarespace or Wix embed, or Notion's /embed. It always shows the latest version of the meter.

<iframe
  src="https://storysled.pages.dev/freebie"
  title="StorySled Word Meter"
  style="display:block; width:100%; max-width:720px; height:650px; border:0;"
></iframe>

Copy the whole meter

Download the file

One self-contained HTML file. Save it as a page on your own site, open it straight from your computer, or change the colours to match your brand.

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>StorySled Word Meter</title>
  <style>
    * { box-sizing: border-box; }
    body {
      margin: 2rem auto;
      padding: 0 1.25rem;
      max-width: 36rem;
      font: 1rem system-ui, sans-serif;
      background: #101823;
      color: #f0f5fb;
      color-scheme: dark;
    }
    label { display: block; margin: 1rem 0; }
    input { display: block; width: 100%; padding: .6rem; font: inherit; }
    .track {
      --progress: 0%;
      position: relative;
      height: 1rem;
      margin: 2rem 1.25rem;
      border-radius: 1rem;
      background: #344859;
    }
    .fill {
      width: var(--progress);
      height: 100%;
      border-radius: inherit;
      background: #a1f3d9;
      transition: width .25s ease;
    }
    .sled {
      position: absolute;
      top: 50%;
      left: var(--progress);
      width: 2.5rem;
      height: 2.5rem;
      transform: translate(-50%, -50%);
      border: 2px solid #a1f3d9;
      border-radius: 50%;
      transition: left .25s ease;
    }
    @media (prefers-reduced-motion: reduce) {
      .fill, .sled { transition: none; }
    }
  </style>
</head>
<body>
  <h1>StorySled Word Meter</h1>
  <label>Word goal
    <input id="goal" type="number" min="1" step="1" value="1000">
  </label>
  <label>Current word count
    <input id="count" type="number" min="0" step="1" value="0">
  </label>

  <div class="track" id="meter" role="progressbar"
       aria-label="Word goal progress" aria-valuemin="0" aria-valuemax="100">
    <div class="fill"></div>
    <img class="sled" alt=""
         src="https://storysled.pages.dev/freebie/storysled.png">
  </div>
  <p id="status" role="status"></p>

  <script>
    const goal = document.getElementById('goal');
    const count = document.getElementById('count');
    const meter = document.getElementById('meter');
    const status = document.getElementById('status');
    const storageKey = 'storysled-meter';
    const number = new Intl.NumberFormat();

    try {
      const saved = JSON.parse(localStorage.getItem(storageKey));
      if (saved) {
        goal.value = saved.goal;
        count.value = saved.count;
      }
    } catch {}

    function update() {
      const target = goal.valueAsNumber;
      const current = count.valueAsNumber;
      const valid = Number.isSafeInteger(target) && target > 0 &&
                    Number.isSafeInteger(current) && current >= 0;
      const progress = valid ? Math.min(current / target, 1) * 100 : 0;
      meter.style.setProperty('--progress', progress + '%');
      meter.setAttribute('aria-valuenow', Math.floor(progress));

      if (!valid) {
        status.textContent = 'Enter a goal of at least 1 and a count of 0 or more, using whole numbers.';
        return;
      }

      status.textContent = `${number.format(current)} / ${number.format(target)} words · ${Math.floor(progress)}%` +
        (current >= target ? ' · Goal reached!' : ` · ${number.format(target - current)} to go`);

      try {
        localStorage.setItem(storageKey, JSON.stringify({ goal: target, count: current }));
      } catch {}
    }

    goal.addEventListener('input', update);
    count.addEventListener('input', update);
    update();
  </script>
</body>
</html>

Using it in OBS or a stream

  1. Add a Browser source.
  2. Set the address to https://storysled.pages.dev/freebie, about 720 by 650.
  3. Right click the source, choose Interact, and update your count as you write.

Want the meter built into your writing?

StorySled counts your words as you write, with goals, deadlines, words a day and streaks, plus a timeline, a World for your characters and finished books.