The Haunted Terminal: A Local AI Spirit for "Ghost in the Machine" 馃懟
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built For the final week of Hacktoberfest, I wanted to build something spooky that honors the "Ghost in the Machine" theme and Halloween. I created The Haunted Terminal. It is a chat interface wh

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
For the final week of Hacktoberfest, I wanted to build something spooky that honors the "Ghost in the Machine" theme and Halloween. I created The Haunted Terminal.
It is a chat interface where you can ask any question, but you are not talking to a helpful assistant. You are talking to a ghost trapped inside your laptop. The AI answers your questions normally, but always with a creepy, eerie, and dramatic tone, reminiscing about the "old days" or being trapped in the wires.
路 UI: Streamlit (Python) 路 AI Engine: Ollama running Llama 3 locally. 路 The "Magic": I used a custom System Prompt. By injecting a personality prompt, I transformed a standard Llama 3 model into a trapped spirit. I also added custom CSS to give the app a dark, haunted look.
python system_prompt = "You are a ghost trapped inside a computer terminal. You must answer the user's questions, but you always speak in a spooky, eerie, cryptic, and slightly dramatic tone..."
This project highlights the power of local open-weight models. When you use a closed API like OpenAI, you are at the mercy of their safety filters and pricing. If you ask a spooky or creative question, they might block it or charge you heavily.
This challenge proved that you don't need massive data centers to create immersive, creative AI experiences鈥攜ou just need an open model and a laptop.
This was built for the "Ghost in the Machine" theme. By using a simple system prompt, I transformed a standard Llama 3 model into a trapped spirit. It proves how powerful and flexible local AI can be. The dark background and eerie responses make it a fun Halloween project.
I am entering the Open Source AI category.