A simple, interactive Gemini AI terminal client for Linux.
- Chat with Gemini 2.0 Flash API from your terminal
- Fast, minimal, and easy to use
- Spinner animation while waiting for responses
- Graceful error handling
- Bash shell
jqinstalled (sudo apt install jqor equivalent)- A Gemini API key
-
Clone or Download this Repository
git clone https://github.com/your-username/StarBoi.git cd StarBoi -
Make the Script Executable
chmod +x starboi.sh
-
(Optional) Move the Script to Your PATH
sudo cp starboi.sh /usr/local/bin/starboi
-
Set Up Your API Key
Create a file named
.starboi.envin your home directory:nano ~/.starboi.envAdd this line (replace with your actual API key):
GEMINI_API_KEY=your_actual_api_key -
Install jq
sudo apt install jq # Debian/Ubuntu # or sudo dnf install jq # Fedora # or brew install jq # macOS/Homebrew
Start the chat by running:
starboior (if not moved to PATH):
./starboi.sh- Type your message and press Enter.
- Type
exitto quit.
- Never share your API key publicly.
- Each user should use their own API key in their own
~/.starboi.envfile.
- If you see an error about
jq, install it as shown above. - If you see an API error, check your API key and quota.
MIT License
Made with ❤️ by EvoG1