<?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: Mohammed Tayeb</title>
    <description>The latest articles on DEV Community by Mohammed Tayeb (@tayebbb).</description>
    <link>https://dev.to/tayebbb</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2254175%2Fc6ce0cde-0164-4aea-8b58-09f0866002ed.jpeg</url>
      <title>DEV Community: Mohammed Tayeb</title>
      <link>https://dev.to/tayebbb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tayebbb"/>
    <language>en</language>
    <item>
      <title>GhostShell: a haunted terminal that runs fully offline</title>
      <dc:creator>Mohammed Tayeb</dc:creator>
      <pubDate>Wed, 04 Nov 2026 10:47:36 +0000</pubDate>
      <link>https://dev.to/tayebbb/ghostshell-a-haunted-terminal-that-runs-fully-offline-15n7</link>
      <guid>https://dev.to/tayebbb/ghostshell-a-haunted-terminal-that-runs-fully-offline-15n7</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the Hacktoberfest Open-Source AI Challenge: Week 4 (Ghost in the Machine).&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;GhostShell is a terminal wrapper that "possesses" your shell. Every command runs normally, then a ghost whispers one eerie sentence about what you just did. It is about 30 lines of Python, and the UI was designed with Figma Make (prompt in the README).&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Run &lt;code&gt;python ghostshell.py&lt;/code&gt;, type &lt;code&gt;ls&lt;/code&gt; or &lt;code&gt;git status&lt;/code&gt;, and read what the spirit says. UI design (Figma Make): &lt;a href="https://blush-curl-39070128.figma.site/" rel="noopener noreferrer"&gt;https://blush-curl-39070128.figma.site/&lt;/a&gt; . Code: &lt;a href="https://github.com/chatgaiyashenanigan-alt/ghostshell" rel="noopener noreferrer"&gt;https://github.com/chatgaiyashenanigan-alt/ghostshell&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;The script runs your command with &lt;code&gt;subprocess&lt;/code&gt;, then sends the command and its output to a local Ollama server (&lt;code&gt;llama3.2:1b&lt;/code&gt;) with a ghost persona prompt. The reply is printed in purple under the output.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Open Innovation Matters
&lt;/h2&gt;

&lt;p&gt;Your shell history holds secrets: paths, hostnames, tokens in error messages. A closed API would send all of that to a server you don't control. With an open-weight model, nothing leaves the machine. It works on a plane with the Wi-Fi off, costs nothing per command, and I can swap the model by changing one string. A hosted model could change or disappear, but this ghost stays as long as the weights are on disk.&lt;/p&gt;

&lt;h2&gt;
  
  
  Designing the UI with Figma Make
&lt;/h2&gt;

&lt;p&gt;I pasted a single prompt (see README) into Figma Make: a marigold-and-violet terminal with fading whisper lines, an offline badge, a model picker, and an "ofrenda" sidebar of past whispers. It gave me a layout I could build from.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hacktoberfest</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
