An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Bard
Google's Bard chatbot API for NodeJs

Screenshot 2023-03-29 at 18 49 42

## 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 SESSION

options:
-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