<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rishon K Roshan</title>
    <description>The latest articles on DEV Community by Rishon K Roshan (@rishon_kroshan_029f451fc).</description>
    <link>https://dev.to/rishon_kroshan_029f451fc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3728578%2Fccebc3ed-0851-4517-ba0a-c09e17ca80a6.png</url>
      <title>DEV Community: Rishon K Roshan</title>
      <link>https://dev.to/rishon_kroshan_029f451fc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rishon_kroshan_029f451fc"/>
    <language>en</language>
    <item>
      <title>Dual-Mode Portfolio (GUI + Terminal)</title>
      <dc:creator>Rishon K Roshan</dc:creator>
      <pubDate>Fri, 30 Jan 2026 19:01:05 +0000</pubDate>
      <link>https://dev.to/rishon_kroshan_029f451fc/dual-mode-portfolio-gui-terminal-h21</link>
      <guid>https://dev.to/rishon_kroshan_029f451fc/dual-mode-portfolio-gui-terminal-h21</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/new-year-new-you-google-ai-2025-12-31"&gt;New Year, New You Portfolio Challenge Presented by Google AI&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  About Me
&lt;/h2&gt;

&lt;p&gt;Hi, I'm Rishon! I'm a full-stack engineer (MERN). Currently, I'm learning more about low-level systems engineering. I use Arch Linux and Sway WM daily, so I wanted my portfolio to reflect my Arch setup aesthetic while still being accessible to non-technical visitors.&lt;/p&gt;

&lt;p&gt;My goal was to build a site that feels like a home directory—functional, clean, and fast—rather than just a static scrolling page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Portfolio
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://portfolio-1027678755768.us-central1.run.app" rel="noopener noreferrer"&gt;https://portfolio-1027678755768.us-central1.run.app&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I built this using the Gemini API for various tasks, such as generating code for each function and verifying all the features.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; React, TypeScript, Tailwind CSS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Node.js (Express)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI:&lt;/strong&gt; Google Gemini 2.0 Flash&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure:&lt;/strong&gt; Docker, Google Cloud Run&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Design Decisions
&lt;/h3&gt;

&lt;p&gt;I built a custom "Window Manager" system in React to handle the switching between GUI and Terminal modes.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;State Management:&lt;/strong&gt; The app preserves command history and window state when switching modes, just like a real desktop environment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Integration:&lt;/strong&gt; I set up a Node.js backend to securely proxy requests to the Gemini API. The AI acts as &lt;code&gt;geminicli&lt;/code&gt;, a system daemon. I engineered a custom system prompt that gives the AI a personality; it knows my resume, my tech stack, and even my future plans (like building a high-performance chess engine).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shortcuts:&lt;/strong&gt; I implemented global keyboard listeners so you can toggle the AI assistant anytime with &lt;code&gt;Ctrl + Space&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I'm Most Proud Of
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. The Terminal Emulator&lt;/strong&gt;&lt;br&gt;
It is a faithful replica of a terminal, complete with the Arch Linux logo. It supports all the basic commands like &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;man&lt;/code&gt;, &lt;code&gt;clear&lt;/code&gt;, and &lt;code&gt;whoami&lt;/code&gt;, as well as custom CLI tools I use like &lt;code&gt;btop&lt;/code&gt; and &lt;code&gt;geminicli&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. AI Assistant&lt;/strong&gt;&lt;br&gt;
This AI assistant can tell you more about me as a person and provide details that you might have missed in this portfolio. It was quite a challenge to handle the API reliability, so I built a fallback system in the backend that automatically tries multiple Gemini models (2.0 Flash, 1.5 Flash, etc.) in sequence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The "Dual Mode" Experience&lt;/strong&gt;&lt;br&gt;
I'm proud that I managed to get both the GUI and Terminal to work together in a single Docker container.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiyxae3bkykaihwuvji43.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiyxae3bkykaihwuvji43.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>googleaichallenge</category>
      <category>portfolio</category>
      <category>gemini</category>
    </item>
  </channel>
</rss>
