- gemi cli can read a text file and answer questions based on the prompt
- It can read an image and answer questions based on the prompt
- It can read small pdfs (4-8 pages) and answer questions based on the prompt
- It can read a single page of a pdf and answer questions based on the prompt
YouTube Demo Link
usage: gemi-cli [-h] [-c] [-ri image_location] [-rf file_location] [-rpdf file_location]
                [-page page_number] [-p prompt]
gemi-cli - A CLI application to access gemini from your command line. :)
options:
  -h, --help            show this help message and exit
  -c, --chat            Start a conversation with gemini
  -ri image_location, --read-image image_location
                        Show image at specified location.
  -rf file_location, --read-file file_location
                        Read contents of the specified file or small pdfs.
  -rpdf file_location, --read-pdf-file file_location
                        Read contents of a specified page from a pdf file.
  -page page_number     Specify page number for PDF file.
  -p prompt, --prompt prompt
                        Add a prompt
- Clone the repo and cdinto it
- Run pip install -r requirements.txt
- Execute chmod +x gemi-cli
- Execute pwdwhich should give you your current location
- If you are using zshthen add this lineexport PATH=$PATH:"the path got from pwd"to your.zshrcfile. If you are usingbashadd theexportline to your.bashrcfile
- Execute source ~/.zshrcorsource ~/.bashrc
- Now you can use the gemi-clicommand from anywhere in your machine
- At first you'll be asked to get the API_KEY. After getting the API_KEY rename the .env_examplefile to.envand paste the Key there
- Remove the exportline from.zshrcor.bashrc
- Run pip uninstall -y -r requirements.txt
- Now you have removed gemi-clifrom your machine


