This is a vs code extension for Google Bard(beta).
Google has not provided any open APIs for Bard, this extension is solely for entertainment and learning purposes.
-
Chat with Google bard(beta) in vscode
-
Multiple answers for one question
vscode-bard.cookies: Your Google Bard cookies.
-
Go to https://bard.google.com and login.
-
Open developer tools and go to
Applicationtab. -
Click on
Cookiesand thenhttps://bard.google.com. -
Search for
__Secure-1PSIDand copy the value. -
Paste the value
__Secure-1PSID={WHAT YOU COPIED}in the extension settingsvscode-bard.cookies. -
OR use shot cut
ctrl+shift+Band paste the value.
-
Go to https://bard.google.com and login.
-
Open developer tools and go to network tab.
-
Click on any request of the host
bard.google.comand copy the value ofCookieheader. -
Paste the value in the extension settings
vscode-bard.cookies. -
OR use shot cut
ctrl+shift+Band paste the value.
Note:
Remember to close the opened bard webpage after getting the cookie.
Due to Google's security policy, different regions may require different cookies. You can try setting all cookies starting with __Secure-1, or copy the entire cookie value as in Solution 2.
Enjoy!

