👻 Ghostly AI — The Haunted Story Generator
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine.
What I Built
Ghostly AI is a spooky interactive website that brings horror stories to life through the theme of haunted machines, mysterious messages, and forgotten memories.
Users 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.
I 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!
Demo
👻 Try Ghostly AI:
https://aiman00-coder.github.io/GHOSTLY-AI/
Code
💻 GitHub Repository:
https://github.com/Aiman00-coder/GHOSTLY-AI
The project is built using three separate files:
-
index.html— Website structure -
style.css— Dark theme, animations, and visual design -
script.js— Story generation and interactive features
How I Built It
I built Ghostly AI using HTML, CSS, and JavaScript.
HTML 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.
The project includes a rule-based offline story generator and an optional integration with Ollama to run an open-weight language model locally.
The 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.
Why Does Open Innovation Matter?
Open innovation gives developers the freedom to experiment, customize technology, and build projects without depending entirely on closed AI services.
With 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.
Another important part of this project is its offline story generator, which provides a basic experience without an internet connection or an AI model.
For me, this project is an opportunity to explore how open technologies can make AI more accessible, customizable, and privacy-friendly.
My Agent Session
I used AI assistance to help plan the project structure, write the HTML, CSS, and JavaScript, and prepare the project documentation.
An agent session recording can be added here if available.
The Spirit of It
Imagine opening an old computer late at night and seeing a message appear on the screen:
"YOU LEFT ME HERE."
That small moment inspired Ghostly AI. I wanted to turn a simple website into an interactive experience where technology, imagination, and horror meet.
Sometimes, the creepiest stories begin with a machine that should have been switched off.
Prize Categories
This project explores the open-source AI theme through its optional local-model integration.
Add specific partner prize categories here only if the project meets their eligibility requirements.
Made with curiosity, code, and a little bit of darkness. 👻
Top comments (0)