blob: 29dee3c2072c9e5463630ab97c41dddf97011d11 [file] [log] [blame]
Skyler Grey22205e62023-08-06 15:20:25 +00001<script>
2 const username = "sky";
3
4 export const command_responses = {
5 "nix run github:Minion3665/links": "> [!special] links_block",
6 "help|copyrights?|credits?|li[cs]en[cs]es?": (
7 "This site has its code licensed under the GNU Affero General Public License.\n" +
8 "You can find a full copy " +
9 "[in the LICENSE file](https://github.com/Minion3665/starrysky.fyi/blob/development/LICENSE)\n\n" +
10 "You can find the full code for the website " +
11 "[on GitHub](https://github.com/Minion3665/starrysky.fyi/tree/development/apps/a)\n\n" +
12 "Additional licenses, including those for distributed fonts and copypastas is included " +
13 "[in the licenses folder on GitHub](https://github.com/Minion3665/starrysky.fyi/tree/development/licenses)"
14 ),
15 "unalias whoami": "unalias: whoami: not found",
16 "sudo( .*)?": (
17 "We trust you have received the usual lecture from the local System\n" +
18 "Administrator. It usually boils down to these three things:\n\n" +
19 " #1) Respect the privacy of others.\n" +
20 " #2) Think before you type.\n" +
21 " #3) With great power comes great responsibility.\n\n" +
22 `${username} is not in the sudoers file. This incident will be reported.`
23 ),
24 "whoami": username,
25 "ls": "",
26 "cat( .*)?": "cat:$1: No such file or directory",
27 "echo( (.*))?": "$2",
28 };
29</script>