A simple command-line interface to Google's Bard Artificial Intelligence Chatbot.
- Clone the repository
- In the project directory, run
dotnet build --configuration Release
- Copy the
bin/Release/net6.0/GoogleBard
file to a directory in yourPATH
environment variable - It will create a log file of the questions and answers in the current directory of the executable
Get the current session ID:
- Go to
https://bard.google.com
- Open developer tools
- Go to Application -> Cookies
- Copy the content of
__Secure-1PSID
- Set the environment variable
BARD_SESSION
to the value of__Secure-1PSID
, example:
export BARD_SESSION=<__Secure-1PSID>
- Don Stringham