Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lewangdev/bookbookgo_bot
A Telegram bot for book-searcher. Create and search books index, create your private library on Telegram.
https://github.com/lewangdev/bookbookgo_bot
books ipfs telegram-bot
Last synced: 16 days ago
JSON representation
A Telegram bot for book-searcher. Create and search books index, create your private library on Telegram.
- Host: GitHub
- URL: https://github.com/lewangdev/bookbookgo_bot
- Owner: lewangdev
- License: apache-2.0
- Created: 2023-01-08T04:52:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-12T10:08:50.000Z (over 1 year ago)
- Last Synced: 2024-08-20T14:56:55.093Z (3 months ago)
- Topics: books, ipfs, telegram-bot
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 38
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BookBookGo Bot
A telegram bot for [book-searcher](https://github.com/book-searcher-org/book-searcher). Create and search books index, create your private library on Telegram.
## Try 👇️
[![telegram-bot](https://img.shields.io/badge/bot-@BookBookGo-blue?logo=telegram)](https://t.me/bookbookgo_bot)
## How to run
### Docker
```sh
sudo docker compose up -d
```OR
```sh
sudo docker run -d \
-e BOT_TOKEN= \
-e BOOK_SEARCHER_BASE_URL=https://zlib.cydiar.com \
--name bookbookgo_bot \
--restart unless-stopped \
lewangdev/bookbookgo_bot```
### From Source Code
0. Get the source code
```sh
git clone https://github.com/lewangdev/bookbookgo_bot.git
```1. Install dependencies.
```bash
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
```2. Create a file `.env` which contains this.
```text
# 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.ioLOG_LEVEL = debug
```3. 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](https://img.shields.io/badge/chat-@lewang-blue?logo=telegram)](https://t.me/lewang)