#page-to-kindle send any webpage to your kindle
- read the Page with node-readability
- write content to pdf with phantomjs
- send pdf via Email (nodemailer) to the Amazon Kindle convert Service
var pageToKindle = require('pageToKindle');
var sendParams = {
mailOptions : {
to : 'your-kindle-mail-adress@kindle.com'
},
//Nodemailer Transporter
transporter : {
service : 'Gmail',
auth : {
user : 'gmail-user-name',
pass : 'gmail-pass'
}
}
};
var sendUrl = pageToKindle.send("www.awesomewebsite.com", sendParams);
sendUrl.done(function() {
console.log('page is sent to kindle...');
});`