Skip to content

Commit

Permalink
Final update before moving to gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
philborman committed Nov 10, 2018
1 parent 06fc024 commit d9002e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 65 deletions.
65 changes: 4 additions & 61 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,66 +2,9 @@
LazyLibrarian is a program to follow authors and grab metadata for all your digital reading needs.
It uses a combination of [Goodreads](https://www.goodreads.com/) [Librarything](https://www.librarything.com/) and optionally [GoogleBooks](https://www.googleapis.com/books/v1/) as sources for author info and book info. License: GNU GPL v3

Right now it's capable of the following:
* Import an existing calibre library (optional)
* Find authors and add them to the database
* List all books of an author and mark ebooks or audiobooks as 'wanted'.
* LazyLibrarian will search for a nzb-file or a torrent or magnet link for that book
* If a nzb/torrent/magnet is found it will be sent to a download client or saved in a black hole where your download client can pick it up.
* Currently supported download clients for usenet are :
- sabnzbd (versions later than 0.7.x preferred)
- nzbget
- synology_downloadstation
* Currently supported download clients for torrent and magnets are:
- deluge
- transmission
- utorrent
- qbittorrent
- rtorrent
- synology_downloadstation
* When processing the downloaded books it will save a cover picture (if available) and save all metadata into metadata.opf next to the bookfile (calibre compatible format)
* The new theme for the site allows it to be accessed (and usable) from devices with a smaller screen (such as an iPad)
* AutoAdd feature for book management tools like Calibre which must have books in flattened directory structure, or use calibre to import your books into an existing calibre library
* LazyLibrarian can also be used to search for and download magazines, and monitor for new issues
##Development has moved to [GitLab](https://lazylibrarian.gitlab.io/)

## Screenshots
<img src="http://i.imgur.com/O8awy.png" width="600">
<img src="http://i.imgur.com/fr0yE.png" width="600">
<img src="http://i.imgur.com/AOgh1.png" width="600">
Current source repos is [LazyLibrarian](https://gitlab.com/LazyLibrarian/LazyLibrarian.git)

## Install:
LazyLibrarian runs by default on port 5299 at http://localhost:5299

Linux / Mac OS X:

* Install Python 2 v2.6 or higher, or Python 3 v3.5 or higher
* Git clone/extract LL wherever you like
* Run "python LazyLibrarian.py -d" to start in daemon mode
* Fill in all the config (see [ Wiki](https://github.com/DobyTang/LazyLibrarian/wiki/) for full configuration)

* Start in daemon mode with `python LazyLibrarian.py -daemon`

## Documentation:
There is a wiki at https://github.com/DobyTang/LazyLibrarian/wiki
and a reddit at https://www.reddit.com/r/LazyLibrarian/

Docker tutorial http://sasquatters.com/lazylibrarian-docker/
Config tutorial http://sasquatters.com/lazylibrarian-configuration/
(thanks @mccorkled)

For more options see the [Wiki](https://github.com/DobyTang/LazyLibrarian/wiki/).

## Update
Auto update available via interface from master for git and source installs

## Packages
rpm deb and snap packages here : https://github.com/DobyTang/LazyLibrarian/releases
The snap package is confined to users home directory, so all books and downloads need to be accessible from there too.
Install the snap package with flags --dangerous --devmode
AUR package available here: https://aur.archlinux.org/packages/lazylibrarian/
QNAP LazyLibrarian is now available for the QNAP NAS via sherpa. https://forum.qnap.com/viewtopic.php?f=320&t=132373v

## Docker packages
armhf version here : https://hub.docker.com/r/lsioarmhf/lazylibrarian/
x64 version here : https://hub.docker.com/r/linuxserver/lazylibrarian/
with calibredb here: https://hub.docker.com/r/thraxis/lazylibrarian-calibre/
All open issues have been moved over to [LazyLibrarian Issues](https://gitlab.com/LazyLibrarian/LazyLibrarian/issues)
Please open any new issues on the new repo as the old one is no longer maintained, thanks
4 changes: 2 additions & 2 deletions data/interfaces/bookstrap/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<div id="subhead_container">
<div id="subhead_menu">
<a onclick="self.shutdownQA(this)" class="button btn btn-sm btn-danger" data-toggle="tooltip" data-placement="bottom" title="Terminate the LazyLibrarian process - Be careful if you're doing this remotely"><i class="fa fa-power-off"></i> Shutdown</a>
<a class="button btn btn-sm btn-warning" onclick="self.restartQA(this, '', '')" data-toggle="tooltip" data-placement="bottom" title="Restart LazyLibrarian"><i class="fa fa-sync"></i> Restart</a>
<a class="button btn btn-sm btn-warning" onclick="self.restartQA(this, '', '')"><i class="fa fa-sync"></i> Restart</a>
<button class="button btn btn-sm btn-primary" type="button" value="System Info" id="sysinfo"><i class="fa fa-cogs"></i> System Info</button>
<button class="button btn btn-sm btn-primary" type="button" value="Show Jobs" id="show_Jobs"><i class="fa fa-list-ul"></i> Job Status</button>
<button class="button btn btn-sm btn-primary" type="button" value="Show Stats" id="show_Stats"><i class="fa fa-list-ul"></i> DB Stats</button>
<button class="button btn btn-sm btn-primary" type="button" value="checkforupdates" id="checkforupdates"><i class="fa fa-list-alt"></i> Check Version</button>
%if lazylibrarian.CONFIG['USER_ACCOUNTS'] == True:
<a class="button btn btn-sm btn-primary" href="userAdmin" data-toggle="tooltip" data-placement="bottom" title="Manage user accounts"><i class="fa fa-user"></i> User Admin</a>
<a class="button btn btn-sm btn-primary" href="userAdmin"><i class="fa fa-user"></i> User Admin</a>
%endif
<button class="hidden" onclick="" id="myAlert" title=""><i class="fa fa-circle-notch fa-spin"></i> Checking, please wait...</button>
</div>
Expand Down
4 changes: 2 additions & 2 deletions lazylibrarian/dbupgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,10 +1208,9 @@ def db_v43(myDB, upgradelog):
myDB.action('DROP TABLE temp_table')
upgradelog.write("%s v43: complete\n" % time.ctime())


"""
def db_v44(myDB, upgradelog):
if lazylibrarian.CONFIG['GIT_USER'].lower() == 'philborman':
if lazylibrarian.CONFIG['GIT_USER'].lower() == 'dobytang':
upgradelog.write("%s v44: %s\n" % (time.ctime(), "Updating git host"))
timer = 60
while timer > 0:
Expand All @@ -1224,6 +1223,7 @@ def db_v44(myDB, upgradelog):
timer -= 1
lazylibrarian.CONFIG['GIT_USER'] = 'LazyLibrarian'
lazylibrarian.CONFIG['GIT_HOST'] = 'gitlab.com'
lazylibrarian.CONFIG['GITLAB_TOKEN'] = 'gitlab+deploy-token-25650:dPocQXZTi--s69kykCxJ@gitlab.com'
lazylibrarian.config_write('Git')
upgradelog.write("%s v44: complete\n" % time.ctime())
"""

0 comments on commit d9002e4

Please sign in to comment.