I Built a Haunted Terminal Possessed by an Open-Weight AI (And It Works 100% Offline) ๐ป
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built I built HauntShell ๐ป โ an offline-first terminal companion, shell wrapper, and digital necromancer powered by Google's open-weight Gemma 3 running locally on your own machine. Between Halloween (October 31) and Dรญa de los Muertos (November 1โ2), the veil between past and present thins.โฆ
In the spirit of Hacktoberfest's Open-Source AI Challenge Week 4, a software developer named Nobody-KnowsBetter has created a spooky terminal companion called HauntShell. This Halloween-themed tool is an offline-first terminal companion, shell wrapper, and digital necromancer that runs the open-weight Gemma 3 model locally on your machine.
The HauntShell offers four core experiences: the Possessed Terminal, the Interactive Digital Sรฉance Chamber, the Dรญa de los Muertos Digital Ofrenda, and the Victorian Codebase Autopsy. Each experience brings a unique haunted atmosphere to your command line.
The Possessed Terminal, powered by Haunt exec, observes and comments on your shell commands, particularly violent ones like "rm -rf" or runtime crashes. It provides eerie commentary live-streamed from within your machine.
In the Interactive Digital Sรฉance Chamber, you engage in multi-turn terminal sรฉances with various digital spirits, such as Clippy the Undead Revenant, Ada Lovelace, Alan Turing, and Dennis Ritchie. These spirits answer your questions and provide insights using a Deterministic Procedural Lore Engine that generates content even when offline.
The Dรญa de los Muertos Digital Ofrenda allows you to create a personalized ASCII altar with offerings to computing pioneers. You can add family oral histories and loved ones to the private altar, which stays on your machine.
Lastly, the Victorian Codebase Autopsy offers a forensic post-mortem for stack traces and segfaults. Dr. Victor von Necro conducts the autopsy, providing root-cause pathology and resurrection fixes.
HauntShell is open-source under the MIT license, allowing anyone to build something spooky or honor the past using open-weight models or open-source AI. The code is available on GitHub at https://github.com/Nobody-KnowsBetter/haunt-shell.
Written by urgent.news from Dev.to's reporting โ not their text. Machine-written โ may contain errors; check the original before relying on it.