~/talk

Building a Browser Based Code Editor

Talkat CPH DevFest 2024 · 2024-08-26..08-30· [javascript, web-platform]
slides:none on file

A working browser code editor that accepts TypeScript, packages it into a one-file project, and deploys each edit as a fresh serverless URL is shown using Deno Subhosting, Deno Deploy, React and Vite. The backend uses Oak and fetches the subhosting API to create deployments, each running in separate V8 isolates with a virtual filesystem and two VPCs for network isolation. The demo runs edits in an iframe and returns console/output; the pipeline successfully serves live demos.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 0:56Challenges and requirements
  3. 4:33Overview of Deno platform
  4. 8:59Setting up the project
  5. 13:07Configuring the development environment
  6. 14:41Designing the application UI
  7. 15:23Building the backend API
  8. 25:34Understanding Deno subhosting
  9. 27:14Deep dive into subhosting security
  10. 28:44Deployment and demonstration
  11. 32:52Closing and resources
~/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.