Use go-readability to remove noise from webpage --> Download all the images and change their refs to point to local images --> Add the content to epub structure created using go-epub
Hi, earlier I created it as a wrapper using calibre and percollate. It was not portable at all.
This weekend, re-wrote it in golang to use go-readability for converting HTML to readable content and then build epub from there.
Now, binary can be used directly without worrying about extra dependencies.
Name is kindle-send but it is just pushing epubs via email. So shouldn't be a problem if you're using a different reader that supports receiving ebooks via email.
I read lot of blogs, made something similar [0] a while ago.
Write now installing it is painful, if you don't have calibre or node js installed.
Re-writing it all in nodejs, so that installation is easier. Calibre is not needed now, as amazon started converting epubs to azw3.
reply