jQuery Terminal Emulator is a JavaScript library for creating web-based terminal interfaces with custom command interpreters.
The library solves the problem of adding command-line interfaces to web applications without requiring access to real system terminals. It works by letting developers define custom command handlers either through direct functions or by connecting to JSON-RPC services. Users can type commands into an interactive terminal, and the library routes those inputs to the appropriate handlers. The tool supports authentication, command history stored in local storage, tab completion, and bash-like keyboard shortcuts including reverse history search.
The tool suits projects that need to expose advanced functionality to power users or provide debugging interfaces within web applications. It is explicitly positioned as a fake terminal emulator—you implement all commands yourself—rather than a real terminal connector. For projects requiring actual remote shell access, the README recommends xterm.js instead. jQuery Terminal works well for creating multiple independent terminals on a single page, each with different commands and authentication. The library includes features like command trees for nested interpreters, ANSI escape code support, ASCII form collection, and animation effects including typing animations.
Development activity shows consistent maintenance with regular updates addressing user needs. The project maintains comprehensive documentation and provides an active demo environment. The codebase demonstrates attention to accessibility and internationalization, with explicit support for Chinese and Japanese characters. Mobile support remains experimental with tracked issues, indicating the maintainers acknowledge this as an area needing work rather than a finished feature.