You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucube 19cd78ec15 add cli flag for custom title, add title & author in the content init 2 years ago
.gitignore initial commit 2 years ago
LICENSE Initial commit 2 years ago
README.md add cli flag for custom title, add title & author in the content init 2 years ago
go.mod initial commit 2 years ago
go.sum initial commit 2 years ago
main.go add cli flag for custom title, add title & author in the content init 2 years ago

README.md

link2epub Go Report Card

Very simple tool to download articles and convert it to .epub/.mobi files.

It gets the text content, simplifies its html, downloads the images, and builds the .epub/.mobi file.

Download

Usage

Needs calibre in order to convert to .epub and .mobi.

Putting the binary in the ~/bin directory will be more comfortable.

link2epub -l https://link.com/to-the-article

// optionally add extension (by default .mobi)
link2epub -l https://link.com/to-the-article -type mobi
link2epub -l https://link.com/to-the-article -type epub

// see help for all the available flags
link2epub --help

Thanks to @dhole for the advisment.