ethan rong

Interview rooms, off one PC

Feb 8, 2026
  • roleWeb organizer, Hack Western 13
  • timelineTwo days, idea to running interviews
  • stackDocker, code-server, Tailscale, Bash
  • hostingOne desktop, every room

Live technical interviews used to mean candidates coding on an interviewer’s laptop: unfamiliar editor, unfamiliar keyboard, and no way for the interviewer to take notes on the same machine. This gave every candidate a disposable workspace in their own browser instead.

A candidate's browser showing VS Code running inside an interview room.

Context

Every year the web team runs a live technical interview built around React and Tailwind. To avoid leaking the questions, candidates had always written code on an interviewer’s laptop, adjusting to someone else’s editor, settings and keyboard inside a thirty-minute window.

The goal was narrow on purpose: candidates code on their own laptop in a standard editor, they’re isolated from each other but can still run a dev server, and interviewers keep remote access to every room.

The shape of it

Everything runs on one desktop. A Tailscale Funnel puts that machine on the public internet without touching the home router, each room is mapped to its own path and local port, and an HTTP proxy sits between those paths and the Docker containers that hold the interviews. Interviewers get the root path and can see every room. Candidates get exactly one.

Architecture diagram: a client connects through a Tailscale Funnel to a PC, where interviewer and candidate paths pass through an HTTP proxy into separate Docker containers for room1 and room2.
Client to funnel to proxy to container. The proxy exists because of the path prefix, which is the part that broke first.

Rooms, not a container per candidate

A container per interview was too expensive in memory, so a fixed pool of rooms gets reused. Assigning a candidate clones a fresh copy of the evaluation, mounts it into a room and rotates that room’s password, which is also what stops anyone rejoining after their slot. Reassigning someone restores their previous code, which matters when a connection drops mid-interview.

Terminal output of the interview list command, showing room1 occupied with a URL, password, PID and running status, and room2 free.
interview list: who is in which room, and what’s still free.

One command creates the workspace, reclaims permissions, generates a password, starts the proxy for that port, installs dependencies inside the container and prints the link to send.

Terminal output of interview assign: creating a workspace, reclaiming permissions, generating a password, starting the proxy, installing dependencies, then printing the room URL and password.
One command from an empty room to a link you can paste into the chat.

What broke, and what’s next

Serving rooms under a path prefix broke the apps inside them twice over. The React router read the prefix as a route, and asset requests resolved against the wrong base, so the proxy strips the prefix on the way in and Vite’s base path is injected per container at runtime.

Self-hosting was the fun part and also the weak point: a home network drop or a reboot meant falling back to the old laptop method mid-schedule. A serverless container runtime would trade the fun for reliability. The core logic is also Bash, which stopped scaling with the complexity.

full write-up on medium · all writing

Scroll to Top