English | 简体中文
Send E-Book to kindle with Telegram Bot.
Try it: https://t.me/e_book_send_bot
- Open bot link:https://t.me/e_book_send_bot
- Send /email your-kindle-email@kindle.com to set your kindle email address.
- Add bot email to your Approved Personal Document E-mail.
- Send a supported document to this bot and check your kindle.
- doc
- docx
- rtf
- html
- htm
- txt
- zip
- mobi
- azw
- azw1
- azw3
- azw4
- fb2
- epub
- lrf
- kfx
- pdb
- lit
- copy config.ini.example to config.ini
- install requirements
pip install -r requirments.txt
- install calibre
- run main.py
python main.py
[default]
# mode: [dev] printf runtime log to console
mode = dev
# Set a daily limit of e-mailing per user
email_send_limit = 10
# for example:
# SQLite[recommended]: sqlite:///database.db
# Mysql[recommended]: mysql+pool://username:passwordroot@127.0.0.1:3306/ebook_sender_bot?max_connections=20&stale_timeout=300
# Mysql: connection pool: mysql://username:password@127.0.0.1:3306/ebook_sender_bot
database = mysql+pool://root:root@127.0.0.1:3306/ebook_sender_bot?max_connections=20&stale_timeout=300
[smtp]
host=smtp.gmail.com
port=465
username=your_email_address
password=your_email_account_password
[telegram]
# telegram tg_bot token
bot_token=your_telegram_bot_token
# your telegram chat id
developer_chat_id=your_telegram_chat_id
- Send document to kindle email
- mysql
- document information
- covert books with calibre
- use configParse instead of os.getenv()
- i18n
- telegram MessageReply class
- unique email
- admin command
- queue
- test case