Skip to content

muhammadolammi/gochat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gochat

Use Gemini from your terminal

Features

A gemini chat from terminal. Saves time from going online everytime or to chatgpt Chats saving to have access to history

Usage:

You must have golang installed Create a google Ai Studio Account googleaistudio Generate an api key here https://aistudio.google.com/app/apikey Set and environment varialble of GEMINI_API_KEY on your bashrc , vim ~/.bashrc || code ~/.bashrc for vscode then export GEMINI_API_KEY=<your apikey> To enable chat saving set and env variable of SAVE_GO_CHAT=true All chats are saved at "./chats", i.e your working dir /chats install this package from github with go go install github.com/muhammadolammi/gochat@latest Now run gochat You can create an .env file alternatively in working directly , to manage your enviromnet variables.

Incoming Features:

Enable history

tips:

if you use vscode run '$HOMEDIR/gochat/data/chats' , so you can see each of your chats as an md file.

About

Use Gemini from your terminal

Resources

Stars

Watchers

Forks

Packages

No packages published