• Stars
    star
    165
  • Rank 227,546 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Send to Kindle Telegram Bot

Send2KindleBot Logo

Send2KindleBot

Donate Deploy

About

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

Try it!

Usage

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

Setup

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.

Run it

python3 pdftokindlebot.py

Contribute

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.

# make lint

And the auto format.

# make format

Thanks

Bot icon made by Ariyasu. Thank you!

Contact: Discord ariyasu#9690

More Repositories

1

RastreioBot

Telegram Bot @RastreioBot
Python
365
star
2

telegram-id

How to get an id on Telegram Messenger
195
star
3

Zabbix-Telegram-Notification

Zabbix notifications on Telegram
70
star
4

Video2Telegram

Watches a folder. If new file, sends gif using Telegram Messenger.
Python
30
star
5

Rss2Telegram

Automatically sends rss feed posts to Telegram
Python
20
star
6

Telegram-Safe-Bot

Telegram Bot @Safe_Bot
Python
15
star
7

ClientesChat

A melhor maneira de atender seus clientes no Telegram!
Python
14
star
8

Docker-MongoDB-RPi

MongoDB Docker image for RaspberryPi
13
star
9

telegram-urlprobot

Telegram Bot http://telegram.me/urlprobot
Python
13
star
10

CentralDeTudo

Telegram @CentralDeTudo Bot
Python
10
star
11

telegram-lmgtfy_bot

Python
7
star
12

VideoCaptionsBot

Telegram Bot @VideoCaptionsBot
Python
7
star
13

ControlID2Telegram

Sends a text message everytime a door opens
Python
6
star
14

PromoApps

PromoApps Telegram Channel
Python
6
star
15

Voice2Text

Descrição automática de mensagens de voz em conversas privadas no Telegram
Python
6
star
16

Shell-Zabbix-WebScenario

Shell script that adds a Web Scenario and a Trigger on Zabbix
Shell
6
star
17

Weather2Telegram

Envio automático de previsão do tempo do INPE pelo Telegram
Python
5
star
18

Alohomora

Opens ControlID IDFlex when sees movement
Python
4
star
19

AcademiaNetflixBot

Python
4
star
20

ChatGPT-Telegram-Bot

Python
4
star
21

RegrasRobot

Bot do Telegram para aprovação de entrada de pessoas em grupo após leitura de regras
Python
4
star
22

Estatisticas-RastreioBot

3
star
23

PromoPassagens

Promoções de passagens aéreas no Telegram
Python
3
star
24

QuestoesDeConcursoBot

Telegram Bot QuestoesDeConcursoBot
Python
3
star
25

Document2Telegram

Watches a folder. If new file, sends it using Telegram Messenger.
Python
2
star
26

BsbDF

Telegram Public Channel
Python
2
star
27

S3Backup

Amazon S3 Backup
Python
2
star
28

Metro-Jornal-Telegram

Python
2
star
29

Calendar-Telegram-Alert

Python
1
star
30

Obra-Regular

CSS
1
star
31

ChatDeVozBot

Python
1
star
32

MQTT2Zabbix

MQTT to Zabbix
Python
1
star
33

TrafficStatus2Telegram

Python
1
star
34

ThreadLinkBot

Python
1
star