https://github.com/jimmydaddy/vscode-bard
bard extension for vscode
https://github.com/jimmydaddy/vscode-bard
bard bard-ai googlebard vscode vscode-extension
Last synced: about 1 year ago
JSON representation
bard extension for vscode
- Host: GitHub
- URL: https://github.com/jimmydaddy/vscode-bard
- Owner: JimmyDaddy
- License: mit
- Created: 2023-09-09T03:24:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-12T03:06:49.000Z (over 2 years ago)
- Last Synced: 2025-04-06T08:46:23.771Z (about 1 year ago)
- Topics: bard, bard-ai, googlebard, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=jimmydaddy.vscode-bard
- Size: 1.51 MB
- Stars: 16
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
#
Google Bard (beta) vscode extension
[](https://marketplace.visualstudio.com/items?itemName=jimmydaddy.vscode-bard)
[](https://marketplace.visualstudio.com/items?itemName=jimmydaddy.vscode-bard)
This is a vs code extension for [Google Bard(beta)](https://bard.google.com/).
> ***Google has not provided any open APIs for Bard, this extension is solely for entertainment and learning purposes.***
## Features
* Chat with [Google bard(beta)](https://bard.google.com/) in vscode
* Multiple answers for one question
## Extension Settings
* `vscode-bard.cookies`: Your Google Bard cookies.
## How to get cookies?
### Solution 1
* Go to and login.
* Open developer tools and go to `Application` tab.
* Click on `Cookies` and then `https://bard.google.com`.
* Search for `__Secure-1PSID` and copy the value.
* Paste the value `__Secure-1PSID={WHAT YOU COPIED}` in the extension settings `vscode-bard.cookies`.
* OR use shot cut `ctrl+shift+B` and paste the value.

### Solution 2
* Go to and login.
* Open developer tools and go to network tab.
* Click on any request of the host `bard.google.com` and copy the value of `Cookie` header.
* Paste the value in the extension settings `vscode-bard.cookies`.
* OR use shot cut `ctrl+shift+B` and 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!**