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.

28 lines
1001 B

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