bookbookgo_bot icon indicating copy to clipboard operation
bookbookgo_bot copied to clipboard

A Telegram bot for book-searcher. Create and search books index, create your private library on Telegram.

BookBookGo Bot

A telegram bot for book-searcher. Create and search books index, create your private library on Telegram.

Try 👇️

telegram-bot

How to run

Docker

sudo docker compose up -d

OR

sudo docker run -d \
-e BOT_TOKEN=<Your TG BOT TOKEN> \
-e BOOK_SEARCHER_BASE_URL=https://zlib.cydiar.com \
--name bookbookgo_bot \
--restart unless-stopped \
lewangdev/bookbookgo_bot

From Source Code

  1. Get the source code
git clone https://github.com/lewangdev/bookbookgo_bot.git
  1. Install dependencies.
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
  1. Create a file .env which contains this.
# Put your actual bot token
# Keep this file secret
# Use https://t.me/botfather to create your bot
BOT_TOKEN =

# https://github.com/book-searcher-org/book-searcher
BOOK_SEARCHER_BASE_URL = https://zlib.cydiar.com

# https://ipfs.github.io/public-gateway-checker/
IPFS_GATEWAY_BASE_URL = https://ipfs.io

LOG_LEVEL = debug
  1. Now run python bookbookgo_bot/main.py, you may press CTRL + c to stop the bot.

For furthur assistance Or need help to develop a Telegram Bot

telegram-chat