arnaucube
arnaucube/link2epubPublic Self-hosted repository
link2epub/README.md
README.mdRaw
 1# link2epub [![Go Report Card](https://goreportcard.com/badge/github.com/arnaucube/link2epub)](https://goreportcard.com/report/github.com/arnaucube/link2epub)
 2Very simple tool to download articles and convert it to `.epub`/`.mobi` files.
 3
 4It gets the text content, simplifies its html, downloads the images, and builds the `.epub`/`.mobi` file.
 5
 6## Download
 7- Binary can be:
 8	- downloaded from [releases section](https://github.com/arnaucube/link2epub/releases)
 9	- compiled with `go build`
10
11## Usage
12Needs [calibre](https://calibre-ebook.com/) in order to convert to `.epub` and `.mobi`.
13
14Putting the binary in the `~/bin` directory will be more comfortable.
15
16```bash
17link2epub -l https://link.com/to-the-article
18
19// optionally add extension (by default .mobi)
20link2epub -l https://link.com/to-the-article -type mobi
21link2epub -l https://link.com/to-the-article -type epub
22
23// see help for all the available flags
24link2epub --help
25```
26
27Thanks to [@dhole](https://github.com/dhole) for the advisment.
28