A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GabrielRF/Send2KindleBot below:

GabrielRF/Send2KindleBot: Send to Kindle Telegram Bot

This is a Telegram Bot that sends documents to Kindle devices. It runs on Python 3 and uses Postfix and SQLite3.

Try it!

In order to work, users must register on the bot two e-mails, Amazon's Account e-mail and Kindle's e-mail.

If you need help with your Kindle's e-mail, please, refer to: https://www.amazon.com/gp/sendtokindle/email

First of all, install Postfix on your computer/server. Make sure port 25 is opened so the bot can send e-mails.

# apt-get install postfix

After initial setup, copy both files from the folder postfix to /etc/postfix.

# mv postfix/* /etc/postfix
This configuration will allow e-mails to be sent only from localhost. This is important to avoid spamming from your server.

Make sure to restart postfix and check if its running

# service postfix restart
# service postfix status

Clone/Download this repository. Install requirements.

# pip3 install -r requirements.txt

Use Pipenv. Install requirements.

# pip3 install pipenv
# pipenv install -r requirements.txt

Make sure kindle.conf is properly configured.

cp kindle.conf_sample kindle.conf

TOKEN = Bot's token given by the BotFather.

logfile = Log file with 24 hour rotation.

data_base = Database location.

table = Table's name.

python3 pdftokindlebot.py

To contribute install the development dependencies.

# pip3 install -r requirements.txt

Or use Pipenv to install.

# pip3 install pipenv
# pipenv install -r requirements.txt

Before sending your pull request, make sure you ran the linter.

And the auto format.

Bot icon made by Ariyasu. Thank you!

Contact: Discord ariyasu#9690


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4