~/talk

Building an in-browser editor

Talkat Future Frontend 2024 · 2024-06-13..06-14· [nodejs, web-platform]
slides:none on file

Builds a working in‑browser code editor using the Deno stack: React + Vite for the UI, Oak for server APIs, and Deno Deploy + Deno Sub Hosting for per‑user sandboxes. Each edit creates per-edit deployments with its own URL shown in an iframe, deployments run in separate V8 isolates with virtualized filesystems, and cold starts measure in milliseconds. Demo shows code execution, package installs via jsr, and APIs to create, update and poll deployments.

AI-written summary · about

  1. 0:00In-browser code editors intro
  2. 2:06Security risks of third-party code
  3. 3:30Server-side sandboxing challenges
  4. 5:18What is Dino and its advantages
  5. 7:23Introducing Dino Sub Hosting
  6. 8:06Setting up Dino project
  7. 9:52Configuring React and Vite
  8. 11:21Building editor UI
  9. 13:07Creating React API client
  10. 14:09Hosting with Dino Deploy
  11. 16:56Implementing sample code API
  12. 17:17Deploying via Sub Hosting
  13. 19:45How Sub Hosting works
  14. 22:58Deploying to production
  15. 23:45Live editor demo
  16. 27:43Closing and open-source
~/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.