feat: interactive cli

using fzf wrapped by pyfzf
This commit is contained in:
eneller
2025-02-25 12:18:13 +01:00
parent 7f488c638c
commit 8e0d92d796
6 changed files with 61 additions and 45 deletions

View File

@@ -2,8 +2,9 @@
web to epub converter for https://projekt-gutenberg.org.
Requires:
- [pandoc](https://pandoc.org/)
- wget
- python
- [wget](https://www.gnu.org/software/wget/)
- [fzf](https://github.com/junegunn/fzf) (only for interactive mode)
- python (duh)
## Usage
Invoke the script using the url of any page of the book you would like to download:
```
@@ -12,6 +13,6 @@ epub2go https://www.projekt-gutenberg.org/ibsen/solness/
## Installation
Assuming you have a recent version of python installed, run
```
pip install git+https://github.com/eneller/epub2go.py
pip install git+https://github.com/eneller/epub2go.py@latest
```
This will provide the 'epub2go' command.