This is a smart and lightweight chatbot built using HTML, CSS, JavaScript, and Gemini API.
It can be easily integrated into any website by defining simple keywords and responses, allowing the chatbot to talk about that specific website dynamically.
- π€ Powered by Gemini API
- π§© Can be added to any website
- ποΈ Works on keyword-based responses
- β‘ Lightweight and fast
- π§ Provides intelligent AI-based replies
- π¨ Built with pure HTML, CSS, and JavaScript
- The chatbot listens to user input.
- It checks for matching keywords in your predefined list.
- Sends the corresponding response if a match is found.
- For unmatched queries, it uses the Gemini API to generate smart responses.
| Technology | Description |
|---|---|
| HTML | Structure of the chatbot interface |
| CSS | Styling and layout of the chat window |
| JavaScript | Handles input, logic, and API calls |
| Gemini API | Provides AI-based intelligent responses |
- Clone this repository
git clone https://github.com/<your-username>/<repo-name>.git
- Navigate to project folder
cd <repo-name>
- Add your Gemini API key
const API_KEY = "YOUR_GEMINI_API_KEY";
- Run the project
Simply open index.html in your browser.
- Copy the chatbot files or script to your project.
- Add your own keywords and responses in the JS file.
- Customize chatbot styling in the CSS file to match your website theme.
- Done! You now have a working chatbot on your site π.
- Improved UI/UX design
- Dark/Light mode option
- Chat history persistence
- Multi-language support
This project is open-source under the MIT License.
Gaincy Sharma π GitHub Profile
π¬ βA simple idea can turn into a powerful tool when built with curiosity and code.β