mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 02:36:02 +10:00
- Implemented 'about' command to provide information about the terminal. - Created 'banner' command to display a welcome message based on terminal width. - Added 'bluesky' command to fetch and display recent posts from Bluesky. - Introduced 'clear' command to clear the terminal screen. - Developed 'color' command to change the terminal's color scheme. - Added 'contact' command to display contact information. - Implemented 'date' command to show the current date and time. - Created 'echo' command to echo back user messages. - Added 'github' command to simulate opening the GitHub repository. - Implemented 'help' command to list available commands. - Developed 'history' command to show command history. - Added 'privacy' command to display the privacy policy. - Implemented 'whoami' command to show user information.
26 lines
1.2 KiB
JavaScript
26 lines
1.2 KiB
JavaScript
/**
|
|
* About command - Information about this terminal
|
|
*/
|
|
export default {
|
|
description: 'About this terminal',
|
|
execute: (term, writeClickable, VERSION) => {
|
|
return [
|
|
'',
|
|
'╔════════════════════════════════════════════════════════════╗',
|
|
'║ LIT.RUV.WTF TERMINAL ║',
|
|
'╚════════════════════════════════════════════════════════════╝',
|
|
'',
|
|
' A classic terminal interface built with xterm.js',
|
|
' Features: Keyboard navigation, Mouse support, CRT effects',
|
|
' Version: ' + VERSION,
|
|
' Built: ' + new Date().getFullYear(),
|
|
'',
|
|
' Technologies:',
|
|
' • xterm.js - Terminal emulator',
|
|
' • JavaScript - Terminal logic',
|
|
' • CSS3 - Classic CRT styling',
|
|
''
|
|
].join('\r\n');
|
|
}
|
|
};
|