Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/arnaucube/link2epub
- Owner: arnaucube
- License: gpl-3.0
- Created: 2020-01-14T20:37:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-02T08:22:28.000Z (about 2 years ago)
- Last Synced: 2024-06-20T09:16:14.614Z (5 months ago)
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.