froogdocs
Dashboard

DocsSandboxes

Desktop

Every sandbox has a Linux desktop (XFCE, 1920x1080, with Chrome) you can watch and use in your browser. Click Desktop in the dashboard, or:

$ froog desktop my-box                 # opens it in your browser
$ froog desktop my-box --theme light   # dark (default) or light
$ froog desktop my-box --print         # just print the link
$ froog desktop my-box --tunnel        # over an SSH tunnel to localhost

The viewer's ☰ menu has fullscreen, connection, keys (Ctrl+Alt+Del), clipboard and view-only. The desktop starts on first open and runs until the sandbox stops.

Stream. The desktop streams as H.264 at up to 60 fps (Selkies), falling back to VNC if it doesn't load. Omarchy uses VNC. The first open takes about 20 s longer. Force VNC with ☰ → Connection → Compatible (VNC) or transport=vnc in the link. Encoding uses the sandbox's CPU only while someone watches: about 0.2 vCPU on a still screen, about 1 vCPU for full-screen motion.

120 fps. froog desktop NAME --fps 120 (kept), froog new NAME --desktop-fps 120, or "desktop_fps": 120 on create or PATCH /v1/sandboxes/{name}; 60 resets it. Needs 4+ vCPUs. Costs $0.05 an hour while watched, by the minute from the wallet. Without an hour's credit under your spend cap it opens at 60 (fps_note says why). Listed in froog usage as desktop_120fps.

Sound. Desktop audio plays through the stream (Opus). It starts after your first click. Turn it off under ☰ → Sound or with sound=0 in the link. VNC, the browser view and Omarchy have no sound.

Links. A link holds a secret token after the #. Open it within 10 minutes; open sessions keep working. Treat links as secrets. A desktop link can't open the browser view, or vice versa.

Embed it. Call POST /v1/sandboxes/{name}/desktop from your server on each page load (returns {url, expires_at}), add overlay=0 before the # to hide controls (viewonly=1 for no input):

<iframe src="DESKTOP_URL" allow="autoplay; fullscreen; clipboard-read; clipboard-write" style="width:100%;aspect-ratio:16/9;border:0"></iframe>

Wallpaper. Put a PNG at ~/.config/froog/wallpaper.png (up to 16 MiB, 8192 px a side): froog scp ./wallpaper.png my-box:.config/froog/wallpaper.png.

Browser only. Shows just Chrome on its own screen, no desktop, no clipboard.

$ froog browser my-box                               # profile ~/.config/froog-browser
$ froog browser my-box --profile /data/chrome-work   # another signed-in profile

The profile lives on the disk, so it survives snapshots and forks. API: POST /v1/sandboxes/{name}/browser with optional {"profile": …}. Code in the sandbox can read the profile.

Record it to MP4 (H.264, 30 fps, with sound) from inside the sandbox:

$ froog exec my-box -- froog-record-desktop start /home/user/demo.mp4
$ froog exec my-box -- froog-record-desktop stop      # finish the file before downloading
$ froog scp my-box:demo.mp4 .