Svelte Bash: Lightweight Terminal Emulator for Svelte 5 Applications

Svelte Bash: a TypeScript terminal emulator component for Svelte 5 that weighs 4kb gzipped.

Key features:

  • Virtual file system with ls, cd, cat, and pwd commands
  • Custom command registration with async support
  • Autoplay mode for demos and tutorials
  • Four preset themes plus custom color schemes
  • Zero dependencies using pure vanilla CSS

Works well for portfolios, documentation sites, and web-based CLI tools where you need terminal interaction without the overhead.

👉 Blog Post

👉 GitHub Repo

👉 Live Demo

Leave a Reply