From bbafecdc845b39a2ac67e2290fa1edec2d237f57 Mon Sep 17 00:00:00 2001 From: scratch-guy Date: Thu, 27 Nov 2025 02:16:51 -0500 Subject: [PATCH 01/16] Revamp index.html for a new shell interface --- index.html | 141 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 91 insertions(+), 50 deletions(-) diff --git a/index.html b/index.html index 5ad8b77..b3b8283 100644 --- a/index.html +++ b/index.html @@ -1,57 +1,98 @@ - - JSLinux Emulator - + + +Fake Shell + -
- - - - + +
+ +
+ + +
+ + + From de636bee4b949f78e61ae301731c6d83804fa4a7 Mon Sep 17 00:00:00 2001 From: scratch-guy Date: Thu, 27 Nov 2025 02:21:28 -0500 Subject: [PATCH 02/16] Delete index.js yayayayayay --- index.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index 863c167..0000000 --- a/index.js +++ /dev/null @@ -1,26 +0,0 @@ -init(); -main(); -function main() { - while (true) { - execute(prompt(user + '@' + hostname + ':' + cwd + '$ ')); - } -} -function init() { - cwd = '~'; - hostname = "host"; - user = "user"; -} -function execute(cmd) { - if(cmd==="cd .." && cwd==='~')cwd='/'; - else if(cmd==="cd")cwd='~'; - else if(cmd==="ls"&&cwd==='~')console.log("file.txt"); - else if(cmd==="ls"&&cwd==='/')console.log("bin etc lib linuxrc mnt proc run sys usr\ndev home lib64 media opt root sbin tmp var"); - else if(cmd==="cd /")cwd='/'; - else if(cmd==="ls /")console.log("bin etc lib linuxrc mnt proc run sys usr\ndev home lib64 media opt root sbin tmp var"); - else if(cmd==="exit"){process.exit(1);} - /* - This is where you add your own fake commands - */ - else{console.log(`sh: ${cmd.split(" ")[0]}: command not found`);} -} -//i need to change the git repository in any way cause i need github pages to work lmao thats why im adding this From 4f6ed2962c6e270363df9dc950dd7119fa7c0352 Mon Sep 17 00:00:00 2001 From: scratch-guy Date: Thu, 27 Nov 2025 02:23:56 -0500 Subject: [PATCH 03/16] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..c39b7d8 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +hzhxhfbjfdioh.com \ No newline at end of file From 1bf9bc32da4469de15d086fdd9a969f291ac96dc Mon Sep 17 00:00:00 2001 From: scratch-guy Date: Thu, 27 Nov 2025 02:23:56 -0500 Subject: [PATCH 04/16] Delete CNAME --- CNAME | 1 - 1 file changed, 1 deletion(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index c39b7d8..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -hzhxhfbjfdioh.com \ No newline at end of file From 618ee2b562ee387e4d83367134932db3dc02c4df Mon Sep 17 00:00:00 2001 From: scratch-guy Date: Thu, 27 Nov 2025 02:27:03 -0500 Subject: [PATCH 05/16] Change page title to 'user@host:~$' --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b3b8283..a441960 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ -Fake Shell +user@host:~$ @@ -40,58 +50,76 @@
-
- - -
- From 77f7767f0d4615885ccf6b20db060695cd69c12a Mon Sep 17 00:00:00 2001 From: scratch-guy Date: Thu, 27 Nov 2025 02:37:03 -0500 Subject: [PATCH 07/16] i like it. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 9dc4d83..82e1731 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ -Fake Shell +user@host:~$