mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 10:46:03 +10:00
Add terminal commands for enhanced functionality
- 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.
This commit is contained in:
36
website/scripts/commands/privacy.js
Normal file
36
website/scripts/commands/privacy.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* Privacy command - Privacy policy
|
||||
*/
|
||||
export default {
|
||||
description: 'Privacy policy',
|
||||
execute: () => {
|
||||
return [
|
||||
'',
|
||||
'╔════════════════════════════════════════════════════════════╗',
|
||||
'║ PRIVACY POLICY ║',
|
||||
'╚════════════════════════════════════════════════════════════╝',
|
||||
'',
|
||||
' Data Collection:',
|
||||
' ────────────────',
|
||||
' • This terminal uses localStorage to save your chat session',
|
||||
' • Chat messages are stored on our Matrix homeserver',
|
||||
' • No cookies or tracking scripts are used',
|
||||
' • No analytics or third-party tracking',
|
||||
'',
|
||||
' Matrix Chat:',
|
||||
' ────────────',
|
||||
' • Chat credentials stored locally in your browser',
|
||||
' • Messages sent through Matrix protocol (b.ruv.wtf)',
|
||||
' • Use "chat disconnect" to clear stored credentials',
|
||||
'',
|
||||
' Your Rights:',
|
||||
' ────────────',
|
||||
' • Clear localStorage anytime via browser settings',
|
||||
' • Request data deletion: contact@lit.ruv.wtf',
|
||||
' • All code is open source and auditable',
|
||||
'',
|
||||
' Updates: Privacy policy last updated March 2026',
|
||||
''
|
||||
].join('\r\n');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user