Shadowell
  1. Shadowell
  2. Notes
  3. Why this website has zero dependencies

EngineeringCore systems · April 2026 · 7 min read

Why this website has zero dependencies

  • Engineering
  • Tooling
  • Inside the stack

Open the network tab. One document, no fonts, no CDN, no analytics, nothing from anyone else. That is not minimalism as an aesthetic. It is the same argument we make about the trading path.

The default way to build a site like this is a framework, a component library, a font service, an analytics tag, a consent tool to apologise for the analytics tag, and somewhere north of forty third-party requests. Each one is a decision somebody else gets to make about your page, at runtime, for ever.

Owning the critical path

In the trading system we do not put code we did not write between a market data packet and a decision. Not because other people's code is bad, but because we cannot reason about latency, failure modes or determinism through a dependency we do not control. The reasoning transfers exactly:

  • Supply chain. A script tag pointing at someone else's domain is a standing grant of arbitrary code execution on our page. The recruiting site of a trading firm is a plausible target. We removed the attack surface rather than monitoring it.
  • Latency. Every third-party origin is a DNS lookup, a TCP handshake, a TLS negotiation and a queue you do not control, on a connection you cannot warm.
  • Determinism. The page renders the same way on every visit because nothing about it can change without us shipping a change.
  • Honesty. The cookie policy says there are no third-party requests. That sentence is only true if it is structurally true.
A dependency is a promise made by someone with no obligation to keep it.Core systems

What we gave up, and what it cost

Genuinely: some things are harder. There is no component library, so the accordion, the command palette, the reader, the charts, the globe and even the QR codes on printed pages are all hand-written. That is about 3,700 lines of JavaScript, once, and it will not need a migration.

There is no font service, so the type stack resolves to whatever the operating system provides. On Apple platforms that is SF Pro, on Windows Segoe UI Variable, on Android Roboto. The tradeoff is that the page looks very slightly different on each platform. In exchange, text renders on the first paint with no flash, no layout shift and no request.

What is still a build step

Zero runtime dependencies is not the same as zero tooling. Before each deploy we do five things, all of which produce plain static output:

  1. Syntax highlighting. The code on this page is highlighted into spans ahead of time, so the browser ships no highlighter. The one you are reading cost you nothing.
  2. Pages of their own. Every note, role and policy is also written out at its own address, from this same file, so a search engine can index it and a shared link previews as itself. On the home page a click still opens the reader; the text is identical either way.
  3. The share images. og.png, and one card per page, are drawn in the same style as the hero, so the preview matches the page.
  4. A version bump in the service worker's cache name, so a deploy is never hidden behind a stale copy.
  5. A link check and a structured-data validation pass.

The measurements

Published, with the methodology, in the colophon. Briefly: every page is one HTML document, with no blocking subresources, nothing from any other origin, and a performance budget we are willing to have argued with.

The uncomfortable part

This approach has a real cost, and it is not technical. It is that a new person cannot arrive knowing the stack, because the stack is ours. So the code is written to be read: sectioned, commented at the level of intent rather than mechanism, and defensive about failure. Every interactive feature is wrapped so that if it throws, the rest of the page survives and the content is still there. There is a watchdog that forces every hidden element visible if the main script never finishes booting.

javascript// Any single feature failing must never take the page with it.
const safe = (label, fn) => {
  try { fn(); }
  catch (e) { if (window.console) console.warn('[shadowell] ' + label, e); }
};

safe('globe',      initGlobe);
safe('order book', initLimitOrderBook);
safe('lab',        initStrategyLab);

// …and the belt to go with the braces: if boot never finishes, show everything.
addEventListener('error', () => {
  if (!root.classList.contains('js-ready')) root.classList.add('js-broken');
}, true);

If you find that reasoning persuasive, you will probably enjoy working here. The open roles are here.


Written in a text editor. One source file, published as plain static pages. Verified in the network tab.