Skip to main content

A small Python package to use Gemini on your terminal.

Project description

Gemini-cli

This is a command line tool to use the Gemini API provided by Google cloud.

Usage

Install dependencies

Clone the respository

git clone https://github.com/Yoru-cyber/Gemini-cli

Install dependencies

pip install -r requirements.txt

Setup your API key

First you need to have a Google Cloud API key to use Gemini. Once you have you API key, just create a .env file inside the Gemini-cli folder

Create .env

touch .env

Adding the key

Now you need to add your key as a variable

GOOGLE_API_KEY = YOUR KEY GOES HERE

You can rename it if you want but then you need to change where it says GOOGLE_API_KEY on main.py

Running

Now just execute on the terminal

python3 main.py

That's all 🤠

Feedback

All types of positive feedback are welcomed.

This is my first published project hoping that is useful to someone.

Be free to improve or modify.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Gemini_cli_by_Yoru_cyber-1.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file Gemini_cli_by_Yoru_cyber-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Gemini_cli_by_Yoru_cyber-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c4c199e23c8d612eaa036e7da68af3679fe0a548a12b46d6a2fb7ee4ba70cf1
MD5 1ac91c8895045d1ca0ff32bdb112292a
BLAKE2b-256 51da6a1791a518877ee113a193971b4a2788fdb344773ee73267ed7f92b3076d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page