Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arnaucube/link2epub

Very simple tool to download articles and convert it to .epub/.mobi files.
https://github.com/arnaucube/link2epub

Last synced: about 9 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# link2epub [![Go Report Card](https://goreportcard.com/badge/github.com/arnaucube/link2epub)](https://goreportcard.com/report/github.com/arnaucube/link2epub)
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
- Binary can be:
- downloaded from [releases section](https://github.com/arnaucube/link2epub/releases)
- compiled with `go build`

## Usage
Needs [calibre](https://calibre-ebook.com/) in order to convert to `.epub` and `.mobi`.

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

```bash
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](https://github.com/dhole) for the advisment.