README.md

July 20, 2023 · View on GitHub

A branch for bot to interact with google bard ( comes with acheong08 )

Authentication

Go to https://bard.google.com/

  • F12 for console
  • Copy the values
    • Session: Go to Application → Cookies → __Secure-1PSID and __Secure-1PSIDTS. Copy the value of that cookie.

Usage

Create a file named docker-compose.yml

services:
  chatgpt:
    image: sheepgreen/bard
    container_name: bard
    environment:
      - BARD__Secure_1PSID="value got above"
      - BARD__Secure_1PSIDTS="value got above"
      - TELEGRAM_BOT_TOKEN="your telegram bot token"
    restart: always

Then run docker-compose up -d,that's all!