{"slug": "ghost-in-the-machine", "title": "Ghost in the Machine.", "summary": "A developer built Ghost in the Machine, a browser-based horror story generator written in HTML, CSS, and JavaScript that pairs a rule-based offline generator with an optional integration to run open-weight language models locally through Ollama. The project, submitted to the Hacktoberfest Open-Source AI Challenge, keeps user prompts on the local machine rather than sending them to a hosted AI provider, and falls back to the offline generator when no model or internet connection is available.", "body_md": "*This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine]\n\nGhost in the Machine is a spooky interactive website that brings horror stories to life through the theme of haunted machines, mysterious messages, and forgotten memories.\n\nUsers can enter their own story ideas, choose a horror mood, and generate creepy stories. The project combines a dark, neon-inspired interface with an offline story generator and an optional integration with Ollama for locally running open-weight AI models.\n\nI chose this idea because machines are a big part of our lives, but imagining what happens when a machine starts behaving in mysterious ways makes technology feel a little spooky!\n\n👻 **Try Ghost in the Machine.:**\n\n[https://bgunjan884-ux.github.io/-Ghost-in-the-Machine/](https://bgunjan884-ux.github.io/-Ghost-in-the-Machine/)\n\n💻 **GitHub Repository:**\n\n[https://github.com/bgunjan884-ux/-Ghost-in-the-Machine](https://github.com/bgunjan884-ux/-Ghost-in-the-Machine)\n\nThe project is built using three separate files:\n\n`index.html` — Website structure`style.css` — Dark theme, animations, and visual design`script.js` — Story generation and interactive features\nI built Ghost in the Machine using HTML, CSS, and JavaScript.\n\nHTML provides the website structure, CSS creates the spooky atmosphere with purple neon effects and floating animations, and JavaScript handles user input, horror moods, story generation, and copying stories.\n\nThe project includes a rule-based offline story generator and an optional integration with Ollama to run an open-weight language model locally.\n\nThe local AI integration is designed to generate original stories from user prompts without relying on a hosted AI API. It requires Ollama and a compatible model to be installed and running.\n\nOpen innovation gives developers the freedom to experiment, customize technology, and build projects without depending entirely on closed AI services.\n\nWith locally running open-weight models, developers can explore AI while keeping prompts on their own machines instead of sending them to an external AI provider. They can also experiment with different models and change how their applications behave.\n\nAnother important part of this project is its offline story generator, which provides a basic experience without an internet connection or an AI model.\n\nFor me, this project is an opportunity to explore how open technologies can make AI more accessible, customizable, and privacy-friendly.\n\nI used AI assistance to help plan the project structure, write the HTML, CSS, and JavaScript, and prepare the project documentation.\n\n*An agent session recording can be added here if available.*\n\nImagine opening an old computer late at night and seeing a message appear on the screen:\n\n**\"YOU LEFT ME HERE.\"**\n\nThat small moment inspired Ghost in the Machine.. I wanted to turn a simple website into an interactive experience where technology, imagination, and horror meet.\n\nSometimes, the creepiest stories begin with a machine that should have been switched off.\n\nThis project explores the open-source AI theme through its optional local-model integration.\n\n*Add specific partner prize categories here only if the project meets their eligibility requirements.*\n\n**Made with curiosity, code, and a little bit of darkness. 👻**", "url": "https://wpnews.pro/news/ghost-in-the-machine", "canonical_source": "https://dev.to/gunjan_bhandari_85599d16a/ghost-in-the-machine-9f3", "published_at": "2026-10-27 10:34:11+00:00", "updated_at": "2026-10-27 10:42:15.742583+00:00", "lang": "en", "topics": ["ai-tools", "generative-ai", "large-language-models", "ai-products"], "entities": ["Ghost in the Machine", "Ollama", "Hacktoberfest Open-Source AI Challenge", "GitHub"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/ghost-in-the-machine", "markdown": "https://wpnews.pro/news/ghost-in-the-machine.md", "text": "https://wpnews.pro/news/ghost-in-the-machine.txt", "jsonld": "https://wpnews.pro/news/ghost-in-the-machine.jsonld"}}