A telegram bot for book-searcher. Create and search books index, create your private library on Telegram.
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
- Get the source code
git clone https://github.com/lewangdev/bookbookgo_bot.git
- Install dependencies.
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
- 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
- Now run
python bookbookgo_bot/main.py
, you may press CTRL + c to stop the bot.