AskGopher is a minimalist CLI tool that brings the power of Google’s Gemini AI directly to your terminal. Whether you’re debugging, brainstorming, or seeking intelligent answers, AskGopher lets you stay in the flow of your work—no browser required.
• Minimalist Interface: Clean and distraction-free experience.
• Powered by Google Gemini AI: Tap into state-of-the-art AI capabilities.
• Instant Responses: Get answers to your queries in real time.
• Browser-Free: No need to switch between applications—everything happens in the terminal.
• Blazing Fast: Built with Go for optimized performance.
🚀 Getting Started
Before you begin, ensure you have: • Go (1.23) • A Google Cloud account • A Google API key with the Gemini API enabled
git clone https://github.com/nsahil992/AskGopher.git
cd AskGopher
go mod tidy
Create a .env file in the root directory:
touch .env
- Add your Google API key to the .env file:
GOOGLE_API_KEY=your-google-api-key
Build the CLI tool:
go build -o askgopher
Run the application:
./askgopher
1. Run the askgopher binary in your terminal.
2. Type your questions when prompted, and get instant responses from the Gemini AI!
3. Type quit to exit the application.
Example:
💭 Ask something (or 'quit' to end): What is Go programming language?
🤖 Answering:
Go, also known as Golang, is an open-source programming language created by Google...
⭐ Support the Project
If you find AskGopher helpful, consider giving it a ⭐ on GitHub! Your support keeps me motivated to build more innovative tools and share exciting projects.
I’ll be publishing a detailed blog on AskGopher. Stay tuned for insights!
• Follow me on GitHub for more projects.
• Connect on LinkedIn.
AskGopher requires a valid Google API key with access to the Gemini API. Please ensure you adhere to Google’s API usage policies to avoid issues.