Web Terminal Shell InterfaceAn experimental text-only interface prototype exploring plain-text system navigation and command-line interactions over pure static HTML. This interface uses standard HTML form submission with server-side processing to simulate a terminal environment. No client-side JavaScript is required.
Type a command below and press Submit. The server processes the input and returns the result as a preformatted text block. Supported commands: help, status, ls, cat, date, uptime, whoami, clear.
Binary & Bus Systems Ltd. - Web Terminal v1.0 System: bbsys.net | Node: ws-01 | Uptime: 47d 12:33:08 Type 'help' for a list of available commands.
The following is a captured terminal session demonstrating all supported commands:
bbsys@ws-01:~$ help Binary & Bus Systems Ltd. - Web Terminal v1.0 Available commands: help Display this help message status Show system status and resource usage ls List files in current directory cat [file] Display contents of a file date Display current system date and time uptime Display system uptime whoami Display current user identity clear Clear the terminal output exit Disconnect from terminal session bbsys@ws-01:~$ status System: bbsys.net Node: ws-01 (London, UK) Kernel: HTML/3.2-compliant Uptime: 47 days, 12 hours, 33 minutes CPU Load: 0.02 (static file serving) Memory: 14.6 KB TCP budget enforced Disk: /dev/sda1 2.1GB used of 8.0GB Network: eth0 Up 100Mbps Processes: 0 active (no runtime execution) bbsys@ws-01:~$ ls drwxr-xr-x 2026-07-24 index.html drwxr-xr-x 2026-07-24 doc/ drwxr-xr-x 2026-07-24 repo/ drwxr-xr-x 2026-07-24 specs/ drwxr-xr-x 2026-07-24 labs/ drwxr-xr-x 2026-07-24 Assets/ -rw-r--r-- 2026-07-24 404.html bbsys@ws-01:~$ cat specs/benchmarks.html [File: 2,576 bytes] <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> ... <title>System Load Time & HTML 3.2 Standards</title> ... bbsys@ws-01:~$ date Sat Jul 25 14:22:07 UTC 2026 bbsys@ws-01:~$ uptime 14:22:07 up 47 days, 12:33, 1 user, load average: 0.02, 0.01, 0.00 bbsys@ws-01:~$ whoami sysop@bbsys.net (uid=1000) bbsys@ws-01:~$ exit Connection closed by remote host.
The terminal interface operates through standard HTML form submission. Each command is sent as an HTTP POST request to a CGI script or server-side endpoint that processes the input and returns a preformatted HTML response. No client-side JavaScript is used.
Server-side processing requirements:
cmd POST parameter, validates it against the allowed command list, and returns the output wrapped in <pre> tags.
#!/bin/sh
# terminal.cgi - Minimal CGI terminal handler
# Accepts: cmd POST parameter
# Returns: HTML page with preformatted output
echo "Content-Type: text/html; charset=utf-8"
echo ""
CMD="${QUERY_STRING#cmd=}"
CMD=$(echo "$CMD" | sed 's/[^a-zA-Z0-9 .\/_-]//g')
case "$CMD" in
help)
echo "<pre>"
echo "Binary & Bus Systems Ltd. - Web Terminal v1.0"
echo "Available commands: help, status, ls, cat, date, uptime, whoami, clear, exit"
echo "</pre>"
;;
status)
echo "<pre>"
echo "System: bbsys.net"
echo "Node: ws-01 (London, UK)"
echo "Uptime: $(uptime -p)"
echo "Load: $(cat /proc/loadavg | cut -d' ' -f1-3)"
echo "</pre>"
;;
ls)
echo "<pre>"
ls -la /var/www/html/ 2>&1
echo "</pre>"
;;
date)
echo "<pre>$(date)</pre>"
;;
uptime)
echo "<pre>$(uptime)</pre>"
;;
whoami)
echo "<pre>sysop@bbsys.net (uid=$(id -u))</pre>"
;;
*)
echo "<pre>Error: unknown command '$CMD'. Type 'help' for available commands.</pre>"
;;
esac
Navigation & Lab Index: