/bard-telegram-bot

🤖 A Telegram bot that integrates with Google's Bard to provide answers, with showing typing status support

Primary LanguagePython

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!