A spooky, funny chatbot built with HTML, CSS, and JavaScript, based on my original Python project GhostBot.
This project began as a way for me to practice building chatbots — and it turned into a playful little haunted companion.
GhostBot-Web lets you scan your home for paranormal activity, perform digital cleanses, or summon magical (and slightly unhinged) spirits when you’re feeling lonely — all from your browser! :)
🌐 Live demo:
https://petratype.github.io/ghostbot-web
GhostBot is a haunted AI born from a broken laptop during a thunderstorm.
It scans for spirits, cleanses cursed code, and occasionally summons mystical creatures to keep you company while you debug your life.
Type any of these in the chat:
| Command | Description |
|---|---|
bio |
Learn GhostBot’s origin story |
scan |
Check your surroundings for paranormal activity |
cleanse |
Purify your digital aura with style |
summon |
Call forth a random magical being |
bye |
End the session (for now...) |
- HTML5 – structure
- CSS3 – spooky but minimal styling
- JavaScript – chatbot logic
- Hosted with GitHub Pages
- Randomized ghost scans, summoning messages, and cleansing rituals
- Dynamic chat interface with user + bot messages
- One-time welcome message after your first message
- Fully responsive and easy to share via GitHub Pages
-
Clone this repo:
git clone https://github.com/Petratype/ghostbot-web.git cd ghostbot-web```
-
Open index.html in your browser — and let the haunting begin!
This is the first version of GhostBot-Web. In the future, I’d love to add more responses, deeper interactions, and maybe even some new spooky features to make it feel more alive (or... undead). 👻
any feedback is welcome!
Created by PetraType ♥ because even ghosts need someone to talk to.