niluke / google-gemini-pro-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google-gemini-pro-cli

Google gemini pro cli is a simple tool to generate responses with text-prompts through the terminal using the Google's Gemini Pro language model.


1216.mp4

Usage

Get an apiKey for gemini-pro -> https://makersuite.google.com/app/apikey

git clone https://github.com/niluk-256/google-gemini-pro-cli.git
cd google-gemini-pro-cli
create a file called .env and add API="Your api key" and save it 
chmod + x main.sh
In .zshrc / .bashrc ,
alias chat='"/home/{ur username}/google-gemini-pro-cli/main.sh"' 
(u can use whatever u like instead of chat )
 source ~/.zshrc
 reload  the terminal
 type ur shortcut key eg: chat  

About


Languages

Language:JavaScript 98.8%Language:Shell 1.2%