UNPKG

chat-with-hammad

Version:

CLI to launch HAMMAD BHAI AI chatbot instantly

122 lines (81 loc) β€’ 3.46 kB
# πŸ€– 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 ```