Bard
Google's Bard chatbot API for NodeJs
Installation
$ npm i bard-bot -g
Authentication
Go to https://bard.google.com/
- F12 for console
- Copy the values
- Session: Go to Application → Cookies →
__Secure-1PSID
. Copy the value of that cookie.
- Session: Go to Application → Cookies →
Usage
$
usage: bard --session SESSION
options:
-h, --help show this help message and exit
--session SESSION __Secure-1PSID cookie.
Credits:
- acheong08 - Bard API for Python
- discordtehe - Derivative of his original reverse engineering