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.
Release files for Gemini-cli-by-Yoru-cyber 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Gemini-cli_by_Yoru-cyber-1.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Gemini_cli_by_Yoru_cyber-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / Gemini-cli_by_Yoru-cyber-1.1.0.tar.gz
| Download URL | Gemini-cli_by_Yoru-cyber-1.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce0b55a6ff1c4c2e443c149b15475f12586e7f57f7a772d93af1181f51a8357c
|
|
BLAKE2b-256 checksum How to use checksums |
bb087a7a537339336ea23064ed925c53e44aaae14215f6aa48eb087b20235eb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / Gemini_cli_by_Yoru_cyber-1.1.0-py3-none-any.whl
| Download URL | Gemini_cli_by_Yoru_cyber-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee44a1e2d7e48b74558ecd2105faa6e54f86b36ad5a258b2ce56f0ed998ef081
|
|
BLAKE2b-256 checksum How to use checksums |
6cfde9c02841f8da75169ca800533cfccc4013c66d2776ca680ec75314222608
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|