diff --git a/commands/commands.js b/commands/commands.js index c706191..d7b51d1 100644 --- a/commands/commands.js +++ b/commands/commands.js @@ -127,7 +127,21 @@ function help(req, res) { function info(req, res){ - + respondToCommand( + req, res, + `
+ ascii image +
+

OS: HerpDerpOS

+

USER: ${req.session.state.username}

+

CPU: 12th Gen Intel i7-1260P (12) @ 2.496GHz

+

GPU: NVIDIA Geforce RTX 4060 TI

+

Memory: 812MiB/2048MiB

+
+
`, + req.session.state.directory, + "info" + ) } function respondToCommand(req, res, text, directory, command) { diff --git a/filesystem.json b/filesystem.json index 870ead5..10dc1c6 100644 --- a/filesystem.json +++ b/filesystem.json @@ -43,9 +43,14 @@ }, "/home/guest/projects/school/GLR_Jaar2/": { + "ChessGame": "dir", "ImmersiveTechWeek": "dir", "R2-D2": "dir" }, + "/home/guest/projects/school/GLR_Jaar2/ChessGame/": { + "about.txt": "This is a chess game i have made using HTML, CSS and JavaScript. It is fully functional, except a few features missing, like en passant, and castling. It is a 2 players on 1 screen experience.", + "links.txt": "GitHub: https://github.com/HerpieDerpieee/LJ2-INTERFACE-SchaakSpel/
Online Website: https://89618.stu.sd-lab.nl/LJ2/INTERFACE2/ES6/eindopdracht//" + }, "/home/guest/projects/school/GLR_Jaar2/ImmersiveTechWeek/": { "about.txt": "This is a special project, where we had the chance to show our skill on the VRDays Immersive Tech Week. We had a very special project made for this, with quite a big group consisting of XR students, but also IoT students
As IoT student myself, me and another student made a heart rate monitor, and made it show the current heart rate live on a website. This was made to be worn while playing a self-made horror experience the XR-students were making. In the end the heart rate monitor sometimes gave incorrrect values, that's the reason the leaderboard may be full of people with a peak bpm of 255 and 254.", "links.txt": "GitHub: https://github.com/HerpieDerpieee/LJ2-MINOR2-HartslagMeter/
Online Website: https://89618.stu.sd-lab.nl/LJ2/BEROEPS2/Hartslag/website/" @@ -93,6 +98,6 @@ "html": "dir" }, "/var/www/html/": { - "index.html": "


Welcome to Fedora Server


Hello, World!



" + "index.html": "


Welcome to HerpDerpOS


Hello, World!



" } } \ No newline at end of file diff --git a/httpdocs/index.html b/httpdocs/index.html index d942a5e..3b862c1 100644 --- a/httpdocs/index.html +++ b/httpdocs/index.html @@ -6,6 +6,7 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> Title + @@ -24,14 +25,6 @@ Welcome, and happy coding!

-
-

-

:

-

~/

-

$

- -
-
diff --git a/httpdocs/public/icon-ascii.png b/httpdocs/public/icon-ascii.png new file mode 100644 index 0000000..b68b052 Binary files /dev/null and b/httpdocs/public/icon-ascii.png differ diff --git a/httpdocs/public/icon.png b/httpdocs/public/icon.png new file mode 100644 index 0000000..d9b7b9d Binary files /dev/null and b/httpdocs/public/icon.png differ diff --git a/httpdocs/public/js/terminal.js b/httpdocs/public/js/terminal.js index 57ad792..4690a33 100644 --- a/httpdocs/public/js/terminal.js +++ b/httpdocs/public/js/terminal.js @@ -3,6 +3,7 @@ const hostname = `192.168.${Math.floor(Math.random() * 100)}.${Math.floor(Math.r document.addEventListener("DOMContentLoaded", function () { + createNewTerminalLine() document.querySelector(".pathText").innerHTML = `guest@${hostname}`; addInputEventListeners(); });