Skip to content

AdamSEY/bard-unofficial-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bard

Google's Bard chatbot API for NodeJs

Screenshot 2023-03-29 at 18 49 42

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.

Usage

$ 
usage: bard --session SESSION

options:
  -h, --help         show this help message and exit
  --session SESSION  __Secure-1PSID cookie.

Credits: