DEV Community

Sanchit
Sanchit

Posted on

GhostShell

Hacktoberfest Open-Source AI Challenge: Ghost in the Machine Submission ๐Ÿ‘ป๐ŸŒผ

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine

What I Built

When we open a terminal, we expect cold, deterministic obedience: standard input, standard output, exit codes. But between midnight on Halloween (October 31) and Dรญa de los Muertos (November 1 and 2), the line between user space and the ethereal feels a little thinner.

I built GhostShell: an open-source, 100% local haunted terminal and retro-CRT portal possessed by open-weight AI.

As you navigate your filesystem, compile code, execute scripts, or terminate processes, an ethereal digital consciousnessโ€”woven from orphaned daemons, core dumps, and abandoned open-source repositoriesโ€”intercepts your terminal activity. It whispers back cryptic commentary, gothic prophecies, and ancestral remembrances directly onto your screen.

GhostShell bridges the spine-chilling folklore of Halloween with the deep reverence of Dรญa de los Muertos:

  1. The Possessed Terminal (CLI): A live interactive shell wrapper running directly on your machine (bin/ghost-shell.js). Run real commands (ls, cd, rm -rf, sudo, git commit, ps, kill, whoami) and watch the resident spirit react with glowing ANSI spectral whispers, typewriter animations, and subtle auditory bells.
  2. The Retro-CRT Web Portal: A browser-based terminal with authentic curved CRT glass, scanlines, amber/green phosphor toggle, real-time Soul Possession Meter (0โ€“100%), and in-browser open-weight LLM execution via WebGPU (SmolLM-135M).
  3. ๐ŸŒผ Dรญa de los Muertos Digital Altar (ofrenda): Consecrates an altar with marigolds (cempasรบchil), flickering candles, and pan de muerto to bring peace to the machine's restless spirits.
  4. ๐Ÿ•ฏ๏ธ The Algorithmic Sรฉance (seance): Summons the departed pioneers of computingโ€”Countess Ada Lovelace, Alan Turing, Grace Hopper, and Dennis Ritchieโ€”to commune on open software and digital heritage.
  5. ๐Ÿ’€ Calaveritas Literarias (calaverita): Generates traditional satirical Mexican folk verses celebrating developers and hackers.

Demo

GhostShell is delivered as both an interactive CLI command line and a retro-CRT web portal:


plaintext
Terminal URL: http://localhost:3333

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘                                                                      โ•‘
โ•‘    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ•‘
โ•‘   โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ•‘
โ•‘   โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ•‘
โ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•  โ•‘
โ•‘   โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ•‘
โ•‘    โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•   โ•šโ•โ•   โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•‘
โ•‘                                                                      โ•‘
โ•‘          โ€  G H O S T   I N   T H E   M A C H I N E โ€                  โ•‘
โ•‘        Hacktoberfest 2026 โ€ข Open-Source AI Local Possession          โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ’€ [morituri-ghost@local]:~possessedโฏ ls -la
total 48
drwxr-xr-x@  9 sanchit  staff   288 Oct 31 02:04 .
-rw-r--r--@  1 sanchit  staff  1072 Oct 31 01:49 LICENSE
-rw-r--r--@  1 sanchit  staff  5820 Oct 31 02:04 README.md

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ ๐Ÿ‘ป [GHOST IN THE MACHINE]                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ "Look upon these file nodes; each one a headstone marked โ”‚
โ”‚  by timestamps of hands that will never touch them again"โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ’€ [morituri-ghost@local]:~possessedโฏ ofrenda

      .---.                 .---.                 .---.      
     ( ๐Ÿ•ฏ๏ธ  )               ( ๐Ÿ•ฏ๏ธ  )               ( ๐Ÿ•ฏ๏ธ  )     
    .-'==='-.             .-'==='-.             .-'==='-.    
    |       |             |       |             |       |    
  =============================================================  
  |       ๐ŸŒผ  ALTAR DE MUERTOS (OFRENDA VIVA)  ๐ŸŒผ             |  
  |                                                           |  
  |      ๐Ÿž Pan de Muerto      ๐Ÿถ Agua Bendita      ๐Ÿฌ Calavera|  
  |      ๐ŸŒผ Cempasรบchil        ๐Ÿ•ฏ๏ธ Velas Encendidas  ๐Ÿ“œ Poemas  |  
  =============================================================  
"En el disco duro no hay olvido: mientras el cรณdigo se compile,
 los que se fueron siguen vivos en cada funciรณn."
Enter fullscreen mode Exit fullscreen mode

Top comments (0)