diff --git a/src/app/commands/help.tsx b/src/app/commands/help.tsx
index edc2cbb..22933ac 100644
--- a/src/app/commands/help.tsx
+++ b/src/app/commands/help.tsx
@@ -3,6 +3,7 @@ const helpCommand = () => [
📖 Help Menu:
- 🆘 help: Display this help menu.
+ - 📄 source: View the source code of this terminal.
- 📡 socials: View my social links.
- 🌐 selfhosted: View what I self host in my homelab.
- ❌ exit: Close the terminal (browser tab).
diff --git a/src/app/commands/source.tsx b/src/app/commands/source.tsx
new file mode 100644
index 0000000..43b9cca
--- /dev/null
+++ b/src/app/commands/source.tsx
@@ -0,0 +1,23 @@
+import dynamic from "next/dynamic";
+
+const FaGithub = dynamic(() => import("react-icons/fa6").then((mod) => mod.FaGithub), { ssr: false });
+
+const sourceCommand = () => [
+
+
📄 Terminal Source Code:
+
+
,
+];
+
+export default sourceCommand;
diff --git a/src/components/Terminal.tsx b/src/components/Terminal.tsx
index eeba42a..584af79 100644
--- a/src/components/Terminal.tsx
+++ b/src/components/Terminal.tsx
@@ -6,6 +6,7 @@ import socialsCommand from "../app/commands/socials";
import selfhostedCommand from "../app/commands/selfhosted";
import exitCommand from "../app/commands/exit";
import unknownCommand from "../app/commands/unknown";
+import sourceCommand from "../app/commands/source";
const Terminal: React.FC = () => {
const [input, setInput] = useState("");
@@ -20,7 +21,7 @@ const Terminal: React.FC = () => {
const terminalEndRef = useRef(null);
const inputRef = useRef(null);
- const commandsList = ["help", "socials", "exit", "selfhosted"];
+ const commandsList = ["help", "socials", "exit", "selfhosted", "source"];
const handleInput = (e: React.FormEvent) => {
e.preventDefault();
@@ -42,6 +43,7 @@ const Terminal: React.FC = () => {
socials: socialsCommand,
exit: () => exitCommand(setInputDisabled, setOutput), // Pass control functions
selfhosted: selfhostedCommand,
+ source: sourceCommand,
};
const commandOutput =