Files
terminal-portfolio-site/docs.html
2026-04-23 23:13:00 -05:00

106 lines
4.8 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Docs</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
</head>
<body class="docs">
<canvas id="field" aria-hidden="true"></canvas>
<main class="page">
<a href="/" class="back">$ cd ..</a>
<header class="head">
<h1>Documentation</h1>
<p class="sub">The who, what, when, where, why</p>
</header>
<div class="rule" aria-hidden="true"></div>
<div class="command-box" id="commandBox">
<span class="line"><span class="dollar">$ </span><span class="typed">ssh portfolio@keshavanand.net</span></span>
<button class="action-btn" id="copyBtn" aria-label="Copy command">
<svg id="copyIcon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path id="copyPath" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" />
</svg>
</button>
</div>
<section class="block">
<h2><span class="hash">#</span> What is it?</h2>
<p>
When executed in your terminal, this command renders a fully interactive shell portfolio experience.
Much like a digital resume or personal site, it allows you to explore my work and background through
a safe, <span class="fg">secure</span>, and purely text-based interface.
<span class="fg">It is completely harmless to your system.</span>
</p>
</section>
<section class="block">
<h2><span class="hash">#</span> Command Breakdown</h2>
<dl class="defs">
<div class="def">
<dt><span class="accent">ssh</span> <span class="arrow"></span></dt>
<dd><span class="fg">Secure Shell:</span> The standard terminal protocol for logging into and controlling remote computers safely.</dd>
</div>
<div class="def">
<dt><span class="accent">portfolio</span> <span class="arrow"></span></dt>
<dd><span class="fg">User:</span> A passwordless, restricted user on my homeserver meant for public access.</dd>
</div>
<div class="def">
<dt><span class="accent">keshavanand.net</span> <span class="arrow"></span></dt>
<dd><span class="fg">Domain:</span> Points to a web record that directs your request to my server's public IP (gateway).</dd>
</div>
</dl>
</section>
<section class="block">
<h2><span class="hash">#</span> How to Run</h2>
<ol class="steps">
<li><span class="step">01</span> Copy the command above using the clipboard tool.</li>
<li><span class="step">02</span> Open your native terminal (Terminal on Mac/Linux, PowerShell on Windows).</li>
<li><span class="step">03</span> Paste the command and accept the host identity by typing 'yes' if prompted.</li>
<li><span class="step">04</span> Press Enter to launch the interactive environment.</li>
<li><span class="step">05</span> Terminate the process at any time by pressing <kbd>Ctrl</kbd>+<kbd>C</kbd>.</li>
</ol>
</section>
<section class="block">
<h2><span class="hash">#</span> Code Logic</h2>
<p>
This command gives authenticated access to the <span class="fg">'portfolio'</span> user account on my private home server.
</p>
<p>
Instead of a standard bash or zsh shell, the user session triggers a custom-coded <span class="fg">C++ executable</span>.
This binary utilizes <span class="fg">FTXUI</span>—a sophisticated functional terminal user interface library—to handle
real-time rendering and input.
</p>
</section>
<section class="block">
<h2><span class="hash">#</span> Resources</h2>
<ul class="links">
<li>
<a href="https://git.keshavanand.net/KeshavAnandCode/terminal-portfolio" target="_blank" rel="noopener noreferrer">
<span class="arrow"></span> View Source Code
</a>
</li>
<li>
<a href="/webshell">
<span class="arrow"></span> Run Web Shell
</a>
</li>
</ul>
</section>
</main>
<div class="byline">// using vibe code to present human code</div>
<script type="module" src="/src/docs.ts"></script>
</body>
</html>