Explore and configure a browser-based terminal emulator that mimics shell environments with ease. term-website offers versatile theme customization, filetree navigation, and delightful easter eggs, making it ideal for creating engaging terminal-style portfolios or standalone applications.
term-website is an innovative and configurable terminal emulator designed for web browsers. Built with vanilla TypeScript, HTML, and CSS, it leverages xterm.js to deliver an authentic shell environment experience, complete with a creative twist: its own mock backend. This project serves as a dynamic template for creating a terminal-style online portfolio or as a standalone interactive terminal emulator.
ls, cd, cat, and open.config.json and the /files/ directory.Ctrl + L to clear the terminal and Ctrl + C to cancel current commands, enhancing user interaction.Alter the files and structure visible in the terminal by modifying the contents of /src/server/file-system/files/.
Expand the terminal's capabilities by adding commands in /src/server/commands/. Ensure that each command adheres to the Command interface, implementing the execute method.
Modify default themes using config.json. Pre-configured themes include:
To introduce a new theme, implement the ITheme interface within src/client/terminal/themes.ts.
| Shortcut | Functionality |
|---|---|
Ctrl + L | Clear terminal |
Ctrl + C | Cancel current command |
Ctrl + W | Delete last word |
Ctrl + U | Delete current line |
ArrowUp/ArrowDown | View command history |
Future enhancements include:
To contribute:
feat/feature-name.git commit -am 'Add new feature'.This project draws inspiration from notable interactive terminal interfaces such as Dustin Brett's terminal portfolio and ProtiumX.
Explore the term-website to experience its features in action.
No comments yet.
Sign in to be the first to comment.