Add more book repositories.
Opened this issue · 2 comments
Hi.
The addition of more book repositories, like Project Gutenberg, is a high priority which will enchase the overall usefulness of BookCut.
The first idea is to create a new command, for example:
bookcut gutenberg --search "Moby Dick"
Any recommendation about free book repositories or implementation of the addition is welcome.
Hi
I'm not sure if a specific command like bookcut gutenberg
is the best way to go here, since there are a lot of free sources for ebooks https://www.tckpublishing.com/websites-download-free-ebooks/
It might be a better idea to use a --repos
option where one can set a list of repositories to search for an ebook.
Like this:
bookcut book --repos=gutenberg,libgen -a Homer -b Iliad
If no repos option is given, a list of repos could be set in the configuration file, ordered by priority.
They could be searched one after the other, until a certain number of results is found and the user is prompted to select one of the mirrors to download.
What do you think?
Hi again.
I believe your idea about repos option is superb!
But I think it's a better idea to insert the new feature under bookcut search
command, keep the default search repo the libgen and give the option to change it through bookcut config
.
I'm currently working on a new branch about repositories addition. What do you think?