Send2Kindle
A Python mailer specifically crafted for FreeTamilEbooks.com to add ebooks directly to kindle device.
Send to Kindle by E-mail
Send documents to your Kindle as an email attachment You and your approved contacts can send documents to your registered Kindle devices, free Kindle reading applications, and your Kindle Library in the Amazon Cloud by e-mailing them to your Send-to-Kindle e-mail address ([name]@kindle.com). Your Send-to-Kindle e-mail address is a unique e-mail address assigned to each of your Kindle devices and free Kindle reading applications upon registration.
To know how to add a contact to approved list see here
Tech
Send2Kindle uses a number of python in-built and opensource projects to work properly:
- Flask - microframework for Python
- Twitter Bootstrap - great UI boilerplate for modern web apps
- jQuery- duh
Installation
You need Python 2.*, its dependency packages, flask installed globally:
$ git clone https://github.com/Dineshkarthik/Send2Kindle.git
$ cd Send2Kindle
$ pip install -r requirements.txt
$ python mailer.py
By default the script runs in port 5000
, this can be changed to any port of required port using -p or --port
option.
python mailer.py -p 8000
Configurations
- URL should have 2 parameters
- fileurl - Url of the file to be mailed.
- filename - Name of the file to be mailed.
- ex: http://localhost:5000/?fileurl=http://freetamilebooks.com/download/%E0%AE%95%E0%AF%8B%E0%AE%B5%E0%AF%882%E0%AE%A4%E0%AE%BF%E0%AE%B2%E0%AF%8D%E0%AE%B2%E0%AE%BF-mobi/&filename=Kovai2delhi%20-%20Adhi%20Venkat.mobi
License
MIT
Free Software, Hell Yeah!