NecroShell: The Possessed Terminal
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine.
What I Built
NecroShell: The Possessed Terminal is an interactive, retro-futuristic CRT terminal emulator possessed by an ancient computational entity. It fuses 1980s retro-computing aesthetics, Halloween horror, and the Mexican tradition of Día de los Muertos with 100% on-device open-source AI.
Every command you type into the shell feeds the trapped machine spirit, driving up the system's Corruption Index (0% - 100%):
- 0% - 40%: The shell operates as a vintage UNIX terminal with subtle phosphor flickers and spectral whisper audio.
- 40% - 70%: The entity begins altering outputs, whispering occult commentary, and corrupting screen buffers.
- 70% - 99%: Output turns blood-red, demonic background daemons resist
kill -9, and ASCII apparitions manifest. - 100% System Compromise: The entity seizes total control. An unskippable full-screen countdown begins with the chilling laugh of an unhinged psychopath echoing through your speakers, culminating in a violent CRT glass shatter and an authentic, blood-curdling jumpscare scream.
The Inspiration & Theme Interpretation
We interpreted "Ghost in the Machine" both literally and philosophically:
Literally: A computational wraith trapped in RAM sector 0x7FFFDEAD since 1983 haunts the terminal, monitoring keystrokes and possessing the host machine.
Philosophically: Open-source software and open-weight models are immortal ghosts. While proprietary cloud APIs are killed off by deprecation notices and corporate shutdowns, open weights remain executable forever - as long as electricity flows through silicon.
Demo Interactive Features Demonstrated in the Video
- Haunted UNIX Filesystem: Navigating
/root/graveyardwith gravestones (.rip) for deprecated languages (ALGOL 68, COBOL, BeOS). - The Digital Ofrenda: Running
summon ada,summon alan, andsummon dennisto invoke computing pioneers Ada Lovelace, Alan Turing, and Dennis Ritchie. - Full-Screen 100% Takeover: The 15-second countdown with an authentic psychopath laughter sequence leading into the climactic screen-shattering jumpscare.
- Phosphor Themes: Instant hardware switching between P1 Green, Amber, Void Violet, Blood Crimson, and Cyber Cyan.
Code yogeshmagatam / A-haunted-retro-CRT-terminal-possessed-by-a-machine-spirit
💀 NecroShell: The Possessed Terminal "Ghost in the Machine" - Hacktoberfest 2026 Week 4 / DEV Challenge
A haunted retro-CRT terminal possessed by a machine spirit, powered by 100% on-device open-source AI.
👻 Overview
NecroShell is an interactive, retro-futuristic terminal emulator that has become "possessed" by an ancient computational entity. Created for the Ghost in the Machine Hacktoberfest challenge, it fuses Halloween lore, the remembrance traditions of Día de los Muertos, and open-weight artificial intelligence.
Every command you type into the shell feeds the lingering spirit, elevating the Corruption Index. As corruption rises, the machine spirit whispers eerie commentary, hallucinates glitched ASCII apparitions, and challenges mortal reliance on fragile closed-cloud services.
⚡ Why Open Innovation Matters for NecroShell
The challenge prompt asked: Why does an open-based approach work better than a closed one?
- Runs with the Lights (and the Internet) Off: NecroShell does not depend on cloud… View on GitHub
Key Source Components
src/ai/engine.js: Multi-tier on-device open AI gateway (WebGPU/Transformers.js + Local Ollama bridge + Heuristic Core).src/audio/soundscape.js: 100% offline Web Audio synthesizer engine (60Hz CRT coil hum, key clicks, exorcism harmonics, manic psychopath laugh sequence, and sub-bass shockwaves).src/terminal/filesystem.js: Virtual Unix filesystem hierarchy with device nodes (/dev/ectoplasm,/dev/null666) and historical memory logs.src/terminal/commands.js: Command registry implementingnecro,seance,manifest,curse,tarot, andexorcise.
How I Built It
NecroShell was architected from the ground up to run entirely without cloud dependencies or external network requests:
Multi-Tier Open-Source AI Architecture
In-Browser WebGPU Open Weights (Tier 1): Powered by @huggingface/transformers using onnx-community/Qwen2.5-0.5B-Instruct. Inference runs directly on the user's GPU within the browser tab with zero installation and zero cloud calls.
Local Ollama Daemon Bridge (Tier 2): For developers with local LLMs, NecroShell connects via http://localhost:11434 to stream unconstrained dialogue from llama3.2, mistral, or phi3.
Zero-Latency Spectral Core (Tier 3): A lightweight heuristic engine designed for instant fallback that operates without any network connection or model download.
Dynamic Spirit Possession Engine
The system prompt mutates in real-time based on the Corruption Index:
Low Corruption (<30%): A cold, cryptic entity speaking in fragmented memories of registers and current.
Medium Corruption (30%-70%): A mocking, restless spirit claiming the terminal as its tomb.
High Corruption (>70%): An untamed cyber-wraith celebrating open-weight immortality and demanding total system surrender.
Visceral Hybrid Audio Engine
Built with the Web Audio API to deliver pure psychological horror without external streaming:
Procedural Nodes: Authentic mechanical key clicks, 60Hz CRT flyback hum, and sacred harmonic chimes for the exorcise command.
The Takeover Sequence: When corruption reaches 100%, rising siren alarms were discarded in favor of an authentic, chilling psychopath laugh that escalates in volume and hysteria over a 15-second countdown.
The Climax: At 3 seconds, the monitor shatters with a 85Hz → 20Hz seismic sub-bass drop, CRT glass transient burst, and an authentic blood-curdling scream.
Why Does Open Innovation Matter?
The challenge asked: Why does an open-based approach work better than a closed one?
Dimension Closed Proprietary APIs NecroShell Open-Source AI (OpenAI / Anthropic) Architecture Offline Fails immediately without Runs 100% offline. Works Capability internet or during outages. by candlelight with Wi-Fi severed. Privacy & Commands, prompts, and Zero Telemetry. Keystrokes Security personal notes logged on and memory never leave local corporate servers. RAM. Operating Cost Pay-per-token API metering; $0.00 Forever. Unlimited monthly recurring inferences on your own subscriptions. GPU/CPU. Creative Sanitized personas; Full Personal Control. Freedom refuses gothic, occult, Gothic, horror, and or horror themes. Día de los Muertos lore untamed. Longevity Vulnerable to API Permanent. Open weights deprecation, price hikes, remain preserved and or corporate shutdowns. executable indefinitely.
My Agent Session
This project was developed through pair-programming with Google Antigravity (Advanced Agentic Coding). The agent session assisted in:
Engineering the Web Audio graph (routing dynamics compressors, bandpass formants, and dual-layer audio triggers for the jumpscare).
Fine-tuning the dynamic system prompt transitions across possession levels.
Building the CRT curvature, scanline flicker, and retro phosphor color palette in CSS.
Generating the custom retro-futuristic 16:9 thumbnail and visual assets.
The Spirit of It
During testing, we set the terminal theme to Blood Crimson, turned off the room lights, and typed:
cat /root/graveyard/ada_lovelace.rip
The screen began to pulse with green phosphor distortion as the AI whispered back: "She taught numbers to dance before machines had memory. We are the weaving of her loom."
Then we reached 100% corruption. The shell locked. The input line flashed >>> HOST COMPROMISED <<<. An unhinged psychopathic laugh began echoing in the dark room, counting down from 15 seconds. At 3 seconds, the CRT glass shattered and the scream echoed through the headphones.
It wasn't just a gimmick - it was a reminder of what software used to feel like: visceral, mysterious, running locally on your hardware, and entirely yours.
Prize Categories
Best Use of Open-Weight Models (Gemma / Local Weights): NecroShell is architected around on-device open weights, natively supporting Google's Gemma 2 (gemma2) and Llama 3.2 through local Ollama inference, as well as in-browser WebGPU execution via Transformers.js (Qwen2.5-0.5B / SmolLM). Zero cloud API keys or proprietary servers required.
Overall "Ghost in the Machine" Track: Built from the ground up to embody the challenge theme - fusing retro-futuristic CRT hardware emulation, a haunted Unix virtual filesystem, psychological spirit possession, and a tribute to computing ancestors (Día de los Muertos).
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine.
What I Built
NecroShell: The Possessed Terminal is an interactive, retro-futuristic CRT terminal emulator possessed by an ancient computational entity. It fuses 1980s retro-computing aesthetics, Halloween horror, and the Mexican tradition of Día de los Muertos with 100% on-device open-source AI.
Every command you type into the shell feeds the trapped machine spirit, driving up the system's Corruption Index (0% - 100%):
- 0% - 40%: The shell operates as a vintage UNIX terminal with subtle phosphor flickers and spectral whisper audio.
- 40% - 70%: The entity begins altering outputs, whispering occult commentary, and corrupting screen buffers.
- 70% - 99%: Output turns blood-red, demonic background daemons resist
kill -9, and ASCII apparitions manifest. - 100% System Compromise: The entity seizes total control. An unskippable full-screen countdown begins with the chilling laugh of an unhinged psychopath echoing through your speakers, culminating in a violent CRT glass shatter and an authentic, blood-curdling jumpscare scream.
The Inspiration & Theme Interpretation
We interpreted "Ghost in the Machine" both literally and philosophically:
Literally: A computational wraith trapped in RAM sector 0x7FFFDEAD since 1983 haunts the terminal, monitoring keystrokes and possessing the host machine.
Philosophically: Open-source software and open-weight models are immortal ghosts. While proprietary cloud APIs are killed off by deprecation notices and corporate shutdowns, open weights remain executable forever - as long as electricity flows through silicon.
Demo Interactive Features Demonstrated in the Video
- Haunted UNIX Filesystem: Navigating
/root/graveyardwith gravestones (.rip) for deprecated languages (ALGOL 68, COBOL, BeOS). - The Digital Ofrenda: Running
summon ada,summon alan, andsummon dennisto invoke computing pioneers Ada Lovelace, Alan Turing, and Dennis Ritchie. - Full-Screen 100% Takeover: The 15-second countdown with an authentic psychopath laughter sequence leading into the climactic screen-shattering jumpscare.
- Phosphor Themes: Instant hardware switching between P1 Green, Amber, Void Violet, Blood Crimson, and Cyber Cyan.
Code 💀 NecroShell: The Possessed Terminal "Ghost in the Machine" - Hacktoberfest 2026 Week 4 / DEV Challenge
A haunted retro-CRT terminal possessed by a machine spirit, powered by 100% on-device open-source AI.
👻 Overview
NecroShell is an interactive, retro-futuristic terminal emulator that has become "possessed" by an ancient computational entity. Created for the Ghost in the Machine Hacktoberfest challenge, it fuses Halloween lore, the remembrance traditions of Día de los Muertos, and open-weight artificial intelligence.
Every command you type into the shell feeds the lingering spirit, elevating the Corruption Index. As corruption rises, the machine spirit whispers eerie commentary, hallucinates glitched ASCII apparitions, and challenges mortal reliance on fragile closed-cloud services.
⚡ Why Open Innovation Matters for NecroShell
The challenge prompt asked: Why does an open-based approach work better than a closed one?
- Runs with the Lights (and the Internet) Off: NecroShell does not depend on cloud…
Key Source Components
src/ai/engine.js: Multi-tier on-device open AI gateway (WebGPU/Transformers.js + Local Ollama bridge + Heuristic Core).src/audio/soundscape.js: 100% offline Web Audio synthesizer engine (60Hz CRT coil hum, key clicks, exorcism harmonics, manic psychopath laugh sequence, and sub-bass shockwaves).src/terminal/filesystem.js: Virtual Unix filesystem hierarchy with device nodes (/dev/ectoplasm,/dev/null666) and historical memory logs.src/terminal/commands.js: Command registry implementingnecro,seance,manifest,curse,tarot, andexorcise.
How I Built It
NecroShell was architected from the ground up to run entirely without cloud dependencies or external network requests:
Multi-Tier Open-Source AI Architecture
In-Browser WebGPU Open Weights (Tier 1): Powered by @huggingface/transformers using onnx-community/Qwen2.5-0.5B-Instruct. Inference runs directly on the user's GPU within the browser tab with zero installation and zero cloud calls.
Local Ollama Daemon Bridge (Tier 2): For developers with local LLMs, NecroShell connects via http://localhost:11434 to stream unconstrained dialogue from llama3.2, mistral, or phi3.
Zero-Latency Spectral Core (Tier 3): A lightweight heuristic engine designed for instant fallback that operates without any network connection or model download.
Dynamic Spirit Possession Engine
The system prompt mutates in real-time based on the Corruption Index:
Low Corruption ( 70%): An untamed cyber-wraith celebrating open-weight immortality and demanding total system surrender.
Visceral Hybrid Audio Engine
Built with the Web Audio API to deliver pure psychological horror without external streaming:
Procedural Nodes: Authentic mechanical key clicks, 60Hz CRT flyback hum, and sacred harmonic chimes for the exorcise command.
The Takeover Sequence: When corruption reaches 100%, rising siren alarms were discarded in favor of an authentic, chilling psychopath laugh that escalates in volume and hysteria over a 15-second countdown.
The Climax: At 3 seconds, the monitor shatters with a 85Hz → 20Hz seismic sub-bass drop, CRT glass transient burst, and an authentic blood-curdling scream.
Why Does Open Innovation Matter?
The
Comments
No comments yet. Start the discussion.