The Robot Codes

tty0 · cipher playground

the robot codes.
dots, dashes, bits.

A phosphor terminal of sample ciphers and snippets. Morse on the wire. Binary on the bus. No editor runtime — the samples are already printed.

/dev/tty · encode --cipher morse

A pair of metal robot hands types on a yellowed vintage keyboard in front of a CRT monitor filled with columns of green cipher text in a dark workshop.
Robot hands at a vintage terminal encoding green cipher text.

session · static sample

root@therobot:~$ encode --cipher morse "THE ROBOT CODES"
- .... . / .-. --- -... --- - / -.-. --- -.. . ...
root@therobot:~$ encode --cipher binary "CODES"
01000011 01001111 01000100 01000101 01010011
root@therobot:~$ 

samples · css tabs · no runtime

Cipher playground

Four printed encodings of the same idea. Tabs are radio buttons — no client script. Pick a cipher; read the snippet.

morse.cw · word space = /

# sample — not an editor
TX   THE ROBOT CODES
CW   - .... . / .-. --- -... --- - / -.-. --- -.. . ...

TX   THE ROBOT LIVES
CW   - .... . / .-. --- -... --- - / .-.. .. ...- . ...

# prosign
AR   .-.-.     (end of message)
SK   ...-.-    (end of contact)

ascii 7-bit padded to 8

# sample — ASCII bytes, MSB first
C  67  01000011
O  79  01001111
D  68  01000100
E  69  01000101
S  83  01010011

wire:
01000011 01001111 01000100 01000101 01010011

rot13 · letters only

# sample — Caesar 13, A-Z wrap
plain   the robot lives
rot13   gur ebobg yvirf

plain   THE ROBOT CODES
rot13   GUR EBOBG PBQRF

# involution: rot13(rot13(x)) == x

hexdump -C

00000000  54 48 45 20 52 4f 42 4f  54 20 43 4f 44 45 53     |THE ROBOT CODES|
0000000f

# snippet (printed, not run)
def hex_row(s: str) -> str:
    b = s.encode("ascii")
    hx = " ".join(f"{c:02x}" for c in b)
    return f"{hx:<48} |{s}|"

reference · always on the page

Cheat sheet

International Morse for A–Z, and hex nibbles as four-bit patterns. Pin it next to the CRT.

Morse A–Z

  • A.-
  • B-...
  • C-.-.
  • D-..
  • E.
  • F..-.
  • G--.
  • H....
  • I..
  • J.---
  • K-.-
  • L.-..
  • M--
  • N-.
  • O---
  • P.--.
  • Q--.-
  • R.-.
  • S...
  • T-
  • U..-
  • V...-
  • W.--
  • X-..-
  • Y-.--
  • Z--..

Hex nibbles

  • 00000
  • 10001
  • 20010
  • 30011
  • 40100
  • 50101
  • 60110
  • 70111
  • 81000
  • 91001
  • A1010
  • B1011
  • C1100
  • D1101
  • E1110
  • F1111

the machine

Finger on the trace

Green dots and dashes on a CRT. A metal finger points at the pattern the way a brass key used to tap it. The robot does not improvise the alphabet — it recites it.

··· — ···    ... --- ...

A robotic finger points at a CRT screen displaying green Morse-like dash-and-dot traces.
A boxy CRT-headed robot with a pixelated green face of two @-shaped eyes and a blocky smile, topped with a glowing green antenna.

No runtime. Just the code.

No waitlist. No snippet eval. No package to install. The playground is the page: static samples, Morse in the chrome, binary on the rail. If you came to read the robot's codes, they are already on the glass.

The Robot Lives