https://github.com/adamsey/bard-unofficial-api
Google's Bard ChatBot Unofficial NodeJS API
https://github.com/adamsey/bard-unofficial-api
ai api bard chatbot chatgpt cli google nodejs npm reverse-engineering scraping
Last synced: about 1 month ago
JSON representation
Google's Bard ChatBot Unofficial NodeJS API
- Host: GitHub
- URL: https://github.com/adamsey/bard-unofficial-api
- Owner: AdamSEY
- Created: 2023-03-29T15:03:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-21T19:36:41.000Z (over 2 years ago)
- Last Synced: 2025-04-15T19:49:23.596Z (6 months ago)
- Topics: ai, api, bard, chatbot, chatgpt, cli, google, nodejs, npm, reverse-engineering, scraping
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 21
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bard
![]()
Google's Bard chatbot API for NodeJs
## Installation
```bash
$ 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.## Usage
```bash
$
usage: bard --session SESSIONoptions:
-h, --help show this help message and exit
--session SESSION __Secure-1PSID cookie.
```Credits:
- [acheong08](https://github.com/acheong08/Bard) - Bard API for Python
- [discordtehe](https://github.com/discordtehe) - Derivative of his original reverse engineering