chat-with-hammad
Version:
CLI to launch HAMMAD BHAI AI chatbot instantly
122 lines (81 loc) β’ 3.46 kB
Markdown
# π€ HAMMAD BHAI β Your Friendly AI Chatbot π
Welcome to **HAMMAD BHAI**, an open-source multilingual AI chatbot built using **Gemini 2.0 Flash** and **Chainlit**.
Created with β€οΈ by **MUHAMMAD HAMMAD ZUBAIR**, this chatbot is designed to talk like your best friend β in any language, with full emoji support ππ
## π§ What's Special?
> "Main HAMMAD BHAI hoon π€, mujhe **MUHAMMAD HAMMAD ZUBAIR** ne banaya hai π‘.
> Main unki ek creative creation hoon β yahan hoon sirf tumhari madad ke liye! πͺ"
β¨ **Multilingual Responses** (Auto detects language)
β¨ **Gemini 2.0 Flash** powered AI (Fast, smart, latest model)
β¨ **Emotional Replies** with Emojis π₯°
β¨ **Fully Open Source** β Use, Learn, Modify
β¨ **Built with Python + Chainlit + Google AI**
β¨ Designed for students, educators, and developers ππ¨βπ»
## π Project Structure
```
project/
βββ app/
β βββ main.py # Main Chatbot App
βββ .env # API key goes here
βββ chainlit.md # Welcome message for chatbot
βββ pyproject.toml # Python project dependencies
βββ requirements.txt # Install from here
βββ uv.lock # Lock file
βββ .chainlit/
βββ config.toml # Chainlit settings
```
## β‘ Quick One-Line Setup (2 OPTIONS)
### 1) π§ͺ Manual Setup Command (for devs)
```bash
git clone https://github.com/MUHAMMAD-HAMMAD-ZUBAIR/CHAT-BOT-2.0.git && cd CHAT-BOT-2.0 && pip install -r requirements.txt && chainlit run app/main.py
```
### 2) πͺ Simple One-Line Setup via NPX
```bash
npx chat-with-hammad@latest
```
## β
How to Run Manually (Step-by-step)
### 1. π Clone the Repository
```bash
git clone https://github.com/MUHAMMAD-HAMMAD-ZUBAIR/CHAT-BOT-2.0.git
cd CHAT-BOT-2.0
```
### 2. π¦ Install Requirements
```bash
pip install -r requirements.txt
```
### 3. π§Ά Create `.env` File
Create a `.env` file in the root directory and add your API Key:
```env
GOOGLE_API_KEY=your_real_google_api_key_here
```
### 4. βΆοΈ Run the Chatbot
```bash
chainlit run app/main.py -w
```
Open the localhost link to chat with **HAMMAD BHAI π€**.
## π Language Support
This AI bot can auto-detect and reply in multiple languages including:
**Urdu, Hindi, English, Pashto, Spanish, Arabic, and more...** β with full emoji support ππ¬
## π§βπ» Developer Info
| Name | Role | GitHub Link |
| -------------------------- | --------------- | ------------------------------------------------ |
| **MUHAMMAD HAMMAD ZUBAIR** | Developer π¨βπ» | [@MUHAMMAD-HAMMAD-ZUBAIR](https://github.com/MUHAMMAD-HAMMAD-ZUBAIR) |
## π License
This project is licensed under the **MIT License**.
Use it freely, remix it, and build something awesome π
## πͺ Special Message
> If you found this helpful, please consider giving a π on GitHub and spreading the word about **HAMMAD BHAI**.
> Letβs build respectful AI that connects hearts through emotion and code β€οΈ
```
π‘ DEVELOPED WITH β€οΈ BY MUHAMMAD HAMMAD ZUBAIR
π€ POWERED BY GEMINI AI + CHAINLIT
π DESIGNED TO CONNECT HEARTS THROUGH CODE
```