What if your computer could tell you a ghost story without connecting to the internet?
For this challenge, I explored the idea of GhostWriter, a local AI-powered storytelling tool that generates spooky, atmospheric stories using open-weight language models.
The idea was inspired by the mysterious atmosphere of Halloween and the tradition of remembering the past during Día de los Muertos. Stories have always helped us preserve memories, explore our fears, and imagine worlds beyond our own.
GhostWriter brings that spirit into the world of AI. Users can provide a setting, a character, or a simple idea, and the AI transforms it into an eerie short story filled with suspense, unexpected twists, and supernatural elements.
The goal is simple: make creative AI more private, accessible, customizable, and independent of cloud services.
Demo
🚧 Demo coming soon!
Add your deployed application link, screenshots, or a short video demonstration here.
The demo will showcase how a simple prompt can become a chilling story generated with the help of open-source AI.
Code
🔗 GitHub Repository: [Add your repository link here]
The repository will contain the project source code, setup instructions, and details about running the application locally.
How I Built It
GhostWriter is designed around the idea that AI storytelling should not depend entirely on a remote API.
The project uses an open-weight language model as its storytelling engine, allowing the generation process to run locally when supported by the selected model and hardware.
The core workflow is straightforward:
Prompt input: The user enters a theme, setting, character, or story idea.
Prompt engineering: The application shapes the input into instructions for generating an atmospheric and coherent story.
Local inference: An open-weight model generates the story on the user's machine.
Story output: The generated narrative is presented to the user, ready to read, save, or refine.
Technology Stack
AI model: An open-weight language model compatible with local inference.
Inference runtime: A local model runner such as Ollama (if used in your implementation).
Application: Add your actual frontend and backend technologies here.
Development: Git and GitHub for version control and sharing the project.
The focus is not simply on using AI to generate text. It is on building an experience where the model can be inspected, replaced, customized, and run under the user's control.
Why Does Open Innovation Matter?
This is the most important part of the project.
AI becomes much more interesting when developers can experiment beyond the boundaries of a closed API.
- Privacy Comes First
Creative prompts can contain personal experiences, family memories, or ideas that users are not comfortable sharing with an external service.
With local inference, prompts and generated stories can remain on the user's device, provided the application is configured without external data transmission.
- No Mandatory Cloud Dependency
A locally running model can generate stories without an internet connection after the model and required dependencies have been downloaded.
That means the experience can remain available even when connectivity is unreliable or unavailable.
- Freedom to Experiment
Open-weight models give developers the flexibility to experiment with different model families, prompts, inference settings, and generation strategies.
Instead of being tied to a single provider's API, GhostWriter can evolve as better models and tools become available.
- More Control Over Costs
Local inference can reduce recurring API expenses, especially for repeated experimentation and personal use. The trade-off is that users need suitable hardware and must account for electricity, memory, and setup costs.
For a small creative project, that freedom to experiment without paying for every generation can be valuable.
- A Project That Can Outlive a Service
Cloud APIs can change their pricing, impose usage limits, or become unavailable. A project built around replaceable models and local tools has more flexibility to adapt.
Open innovation matters because it gives developers ownership over the tools they build with—not just access to someone else's service.
My Agent Session
If an AI coding agent was used during development, add your DevRelay session here.
🔗 Agent Session: [Add your DevRelay session link here]
This section is optional, but sharing the development process can help others understand how the project evolved, which decisions were made, and what challenges came up along the way.
The Spirit of It
Halloween invites us to imagine what might be hiding in the dark. Día de los Muertos reminds us that memories and stories help keep the people and experiences we cherish alive.
GhostWriter sits somewhere between those two ideas.
It uses modern AI to explore an ancient human tradition: telling stories.
A few words can become a haunted house, a forgotten village, or a mysterious voice echoing through an abandoned terminal. The technology is modern, but the feeling is familiar.
And perhaps that is the real ghost in the machine—not a supernatural presence, but the stories, memories, and imagination we bring to it.
Prize Categories
Add the partner prize categories that genuinely apply to your implementation, based on the official challenge rules.
Final Thoughts
Building with open-source AI is about more than choosing a different model. It is about exploring what becomes possible when developers have greater control over their tools.
With GhostWriter, the goal is to combine creative storytelling with local AI, privacy, and freedom to experiment.
The future of AI does not have to live entirely in the cloud. Sometimes, the most interesting ideas emerge when we bring the intelligence back to our own machines.
👻 Have a spooky story idea? Give it a prompt and see what comes out of the machine.
Top comments (0)