DEV Community

Cover image for GHOST.exe: A Haunted Terminal from the Other Side of the Machine
Tejasvi
Tejasvi

Posted on

GHOST.exe: A Haunted Terminal from the Other Side of the Machine

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

What I Built

I built GHOST.exe, a spooky, interactive haunted terminal inspired by Halloween and the mysterious side of technology.

What if your terminal could talk back?

GHOST.exe lets users interact with a fictional digital ghost through terminal-style commands. It responds with eerie messages, displays random horror stories, simulates system scans, and adds glitch effects to create a retro hacker atmosphere.

I interpreted the Ghost in the Machine theme as a mysterious digital presence hiding inside an ordinary computer interface.

Features

  • Animated ghost character with glitch effects
  • Retro terminal with neon-green visuals
  • Interactive commands such as summon, story, scan, time, and help
  • Random spooky stories
  • Responsive interface for desktop and mobile
  • Runs locally in a web browser without a backend

Demo

Live Website: https://tejasvimishra6.github.io/ghost-in-the-machine/

Try typing summon, story, or scan into the terminal and see what happens!

Code

GitHub Repository: https://github.com/TejasviMishra6/ghost-in-the-machine

The project is built with HTML, CSS, and JavaScript. The code is available in the repository for anyone interested in exploring or extending it.

How I Built It

I built GHOST.exe using three core web technologies:

  • HTML for the structure of the terminal and interface.
  • CSS for the dark theme, neon-green styling, responsive layout, and floating ghost animations.
  • JavaScript for command handling, terminal output, random story selection, and interactive effects.

The current version uses client-side JavaScript and predefined responses, so it doesn't require a backend or an AI API.

Open-source AI is my next step: I plan to explore integrating an open-weight model through Ollama so the ghost can generate original responses locally instead of relying on predefined messages.

Why Does Open Innovation Matter?

Open innovation gives developers the freedom to experiment, modify existing tools, and build technology they can understand and control.

For GHOST.exe, the browser-based approach keeps the core experience simple, accessible, and locally runnable without depending on a hosted API. It also provides a foundation for a future integration with a locally running open-weight model.

A local model could make the experience more private and customizable, while allowing developers to experiment with different models and behaviors.

I believe spooky projects can be more than visual experiments: they can be a fun way to explore accessible, open, and user-controlled technology.

My Agent Session

I built the current version directly with HTML, CSS, and JavaScript. I don't have a saved DevRelay agent session to share for this submission.

The Spirit of It

There is something fascinating about an old terminal, a blinking cursor, and a message that seems to come from nowhere.

GHOST.exe explores that feeling through a fictional digital entity that responds whenever someone types a command. It turns an ordinary browser window into a tiny haunted machine.

The idea is simple: sometimes, the creepiest thing on your screen is the thing you didn't expect to answer.

The machine never sleeps. The ghost is waiting.

Prize Categories

This is a creative web project built with HTML, CSS, and JavaScript, with a planned open-weight AI integration.

The current version does not yet integrate an open-weight AI model. I'll select any applicable prize categories after checking the challenge's eligibility requirements.


Built with curiosity and a little bit of code.

Hacktoberfest #OpenSource #AI #JavaScript #GhostInTheMachine

Top comments (0)