DEV Community

Nishchitha V
Nishchitha V

Posted on Edited on

**WEEK 4 DEV CHALLENGE - HALLOWEEN THEME - GHOST STORY GENERATOR:)**

Hacktoberfest Open-Source AI Challenge: Ghost in the Machine Submission πŸ‘»πŸŒΌ

πŸ‘» GhostWriter β€” Stories from Beyond the Machine

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine.

πŸ•―οΈ What I Built

GhostWriter is an AI-powered supernatural storytelling website inspired by the idea that technology might have secrets of its own.

What if an abandoned computer could tell a story? What if an AI discovered a message hidden inside forgotten code? What if a digital ghost was waiting for someone to listen?

GhostWriter brings these ideas to life by allowing users to create their own spooky stories.

Users can provide a story idea, choose characters and locations, select a mood, and generate supernatural tales featuring haunted computers, mysterious algorithms, digital spirits and self-aware machines.

I interpreted the Ghost in the Machine theme as a meeting point between artificial intelligence, imagination and the mysteries of technology.

My goal was to create something fun and creative while exploring how open-weight AI can be used to build an interactive storytelling experience.

πŸš€ Demo

🌐 Live Website: https://ghostwriter-gemma-horror.onrender.com

Explore the world of GhostWriter and discover the stories hiding inside the machine!

πŸ’» Code

πŸ”— **GitHub Repository:https://github.com/nishchithadev/Ghost_StoryWriter

The repository includes the application source code, setup instructions and deployment configuration.

Contributions, suggestions and feedback are welcome!

πŸ› οΈ How I Built It

I built GhostWriter with a focus on simplicity, accessibility and genuine AI-powered storytelling.

Technologies used:

  • Python and Flask: Backend application and API integration.
  • HTML, CSS and JavaScript: Frontend and interactive user experience.
  • Gemma: The open-weight AI model used for story generation.
  • GitHub: Source code management and open-source collaboration.
  • Render: Application hosting and deployment.

The intended workflow is simple:

  1. The user enters a story idea and selects their preferences.
  2. The Flask backend prepares the storytelling prompt.
  3. The prompt is sent to the Gemma model through a compatible inference provider.
  4. Gemma generates a story based on the user's inputs.
  5. The application displays the generated story.

My aim is to make Gemma the core of the storytelling experience rather than simply adding an AI label to a conventional website.

🌍 Why Does Open Innovation Matter?

Open innovation makes AI experimentation more accessible to students, independent developers and people who are just beginning their software development journey.

Open-weight models such as Gemma give developers opportunities to explore model behavior, experiment with prompts and build applications around their own ideas.

For GhostWriter, this means exploring how AI can support creativity and interactive storytelling without treating the model as a mysterious black box.

It also creates opportunities to learn about model integration, backend development, responsible API usage and open-source collaboration.

I built this project to learn by creating something tangibleβ€”and to explore how open AI technologies can turn an imaginative idea into a working application.

πŸ† Prize Categories

  • Best Use of Gemma: For integrating the Gemma open-weight model into an interactive AI storytelling application.

Thank you to the Hacktoberfest community for creating opportunities to experiment, learn and build with open-source AI!

What would you ask a ghost living inside a machine? πŸ‘»

Top comments (0)