I'll build a retro CRT terminal emulator with green phosphor text, scanline effects, command history, and typing sounds. Let me start by exploring the project structure.
Now let me build the retro terminal. I'll create the main App component, a terminal hook for command processing, an audio utility for typing sounds, and the CSS for CRT effects.
First, let me update the HTML title and create all the files:
Now let me create the CSS with CRT scanline effects and phosphor glow:
Now let me create the audio utility for typing sounds using Web Audio API:
Now let me create the command processor and file system simulation:
Now create the Matrix rain component:
Now create the main App component with the full terminal:
Now let's build the project to verify everything works:
The project builds successfully. Let me verify the final output looks right by checking the key files:
The retro CRT terminal is complete and building successfully. Here's what I built:
🖥️ RetroTerm v3.1 — CRT Terminal Emulator
Visual Effects
- CRT Scanlines — Repeating horizontal lines overlaid on the screen for authentic CRT look
- Phosphor Glow — Green text with multi-layered text-shadow for that warm phosphor glow
- Screen Curvature — Radial gradient vignette simulating CRT edge darkening
- RGB Sub-pixels — Subtle vertical stripe effect mimicking real CRT pixels
- Flicker Animation — Subtle opacity oscillation like a real CRT
- Power Line — A slowly scrolling horizontal line across the screen
- Boot Animation — CRT turn-on effect (horizontal line expanding to full screen)
- Monitor Bezel — Realistic dark monitor frame with knobs, power LED, and model number
Audio
- Typing Sounds — Each keypress generates a unique click via Web Audio API (no external files)
- Enter Sound — Distinct deeper tone when submitting commands
- Error Buzz — Sawtooth wave buzz for invalid commands
- Boot Beep — Four-tone ascending beep sequence on startup
Terminal Features
- 20+ Commands —
help, ls, cd, cat, pwd, whoami, date, uname, uptime, neofetch, fortune, cowsay, ping, echo, hack, sl, matrix, color, sound, clear, and more
- Command History — ↑/↓ arrows navigate through previous commands (stored up to 100)
- Tab Autocomplete — Tab key completes partial commands or shows options
- Virtual Filesystem — Navigate directories and read files with
ls, cd, cat
- Color Themes — Switch phosphor color:
color green, color amber, color white
- Matrix Rain — Toggle Matrix-style falling characters with
matrix command
- Hacking Sequence — Fun animated hack simulation with
hack
Files built: index.html, src/index.css, src/audio.ts, src/commands.ts, src/MatrixRain.tsx, src/App.tsx