<?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: Abhishek Emmanual Hansdak</title>
    <description>The latest articles on DEV Community by Abhishek Emmanual Hansdak (@soumabhi).</description>
    <link>https://dev.to/soumabhi</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%2F4181761%2Fa47cc460-bd9d-43e1-92a8-6be51cf0a0b6.png</url>
      <title>DEV Community: Abhishek Emmanual Hansdak</title>
      <link>https://dev.to/soumabhi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/soumabhi"/>
    <language>en</language>
    <item>
      <title>I built many ghosts that haunt my Windows desktop — each one reacts to a different action</title>
      <dc:creator>Abhishek Emmanual Hansdak</dc:creator>
      <pubDate>Sun, 01 Nov 2026 06:58:25 +0000</pubDate>
      <link>https://dev.to/soumabhi/i-built-many-ghosts-that-haunt-my-windows-desktop-each-one-reacts-to-a-different-action-3ooh</link>
      <guid>https://dev.to/soumabhi/i-built-many-ghosts-that-haunt-my-windows-desktop-each-one-reacts-to-a-different-action-3ooh</guid>
      <description>&lt;h1&gt;
  
  
  devchallenge #hf26challenge
&lt;/h1&gt;

&lt;h1&gt;
  
  
  👻 GITM: I Built a Windows Desktop That Gets Haunted When You Actually Use It
&lt;/h1&gt;

&lt;p&gt;What if your computer had a ghost?&lt;/p&gt;

&lt;p&gt;Not the kind that sits permanently on your desktop, consumes screen space, and waits for you to interact with it.&lt;/p&gt;

&lt;p&gt;I'm talking about a ghost that appears when you type, reacts when you copy something, gets angry when you delete something, and disappears before you even realize it was there.&lt;/p&gt;

&lt;p&gt;That's GITM — Ghost in the Machine.&lt;/p&gt;

&lt;p&gt;A Windows desktop experience built around one simple idea:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your desktop shouldn't need a permanent companion. Sometimes, it just needs a little haunting.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What exactly is GITM?
&lt;/h2&gt;

&lt;p&gt;GITM is a Windows desktop tray application that stays invisible until something happens on your computer.&lt;/p&gt;

&lt;p&gt;When a supported desktop event occurs, a small animated ghost appears, performs its reaction for approximately 2–3 seconds, and fades away.&lt;/p&gt;

&lt;p&gt;No permanent character. No unnecessary notifications. No constant animation.&lt;/p&gt;

&lt;p&gt;Just small, unexpected moments of personality throughout your normal desktop workflow.&lt;/p&gt;

&lt;p&gt;The experience is built around an event-driven animation engine, where different desktop activities trigger different ghost behaviours.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five things that make this more than a desktop pet
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. An event-driven ghost engine&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GITM listens for desktop activity through keyboard, clipboard and filesystem hooks.&lt;/p&gt;

&lt;p&gt;Different events can trigger different character animations, including typing, copying, pasting, moving files and idle behaviour.&lt;/p&gt;

&lt;p&gt;The overlay is transparent and click-through, so the ghosts can appear over your desktop without unnecessarily interfering with normal interaction.&lt;/p&gt;

&lt;p&gt;It also supports an idle multi-clone swarm and a drag-shove interaction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. SpriteForge-powered characters&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The visual experience is built around custom sprite artwork created with SpriteForge my another app.&lt;/p&gt;

&lt;p&gt;Instead of treating the characters as static decorations, GITM uses sprite sheets to give them different reactions and behaviours.&lt;/p&gt;

&lt;p&gt;I'm also developing pet visits, wandering behaviour, character parking and more flexible sprite-sheet importing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Local AI with Gemma 3 1B&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is where things get interesting.&lt;/p&gt;

&lt;p&gt;GITM optionally integrates Gemma 3 1B through Ollama.&lt;/p&gt;

&lt;p&gt;The model can generate a short whisper based on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The event name.&lt;/li&gt;
&lt;li&gt;The ghost's current mood.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It never receives actual keystrokes, clipboard contents or filenames.&lt;/p&gt;

&lt;p&gt;The AI runs locally. If Ollama isn't available, GITM falls back to predefined dialogue.&lt;/p&gt;

&lt;p&gt;The ghost doesn't need AI to function. AI simply gives it another layer of personality.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. A progression system&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I wanted the experience to reward interaction without turning it into another productivity application.&lt;/p&gt;

&lt;p&gt;GITM includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ectoplasm scoring.&lt;/li&gt;
&lt;li&gt;Mood progression.&lt;/li&gt;
&lt;li&gt;Candy interactions.&lt;/li&gt;
&lt;li&gt;Unlockable badges.&lt;/li&gt;
&lt;li&gt;Persistent progress stored locally in AppData.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your ghost gradually develops its own little personality through the experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Seasonal haunting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GITM also reacts to the calendar.&lt;/p&gt;

&lt;p&gt;On October 31, the Halloween experience takes over.&lt;/p&gt;

&lt;p&gt;From November 1–2, the experience transitions into a Día de los Muertos-inspired visual theme.&lt;/p&gt;

&lt;p&gt;These aren't just permanent decorations. They're date-based experiences designed to make the desktop feel a little different during special occasions.&lt;/p&gt;

&lt;h2&gt;
  
  
  There's an entire Studio behind the haunting
&lt;/h2&gt;

&lt;p&gt;GITM isn't just a Python script displaying animated images.&lt;/p&gt;

&lt;p&gt;It has a separate desktop Studio built with React 19, Vite and Electron.&lt;/p&gt;

&lt;p&gt;The Studio provides an interface for managing character appearances, importing sprites and controlling pet visits.&lt;/p&gt;

&lt;p&gt;The underlying Python engine handles the actual desktop interactions and animations.&lt;/p&gt;

&lt;p&gt;The architecture currently looks like this:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Desktop engine&lt;/td&gt;
&lt;td&gt;Python&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Transparent overlay&lt;/td&gt;
&lt;td&gt;PySide6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Desktop event monitoring&lt;/td&gt;
&lt;td&gt;pynput, watchdog&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Clipboard integration&lt;/td&gt;
&lt;td&gt;pyperclip&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Studio interface&lt;/td&gt;
&lt;td&gt;React 19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Studio bundler&lt;/td&gt;
&lt;td&gt;Vite&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Desktop shell&lt;/td&gt;
&lt;td&gt;Electron&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;Gemma 3 1B&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Local model runtime&lt;/td&gt;
&lt;td&gt;Ollama&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Configuration&lt;/td&gt;
&lt;td&gt;YAML&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The Python engine and Studio communicate through a dedicated bridge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy isn't an afterthought
&lt;/h2&gt;

&lt;p&gt;Desktop applications can potentially observe a lot about their users.&lt;/p&gt;

&lt;p&gt;I didn't want GITM to become another application that collects personal activity just to provide a little entertainment.&lt;/p&gt;

&lt;p&gt;So the design follows a strict principle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;React to the event, never inspect the user's content.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For AI-generated whispers, only the event name and current mood are provided.&lt;/p&gt;

&lt;p&gt;No keystroke contents.&lt;/p&gt;

&lt;p&gt;No clipboard contents.&lt;/p&gt;

&lt;p&gt;No filenames.&lt;/p&gt;

&lt;p&gt;No cloud inference.&lt;/p&gt;

&lt;p&gt;No content logging.&lt;/p&gt;

&lt;p&gt;The model runs locally through Ollama, and the application has handwritten fallback dialogue when local AI is unavailable.&lt;/p&gt;

&lt;p&gt;The goal is to make the desktop feel alive without making the user feel watched.&lt;/p&gt;

&lt;h2&gt;
  
  
  More than just haunting: Disk utilities
&lt;/h2&gt;

&lt;p&gt;There's another experimental feature accessible through the system tray.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Haunt the disk&lt;/strong&gt; explores folder suggestions, with TabPFN 3.5 planned for future integration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sweep temp&lt;/strong&gt; provides temporary-file cleanup functionality.&lt;/p&gt;

&lt;p&gt;The current dust scanning and sweeping functionality works without TabPFN. The model integration remains planned rather than a shipped dependency.&lt;/p&gt;

&lt;p&gt;I like the idea of giving the ghost a little more responsibility than simply appearing and disappearing.&lt;/p&gt;

&lt;p&gt;Maybe it can occasionally help clean up the place it haunts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's working, and what's next?
&lt;/h2&gt;

&lt;p&gt;GITM already has a substantial foundation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transparent desktop overlay.&lt;/li&gt;
&lt;li&gt;Idle multi-clone animations.&lt;/li&gt;
&lt;li&gt;Keyboard, clipboard and filesystem event hooks.&lt;/li&gt;
&lt;li&gt;Local AI whispers and fallback dialogue.&lt;/li&gt;
&lt;li&gt;System tray integration.&lt;/li&gt;
&lt;li&gt;Ectoplasm, moods and badges.&lt;/li&gt;
&lt;li&gt;Seasonal themes.&lt;/li&gt;
&lt;li&gt;Temporary-file scanning and cleanup.&lt;/li&gt;
&lt;li&gt;React + Electron Studio.&lt;/li&gt;
&lt;li&gt;Sprite importing and character customization.&lt;/li&gt;
&lt;li&gt;Automated tests and a PyInstaller build script.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are still areas I'm actively developing.&lt;/p&gt;

&lt;p&gt;Some event types need their final sprite mappings, some interactions are intentionally disabled, and the complete Tamagotchi-style pet lifecycle is not finished yet.&lt;/p&gt;

&lt;p&gt;I'm also working on better sprite-sheet grid detection, new artwork and pet parking behaviour.&lt;/p&gt;

&lt;p&gt;The goal isn't to ship a collection of unfinished animations. It's to make each interaction feel intentional.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built this
&lt;/h2&gt;

&lt;p&gt;I think desktop software has become very functional, but often very personality-less.&lt;/p&gt;

&lt;p&gt;We have applications that track everything, notify us about everything and constantly demand our attention.&lt;/p&gt;

&lt;p&gt;I wanted to build something that does the opposite.&lt;/p&gt;

&lt;p&gt;Something that doesn't demand attention.&lt;/p&gt;

&lt;p&gt;Something that doesn't need to stay visible.&lt;/p&gt;

&lt;p&gt;Something that can simply appear for two seconds, make you smile, and disappear.&lt;/p&gt;

&lt;p&gt;GITM is my experiment in bringing a little personality back to the Windows desktop.&lt;/p&gt;

&lt;p&gt;And perhaps the strangest part is that the computer doesn't even need to be haunted all the time.&lt;/p&gt;

&lt;p&gt;It only needs to feel haunted occasionally.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Project:&lt;/strong&gt; GITM — Ghost in the Machine&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Platform:&lt;/strong&gt; Windows&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Built with:&lt;/strong&gt; Python, PySide6, React, Electron, SpriteForge and Gemma 3 1B.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt; Local inference through Ollama.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Privacy:&lt;/strong&gt; Local-first, no cloud inference, no content logging.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/soumabhi" rel="noopener noreferrer"&gt;
        soumabhi
      &lt;/a&gt; / &lt;a href="https://github.com/soumabhi/GITM" rel="noopener noreferrer"&gt;
        GITM
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;br&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwfiutw3h1fcclakguz9r.png" alt=" " width="800" height="450"&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fydm598a19y7db6j3b5hk.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fydm598a19y7db6j3b5hk.png" alt=" " width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The machine is working.&lt;/p&gt;

&lt;p&gt;The ghosts are just getting started. 👻&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>devchallenge</category>
    </item>
  </channel>
</rss>
