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 Distribution

Gemini-cli_by_Yoru-cyber-1.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file Gemini-cli_by_Yoru-cyber-1.1.0.tar.gz.

File metadata

File hashes

Hashes for Gemini-cli_by_Yoru-cyber-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ce0b55a6ff1c4c2e443c149b15475f12586e7f57f7a772d93af1181f51a8357c
MD5 64aad78feb4956570f7039aa80898a49
BLAKE2b-256 bb087a7a537339336ea23064ed925c53e44aaae14215f6aa48eb087b20235eb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Gemini_cli_by_Yoru_cyber-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee44a1e2d7e48b74558ecd2105faa6e54f86b36ad5a258b2ce56f0ed998ef081
MD5 4e18c9bd19c7da59fda07d3e22f26386
BLAKE2b-256 6cfde9c02841f8da75169ca800533cfccc4013c66d2776ca680ec75314222608

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