DEV Community

mansikardile
mansikardile

Posted on

NecroShell — The Haunted Open-Source AI Terminal & Digital Séance

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

Between Halloween on October 31 and Día de los Muertos on November 1 and 2, the boundary separating the physical present from the echoes of the past feels uniquely thin. In software engineering, we routinely discard architectures, deprecate protocols, and terminate processes—yet their ghosts linger in unlinked disk sectors, old magnetic tapes, and our collective memories.

To honor this theme, I created NecroShell: an interactive, retro-cybernetic workstation that transforms your browser into a haunted phosphor CRT terminal powered by open-source AI.

NecroShell combines the eerie atmosphere of a possessed machine with the sacred remembrance of Día de los Muertos across four core experiences:

  1. The Possessed Terminal (necrosh): An authentic retro CRT command-line environment featuring procedural Web Audio sound synthesis (mechanical switch clicks, 55Hz CRT flyback magnetic hum, glitch bursts, and spectral EVP sweeps). The shell simulates a haunted POSIX filesystem (/ghost/manifesto.md, /graveyard/cobol.rip, /dev/void). As you run standard Unix commands (ls, whoami, kill -9, rm), the ghost inside intercepts keystrokes, provides chilling commentary on discarded memory pointers, and drives up the real-time Possession Gauge.
  2. The Digital Séance Chamber: Commune directly with the spirits of extinct programming languages and computing pioneers:
    • COBOL & Grace Hopper (1959): Speaks of punched cards, the original moth bug, and why business ledgers outlive civilizations.
    • ALGOL 68: The orthogonal purist lamenting why modern software chose chaotic syntax over formal mathematical beauty.
    • Countess Ada Lovelace (1843): Reflecting on the poetic Analytical Engine, weaving algebraic patterns like the Jacquard loom.
    • LISP & John McCarthy (1958): Speaking in recursive S-expressions and lambda calculus (cons (quote soul) (quote machine)).
    • B & Dennis Ritchie (1971): Warning developers against bloated modern toolchains from a 24-kilobyte PDP-11 perspective.
    • Commodore 64 BASIC v2: Flashing POKE commands and 8-bit SID chip screams.
  3. Haunted Log Weaver: Paste dry server syslogs, Kubernetes crash dumps, smart home sensor logs (e.g., 3 AM hallway motion and sudden temperature drops), or git merge conflicts. The open-source AI transmutes the raw technical telemetry into spine-chilling gothic horror chronicles.
  4. Virtual Día de los Muertos Sanctuary (Ofrenda): An offline digital altar where users light glowing votive candles and compose heartfelt, poetic AI memorial eulogies for abandoned software that once connected humanity (Adobe Flash Player, GeoCities, Netscape Navigator, Windows 95) and pioneers (Alan Turing, Margaret Hamilton). Golden marigold (cempasúchil) petals float across the altar as tributes are saved to private local storage.

Demo

NecroShell features a fully functioning retro CRT workstation complete with scanline shaders, chromatic aberration glitches, procedural sound synthesis, and real-time audio visualization.

NecroShell Home Terminal

Key Workstations in Action:

  • The Digital Séance: Communing with Grace Hopper and COBOL through open-source AI:
    Séance Chamber

  • Haunted Log Weaver: Transmuting a 3:00 AM smart home sensor dump into a gothic ghost story:
    Log Weaver

  • Día de los Muertos Sanctuary: Lighting candles for Adobe Flash Player and GeoCities:
    Ofrenda Sanctuary

  • Cyber Séance Theme:
    Cyber Theme


Code

The complete source code is open-source under the MIT License and hosted on GitHub:

👻 NecroShell — Ghost in the Machine & Digital Séance Terminal

An autonomous open-source AI retro-terminal workstation channeling long-dead programming languages, weaving system logs into gothic horror stories, and honoring computing ancestors on an offline Día de los Muertos digital ofrenda.

Hacktoberfest 2026 License: MIT AI Backend Inference


🔮 What is NecroShell?

NecroShell is an open-source AI workstation built for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine.

Between Halloween on October 31 and Día de los Muertos on November 1 & 2, the line between physical silicon and past memories grows thin. NecroShell brings this boundary to life:

  1. The Possessed Terminal (necrosh): A vintage phosphor CRT shell with procedural audio synthesis (mechanical switch clicks, 55Hz CRT flyback hum, glitch static, and spectral whispers). As you run commands (ls, cat, ps, kill -9, whoami), the spirit within the machine intercepts keystrokes, comments on discarded…

How I Built It

NecroShell was architected from the ground up to embody open-source AI principles across every layer:

flowchart TD
    subgraph Frontend ["Workstation Interface & Retro CRT"]
        CRT["CRT Curved Screen & Phosphor Glow"]
        Audio["Web Audio API Procedural Synthesizer"]
        Canvas["EVP Frequency Oscilloscope"]
        VFS["POSIX Haunted Virtual Filesystem"]
    end

    subgraph Core ["NecroShell Engines"]
        Shell["necrosh Command Dispatcher"]
        Ghost["Ghost Engine & Possession Meter"]
        Seance["Séance Chamber Conduit"]
        Weaver["Haunted Log Weaver"]
        Ofrenda["Día de los Muertos Altar"]
    end

    subgraph AI ["Multi-Backend Open-Source AI Gateway"]
        Ollama["Local Ollama (localhost:11434)\nllama3 / mistral / qwen2.5-coder / phi3"]
        Transformers["In-Browser Transformers.js (Hugging Face)\nWebGPU / WASM Open Weights"]
        Offline["Offline Neural Spirit Daemon\n(100% Private, Zero Cloud, Air-Gapped)"]
    end

    Frontend <--> Core
    Core --> AI

Why Does Open Innovation Matter?

This challenge asks: Why does open innovation matter for what you built? What did it make possible that a closed API wouldn't?

For a project exploring ghosts, family memories, and digital heritage, closed proprietary APIs are fundamentally flawed:

  1. Keeping Family Memories & Logs Off Corporate Servers: When someone writes a remembrance for a deceased family member or pastes their personal smart home sensor logs into an AI, they should not have to surrender that intimate data to a commercial surveillance cloud where it is logged, trained on, and monetized. In NecroShell, open-source AI runs entirely on the user's hardware. The data stays in local RAM and private browser storage.
  2. Resilience — Software That Never Dies When a Server Closes: Proprietary AI services vanish when corporate roadmaps shift, terms of service update, or pricing changes. By anchoring NecroShell to open-weight models and offline runtimes, this project will still run 20, 50, or 100 years from now on any machine capable of rendering basic web standards. It preserves human cultural software heritage in the open commons.
  3. Running with the Lights (and the Internet) Off: A haunted terminal or a Día de los Muertos altar is most poignant when the room is dark and quiet. Closed APIs require a continuous broadband connection to corporate data centers. NecroShell runs seamlessly on an air-gapped laptop, in an off-grid cabin, or during a storm with the power and Wi-Fi knocked out.
  4. Resurrecting Lost Dialects: Closed commercial APIs aggressively sanitize and homogenize language. Open weights allow builders to preserve idiosyncratic dialects—from the rigid formalisms of ALGOL 68 to the poetic Victorian cadence of Ada Lovelace—without arbitrary corporate censorship.

My Agent Session

This project was pair-programmed and built collaboratively with the Google DeepMind Antigravity AI coding assistant, following a complete autonomous workflow: architectural system design, procedural sound synthesis, in-browser model integration, and live browser testing via subagents.


The Spirit of It

The most magical moment during development occurred while testing the Día de los Muertos Sanctuary. I lit a candle on the Adobe Flash Player memorial card, watched the golden marigold petals drift across the scanlines, and asked the open-source AI to compose a tribute:

"On this night of Día de los Muertos, we lay cempasúchil petals across the silicon tracks. We remember Adobe Flash. You gave us early wonder—stick figure battles, amateur animations, and games made by teenagers in their bedrooms before the web became an advertising monoculture. They told us you were obsolete, but your creativity is etched into the DNA of the modern web. Rest well in the infinite buffer."

In that moment, the project fulfilled its purpose: technology is not just disposable consumer hardware; it is the tapestry of our collective human memories.


Prize Categories

  • Main Track: Ghost in the Machine (Hacktoberfest Open-Source AI Challenge Week 4)
  • Open-Source AI at its Core: Built specifically around local open-weight inference (Ollama), in-browser client models (Transformers.js), and zero-cloud offline capability.

Top comments (0)