cd /news/artificial-intelligence/hacktoberfest-open-source-ai-challen… · home › topics › artificial-intelligence › article
[ARTICLE · art-160390] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine

A developer built Haunted Terminal, a zero-dependency Python tool that reads shell history across PowerShell, Bash, Zsh and Fish and pipes recent commands into an open-weight model (llama3.2:3b) running locally via Ollama, which streams back darkly funny commentary in spectral red. The tool offers four personas and a --watch mode, and keeps command history on-device to avoid sending file paths, server names and possible tokens to a closed API. It was submitted to the Hacktoberfest Open-Source AI Challenge under the 'Ghost in the Machine' theme.

by read1 min views2 publishedOct 29, 2026

Haunted Terminal is a ghost that lives in your shell. It reads your recent command history and whispers back eerie, darkly funny commentary about what you've been typing. Run git push --force and the ghost notices. Run rm -rf and it pretends to mourn.

Your terminal already knows everything you do, so I thought: what if something was watching? There are four personas (default, pirate, victorian, old-sysadmin) and a --watch mode that keeps haunting you as you work.

"A digital phantom trapped inside your machine, watching every keystroke in the dark."

Built for the Hacktoberfest Open-Source AI Challenge (Theme: "Ghost in the Machine").

Haunted Terminal is a lightweight, zero-dependency Python tool that awakens an eerie spectral presence trapped inside your terminal session. It monitors your shell history across Windows PowerShell, Bash, Zsh, and Fish, feeding your recent commands into an open-weight model running 100% locally through Ollama.

The ghost streams haunting, darkly funny commentary back into your console in vivid spectral red, character by character, mocking your mortal command-line endeavors.

urllib, json, argparse). No pip install required.llama3.2:3b, an open-weight model, running locally through Ollama--model, --last, --watch, --history, --persona, --save The ghost's voice is just a system prompt, so changing personality means editing a few lines.

Shell history is full of secrets: file paths, server names, sometimes tokens. Sending that to a closed API would be a bad idea. Running an open model locally means:

qwen2.5:7b, mistral or phi3 with one flag A closed API couldn't give me all four at once.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @ollama 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hacktoberfest-open-s…] indexed:0 read:1min 2026-10-29 · —