Browser Terminal (Dev Playground)
A shell-style terminal that runs entirely in your browser — type commands, get instant results, nothing is ever uploaded.
This playground pairs a real terminal UI (xterm.js) with a small command router written in plain JavaScript. Every command — hashing, base64, timestamps, UUIDs — executes locally in your browser sandbox. There is no SSH, no WebSocket and no server-side shell: the page loads instantly because there is no disk image to download.
Click the terminal to focus it, then type. Arrow keys recall command history.
Command reference
| help | Show the full command list. |
|---|---|
| date | Current local date and time. |
| echo <text> | Print text back to the terminal. |
| hash [algo] <text> | Digest of the text via Web Crypto: sha256 (default), sha384 or sha512. |
| base64 enc|dec <data> | Base64-encode or decode text (UTF-8 safe). |
| timestamp [unix] | Current unix time, or convert a given unix timestamp to local + UTC. |
| uuid | Generate a random UUID v4. |
| history | List the commands you have run this session. |
| whoami | Who is typing? |
| clear | Clear the screen. |
How it works
The terminal window is rendered by xterm.js, served from this site (no CDN). xterm.js is used purely as an I/O surface: it draws the screen and captures your keystrokes, while a small local JavaScript router parses each line you submit and runs the matching command. Hashing uses the browser's built-in Web Crypto API; base64, timestamps and UUIDs use standard browser APIs. Because nothing is sent anywhere, there is no server-side shell to secure, no WebSocket connection to manage, and no request to any backend after the page loads.
This is deliberately a different beast from the Linux in Browser pages: those boot a real (emulated) operating system with a multi-gigabyte disk image, while this playground ships no disk at all — just a few kilobytes of JavaScript — so it opens instantly and works offline once cached.
Suggested
Luke Keam | techgeek.biz