A sleek, dark‑themed desktop chatbot built with 🐍 Python, CustomTkinter GUI, and the Groq LLaMA 3.1 API.
- Context‑aware conversation memory
- Streaming AI response with typing effect
- Responsive UI with multithreading
- Secure Groq API key via
.env
- PyInstaller compatible for standalone builds
├── assets/ # UI icons and screenshots
├── app.py # Main application
├── requirements.txt # Dependencies
├── .gitignore
├── LICENSE
└── README.md
Technology | Purpose |
---|---|
Python | Core programming language |
CustomTkinter | Desktop UI framework with modern widgets |
Groq API (LLaMA 3) | AI model for chatbot responses |
Pillow (PIL) | Image handling |
dotenv | Securely manage API keys |
threading / sys / os | System utilities and multithreading support |
-
Clone the repo:
git clone https://github.com/KaisoX24/Desktop-Ai-chatbot.git cd Desktop-Ai-chatbot
-
Create & activate a virtual environment:
python -m venv venv # Windows: venv\Scripts\activate # macOS/Linux: source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Add your Groq API key in a
.env
file:GROQ_API_KEY=your_api_key_here
-
Run the app:
python app.py
-
(Optional) Build a standalone executable:
pyinstaller --onefile --windowed app.py
Pramit Acharjya – GitHub
This project is licensed under the MIT License.