"GhostWriter AI 👻: Stories from the Other Side"
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built 👻 GhostWriter AI — Stories from the Other Side What if your imagination could summon a ghost to write your next horror story? GhostWriter AI is a local AI-powered horror story generator th

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
👻 GhostWriter AI — Stories from the Other Side
What if your imagination could summon a ghost to write your next horror story?
GhostWriter AI is a local AI-powered horror story generator that transforms simple ideas into chilling tales. Built for the Hacktoberfest Week 4 challenge, it explores the spooky side of artificial intelligence while demonstrating the power of running AI directly on your own computer.
Users can enter a story premise, choose a horror category, and select how the story ends.
The goal was simple: build something spooky, visually engaging, and fun while demonstrating that AI doesn't always need to live in the cloud.
The demo showcases the spooky interface, local AI story generation, horror category selection, and different ending styles.
📹 Demo Video: Watch GhostWriter AI in Action
The application runs locally; the URL above is not a public deployment. See the GitHub README for complete setup instructions.
Feel free to explore the implementation and suggest improvements!
I wanted to keep the architecture simple, beginner-friendly, and centered on local AI inference.
I also implemented a health endpoint to check whether the local AI service and configured model are available.
I verified the homepage, AI health endpoint, empty-input validation, and live story generation.
During testing, the local model successfully generated a horror story of approximately 414 words in 56 seconds.
This demonstrated that the application could generate stories without relying on a hosted AI API. Generation speed depends on the model, computer hardware, and output length.
For GhostWriter AI, open innovation is more than a technology choice. It changes where AI runs and who controls the experience.
The application communicates with a locally running Ollama instance. Prompts can remain on the user's computer rather than being sent to an external AI provider.
Once the model has been downloaded, story generation can work without an internet connection, provided Ollama is running locally and the required resources are available.
The application can be configured to use other compatible models available through Ollama. This allows users to experiment with different models without redesigning the entire application.
There are no per-request charges from a hosted AI API. Local inference still consumes computing resources and electricity, but users can experiment without depending on a paid generation service.
Building this application helped me understand how an AI-powered application connects its frontend, backend, and inference runtime.
Instead of treating AI as a mysterious external service, I could inspect the integration and control how the application interacts with the model.
Open innovation makes AI more accessible, customizable, and controllable.
Halloween is the perfect time to explore the strange relationship between technology and imagination.
GhostWriter AI takes the familiar idea of a ghost story and gives it a modern twist: the storyteller is an AI model running on your own computer.
There is something fun about entering a simple sentence like:
A ghost appears in my college hostel at midnight.
…and watching a local AI turn it into a supernatural mystery.
The machine may not contain a real ghost, but it can certainly create a few sleepless nights. 👻
The idea behind GhostWriter AI is simple:
Let your imagination summon the story, and let the machine bring it to life.
Built independently for the Hacktoberfest Open-Source AI Challenge Week 4.