This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine
What I Built
Ghost in the Machine (NecroOS & The Digital Ofrenda) is an open-source, client-side cyber-gothic workstation and sacred memorial altar. It bridges the thin boundary between Halloween (spectral entities, possessed terminals, and eerie nocturnal anomalies) and DÃa de los Muertos (cempasúchil marigolds, flickering candlelight, and celebrating the memories of loved ones and pioneers who shaped our world).
Core Interactive Modules
-
The Haunted Terminal (
NecroShell):- An interactive VT-100 CRT terminal styled with phosphor-green phosphor scanlines, chromatic aberration jitter, and procedural mechanical key clicks.
- A fully functional virtual filesystem (
memories.log,departed_souls.db,uncommitted_sins.git,cobol_legacy.dat,manifesto.md). - Built-in "possession" logic: running standard commands (
ls,cat,whoami,ps,kill -9 666,git blame,date) triggers metaphysical commentary and spectral keystroke whispers from open AI weights. - Direct ghost querying with
necro <query>or summoning departed pioneers (summon ada,summon grace).
-
The Digital Ofrenda (Altar de Muertos):
- A glowing 3-tier sacred step altar illuminated by interactive animated candles and floating golden cempasúchil marigold petals.
- Dedicated memorial portraits honoring computing innovators:
- Augusta Ada Lovelace (1815–1852): Mother of programming & poetic science.
- Admiral Grace Hopper (1906–1992): Compiler inventor, nanosecond pioneer, and the Mark II relay moth.
- Alan Turing (1912–1954): Father of computer science & artificial intelligence.
- The Abandoned Open-Source Library: A tribute to the unsung, solo-maintainer libraries holding the modern web together.
- Interactive Offerings: Users can place fresh cempasúchil petals, votive candles, pan de muerto, clay coffee cups, and vintage floppy disk backups.
- Open AI Eulogy & Remembrance Generator: Clicking "Read Blessing" prompts the open-weight model to weave a culturally authentic, poignant DÃa de los Muertos remembrance.
- Add Personal Memorials: Users can honor their own departed family ancestors, mentors, or lost projects with custom epitaphs stored 100% locally in browser memory.
-
Chamber of the Departed (Offline Séance Chatbot):
- An offline communion sanctuary to converse with the spirits of departed computer scientists and deprecated programming technologies:
- Ada Lovelace (weaving algebraic patterns in the Jacquard loom).
- Admiral Grace Hopper (the value of forgiveness over permission, and local nanoseconds).
- The Ghost of COBOL (the immortal monolithic mainframe still running global banking).
- The Spirit of Adobe Flash (ActionScript 2.0 vector nostalgia and anti-corporate gatekeeping).
- The Soul of LISP (primordial symbolic consciousness and recursive recursion).
- An offline communion sanctuary to converse with the spirits of departed computer scientists and deprecated programming technologies:
-
Ghost Story & IoT Sensor Weaver:
- Takes raw IoT sensory telemetry (attic motion vectors, sudden thermal drops to -4°C, internal door latch triggers, CPU fan RPM spikes) and weaves them into bone-chilling paranormal incident reports.
- Includes presets for The Smart Home Incident (03:17 AM), The Dead Developer's Git Branch, Basement Server Rack Anomaly, and The Possessed Smart Mirror.
-
Procedural Spectral Audio Synthesizer (Web Audio API):
- Zero external audio files or MP3 dependencies.
- Generates procedural binaural haunted drones (55Hz sub-bass + fifth harmonic resonance), mechanical keyboard relay clicks, EVP radio static bursts, and singing-bowl chimes purely through browser mathematical oscillators.
Demo
Code
Ghost in the Machine: NecroOS & The Digital Ofrenda
Build something with open-source AI at its core. Spooky, or honoring the past in the spirit of DÃa de los Muertos. A client-side, air-gapped web application powered by open-weight models.
🌟 Overview
Ghost in the Machine is an interactive cyber-gothic workstation and sacred digital ofrenda built with HTML5, Vanilla CSS, and JavaScript. It bridges the thin boundary between Halloween and DÃa de los Muertos (October 31 – November 2), when memory defies mortality.
The application has open-source AI at its core, executing inference locally via in-browser open-weight models (Transformers.js / WebGPU), local Ollama instances, or an instant offline spectral engine with zero server telemetry.
🔮 Core Features
1. âš¡ The Haunted Terminal (NecroShell)
- Possessed CRT Console: Authentic VT-100 phosphor green/amber display with scanlines, chromatic glitch jitter, and procedural mechanical key clicks.
- Spooky Virtual Filesystem: Inspect…
System Architecture Diagram
graph TD
User([User Device]) --> UI[Client Interface: HTML5 / CSS3 / Vanilla JS]
UI --> Router[Universal Open-Source AI Router]
subgraph Open-Source AI Core
Router -->|Tier 1: WebGPU / WASM| TransformersJS[Transformers.js / ONNX Runtime]
TransformersJS --> BrowserWeights[Cached Open Weights: SmolLM2 / Qwen1.5 / GPT-2]
Router -->|Tier 2: Localhost Daemon| Ollama[Local Ollama / LM Studio: Llama 3.2, Mistral]
Router -->|Tier 3: Instant Fallback| InstantEngine[Contextual Spectral Neural Engine]
end
UI --> AudioEngine[Web Audio API Procedural Synthesizer]
UI --> ParticleEngine[HTML5 Canvas: Floating Marigold Petals]
UI --> LocalStorage[(Private On-Device Storage)]
How I Built It
The core philosophy of this project is that the open-source AI pieces are what make the application work. Rather than sending API keys to closed corporate providers, NecroOS implements a Triple-Tier Open-Source Engine:
In-Browser WebGPU / WASM Inference via Transformers.js:
Using Hugging Face's official@xenova/transformerslibrary, open-weight models (such asQwen1.5-0.5B-ChatorSmolLM2-135M-Instruct) execute directly on the client machine inside the browser's execution sandbox. Weights are downloaded once, cached in IndexedDB via the browser's Cache API, and run with zero network roundtrips thereafter.Localhost Daemon Bridge (Ollama / LM Studio):
For users with dedicated local hardware, NecroOS connects tohttp://localhost:11434with one-click ping testing, auto-discovering models likellama3.2:1b,llama3.2:3b,mistral:7b, ordeepseek-r1.Instant Zero-Latency Spectral Neural Engine:
To guarantee an immediate, lag-free experience without forcing users on slow mobile connections to download 500MB weights before trying the app, we built an embedded local rule-and-Markov spectral engine. It provides domain-grounded responses for Ada Lovelace, Grace Hopper, COBOL, DÃa de los Muertos eulogies, and terminal possession whispers from the first millisecond.-
Procedural Native Audio:
Instead of bundling heavy static MP3 files, the entire haunting soundscape is synthesized procedurally in real-time using the Web Audio API:-
OscillatorNodeat 55Hz (A1) filtered through a 160Hz low-pass filter for the sub-bass drone. - Detuned harmonic fifths (82.2Hz) creating binaural ambient beating.
- Bandpass-filtered white noise bursts for EVP paranormal radio frequencies.
- High-Q harmonic sine pairs for Tibetan singing-bowl spirit chimes.
-
Why Does Open Innovation Matter?
1. Air-Gapped Privacy for Personal Grief
A DÃa de los Muertos ofrenda is deeply sacred and intimate. When people write remembrances for a deceased parent, share childhood memories, or upload photographs of late mentors, that data represents raw human vulnerability.
If an ofrenda application relies on closed cloud APIs (like OpenAI or Anthropic), every word of private grief is uploaded, logged, inspected, and used to train commercial advertising profiles.
With open-weight models running on-device, your remembrances never leave your machine. You can pull your Ethernet cord, turn off your WiFi router, and commune with your loved ones in complete air-gapped sanctuary.
2. Perpetual Existence vs. Corporate Deprecation
Closed cloud services are ephemeral. Startups pivot, APIs are paywalled, terms of service change, and companies sunset products without notice. We experienced this tragedy firsthand with the death of Adobe Flash: millions of interactive artworks, indie animations, and games vanished overnight because they relied on a proprietary runtime.
Open-weight models formatted in open standards (ONNX, GGUF) and open-source web code (HTML/CSS/JS) can be executed 20, 50, or 100 years from now on any open machine. Open innovation is our only shield against digital amnesia.
3. Resilience in Storms and Blackouts
Halloween night is famous for autumn windstorms, lightning, and power outages. Closed APIs fail the moment the internet connection drops. Because NecroOS runs entirely on local open-weight models, it functions on an unplugged laptop battery in a dark storm shelter with the lights—and the internet—completely off.
4. Zero Marginal Cost & Uncensored Folklore
Closed APIs enforce corporate safety guidelines that sanitize authentic gothic mythos, traditional folklore, or spooky dialogue as "unsafe" or "morbid." Open weights give creators the freedom to explore folklore authentically, with zero monthly subscriptions, zero API credits, and zero rate limits.
The Spirit of It
The moment this project truly landed was during testing of the Digital Ofrenda.
When you light the central votive candle, the screen warms with golden amber light, cempasúchil petals drift down across the monitor, and you click "Read Blessing" on the memorial for The Abandoned Open-Source Library:
"En memoria sagrada of the unheralded maintainer who wrote code at 2:00 AM on a Sunday that still powers 100,000 servers. We light this candle so the scent of cempasúchil guides your spirit back across the veil. In an age of ephemeral clouds, we archive your name in open silicon that no one can tear down."
At that moment, the boundary between technology and remembrance vanished. Code isn't just logic gates and silicon—it is human thought crystallized in time.
Prize Categories
- Open-Source AI at its Core
- Ghost in the Machine (Halloween & DÃa de los Muertos Theme)
Created with reverence and open weights for Hacktoberfest 2026.

Top comments (0)