~/talk

Building an in-browser code editor (that can run your code too!)

Talkat CityJS London 2025 · 2025-04-23..04-25· [react, security, web-platform]
slides:none on file

Builds a React + TypeScript editor that actually executes user code by sending the typed source to Dino subhosting serverless functions and returning a unique URL shown in an iframe output. Uses the Dino runtime and Dino Deploy, Prisma—sorry PrismJS—for syntax highlighting, and a layered transparent textarea over a highlighted code block to simulate an editor. The server forks deployments via the subhosting API, each function gets its own URL, and the demo deploys and runs successfully.

AI-written summary · about

  1. 0:00Introduction and Dino overview
  2. 3:08Building the in-browser editor
  3. 9:29UI and code execution flow
  4. 14:07Server-side setup and deployment
  5. 17:15Syntax highlighting and styling
  6. 19:01Deploying the editor
  7. 20:50Demo and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.