I got tired of using curl to make API calls to Gemini just to have an "AI" in my terminal. I wanted something that could also maintain context. The web felt and is bloated, so I built this snazzy CLI tool instead.
- Get a Gemini API key from ai.google.dev.
- Export the key as an environment variable:
export GOOGLE_API_KEY=your_api_key_here- Install the application
You can install vyai from the AUR using an AUR helper like yay or paru:
yay -S vyai
# or
paru -S vyaiElse you can install it manually using git and makepkg:
git clone https://aur.archlinux.org/vyai.git
cd vyai
makepkg -siOn Windows you can install it using scoop
# First add the bucket
scoop bucket add vybraan https://github.com/vybraan/bucket
#Then Install it
scoop install vyai- Clone the repository:
3. Run the application using:
```bash
make runor
go run cmd/main.goWhile not a comprehensive list, repology provides a decent list of distro specific packages.
- Enter → Send message
- Ctrl + C → Close the app
- Tab / Ctrl + Right → Next tab
- Shift + Tab / Ctrl + Left → Previous tab
- ESC → Normal mode
- I → Insert mode
- Ctrl + N → New Chat
- Ctrl + E → Edit Chat with default editor (falback to vi)
- / → Search in chats
- j/down → scroll down
- k/up → scroll up
- g/home → scroll to start
- G/end → scroll to end
- ? → Show/Close help
