Gemini Terminal is a chat application based on Google AI. You can use it by following the steps below.
- Clone this repository
git clone https://github.com/greycodee/gemini-terminal.git
- Build the project
cd gemini-terminal && go build .
- Run the project
./gemini-terminal
Note: You need to set your own Google AI key in the
$HOME/.local/share/gemini/config.ini
file.
The default configuration file is located at $HOME/.local/share/gemini/config.ini
. You can set your Google AI key and Gemini model name in this file.
[Gemini]
# set your own google ai key
googleAIKey=
# set gemini model name
model=gemini-pro
[SafetySetting]
# HarmBlockUnspecified HarmBlockThreshold = 0
# HarmBlockLowAndAbove means content with NEGLIGIBLE will be allowed.
# HarmBlockLowAndAbove HarmBlockThreshold = 1
# HarmBlockMediumAndAbove means content with NEGLIGIBLE and LOW will be allowed.
# HarmBlockMediumAndAbove HarmBlockThreshold = 2
# HarmBlockOnlyHigh means content with NEGLIGIBLE, LOW, and MEDIUM will be allowed.
# HarmBlockOnlyHigh HarmBlockThreshold = 3
# HarmBlockNone means all content will be allowed.
# HarmBlockNone HarmBlockThreshold = 4
level=4
The default database file is located at $HOME/.local/share/gemini/gemini.db
. You can view your chat history in this file.
- Support Chat List