DEV Community

Titus-Dsouza
Titus-Dsouza

Posted on

πŸ‘» Ghost in the Machine: A Spooky Gemini-Powered AI Experience


What I Built

Ghost in the Machine is a Halloween-themed interactive website that brings together spooky visuals and artificial intelligence.

Inspired by the idea of a haunted computer, the project features a playful dark interface, floating ghost stickers, Halloween decorations, an interactive haunted terminal, and AI-generated spooky stories.

Rather than creating a serious horror experience, I wanted to make something friendly, fun, and interactive while exploring how AI can be integrated into a web application.

Demo

The project is currently under development.

A live demo will be added once deployment is complete.

Code

πŸ‘» GitHub Repository: https://github.com/Titus-Dsouza/Ghost-in-the-Machine

How I Built It

The project uses:

  • HTML5 for the website structure.
  • CSS3 for the dark Halloween theme, animations, and responsive design.
  • JavaScript for interactive elements and communication with the backend.
  • Python and Flask for backend API routes.
  • Google Gemini API for chatbot responses and spooky story generation.

The intended architecture connects the frontend to a Flask backend, which sends requests to Gemini and returns the generated responses to the website.

Why Does Open Innovation Matter?

Open innovation makes it easier for developers to experiment, learn from existing tools, share their work, and build on one another's ideas.

This project is an opportunity for me to explore AI integration, frontend development, backend APIs, and open-source project development. I also want to keep the code organized and accessible so others can understand the implementation and contribute improvements.

Although this project uses the Gemini API, I recognize that an API-based model is not itself necessarily open-source. The open-source aspect of this project is the code and the opportunity for others to inspect, learn from, and extend it.

My Agent Session

I used an AI coding agent to help develop and refine the project. I may add a session recording here if I publish one through DevRelay.

The Spirit of It

What if the computer you were coding on had a ghost living inside it?

That idea inspired Ghost in the Machine: a place where forgotten code, spooky stories, and AI meet in a playful Halloween experience.

The goal is to make experimenting with AI feel less intimidating and more creativeβ€”one ghostly message at a time. πŸ‘»πŸŽƒ

Prize Categories

This submission is for the Hacktoberfest Open-Source AI Challenge Week 4. Additional partner prize categories will be listed if applicable to the completed project.

Thanks for checking out my project! πŸ‘»

Top comments (0)