Skip to content

astro-prog/Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 Chatbot

A lightweight, browser-based chatbot built with vanilla HTML, CSS, and JavaScript. Designed for learning, experimenting, or embedding simple conversational logic into websites.

✨ Features

  • 🧠 Basic keyword-matching chatbot
  • 🖥️ Clean and responsive UI
  • 🛠️ Fully customizable response set
  • ⚡ No frameworks or libraries needed

📁 Project Structure

bash Chatbot/ ├── index.html # Main web page ├── style.css # Chatbot styling ├── main.js # Chat logic and event handling └── chatdataset.js # Predefined Q&A dataset

🚀 Getting Started

🧪 Run Locally

  1. Clone the repository

    git clone https://github.com/astro-prog/Chatbot.git
    cd Chatbot
    
    
  2. Open index.html in a browser Just double-click the file or use a live server if you're using VS Code.

✔️ That’s it—no builds, no dependencies, just open and go!

⚙️ Customize Your Bot

You can add or update responses in chatdataset.js. Here’s how;

javascript { question: "hello", answer: "Hi there! How can I help you today?" }

Want to make your bot smarter? Add more entries or improve the keyword-matching logic in main.js.

🤝 Contributing

Feel free to open issues or submit pull requests!

Steps:

  1. Fork this repo
  2. Create your feature branch: git checkout -b feature/awesome-feature
  3. Commit changes: git commit -m 'Add awesome feature'
  4. Push to your branch: git push origin feature/awesome-feature
  5. Open a pull request 🚀

Feel free to use, modify, or share it as you like!❤️

📬 Contact

Made with ❤️ by @astro-prog

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published