Skip to content

temi3500/chat-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 GAI Chatbot

A command-line chatbot powered by Google's Gemini AI, written in Go. It provides a sleek "hacker-style" interface with color effects and animations for a better user experience.

🚀 Features

  • AI-powered responses using Google Gemini API
  • Hacker-style UI with animations and colors
  • Typing effect for a more interactive chat
  • Error handling and validation

🛠 Installation

1️⃣ Clone the Repository

git clone https://github.com/temin3500/chat-bot.git
cd chat-bot
### 2️⃣ Install Dependencies  
```sh
go mod tidy

3️⃣ Set Up Environment Variables

Create a .env file (or copy .env.example):

cp .env.example .env

Edit .env and add your Gemini API key:

GEMINI_API_KEY=your-api-key-here

4️⃣ Run the Chatbot

go run main.go chat

📜 Usage

Once started, type your messages and receive AI responses. To exit, type:

exit

🔧 Troubleshooting

  • If dependencies are missing, run:
    go mod tidy
  • If you see an API error, ensure your Gemini API key is correct and active.

📜 License

MIT License - Use freely, but give credit.

✨ Author

Created by Tameem Ahmad Shahzad


🔥 Enjoy chatting with AI in style!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages