Open Source

Rawscript

Runs .ts files natively in the browser via a Service Worker and esbuild-wasm. No bundler, no build step.

Overview

Runs .ts files natively in the browser via a Service Worker and esbuild-wasm. No bundler, no build step.

Highlights

  • Engineered the transpile pipeline: a Service Worker intercepts ES-module requests and compiles TypeScript/TSX on-the-fly with esbuild-wasm, caching output by content fingerprint (source, importmap, tsconfig, compiler version) with body-hash integrity checks and self-healing recovery.
  • Shipped hot module replacement (HMR) via ETag polling and bare-specifier rewriting to esm.sh, plus a Node.js CLI (build, typecheck, serve, vendor) emitting minified, code-split bundles, verified by Playwright e2e on Chromium, Firefox, and WebKit in GitHub Actions CI.

Tech stack