Difference between revisions of "Set up a local Calibre library"
Jump to navigation
Jump to search
(Created page with "== install calibre == works better on debian buster, than debian bullseye get buster <syntaxhighlight lang="bash" line> sudo apt update sudo apt install calibre </syntaxhig...") |
|||
Line 12: | Line 12: | ||
== create library and add a book == | == create library and add a book == | ||
The location of the directory will be in my home folder | The location of the directory will be in my home folder, which is /home/simoon. | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 18: | Line 18: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="bash"> | |||
wget http://www.gutenberg.org/ebooks/46.kindle.noimages -O christmascarol.mobi | |||
</syntaxhighlight> | |||
Then, we use calibredb to add the book to our library | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
calibredb add *.mobi --with-library calibre-library/ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
You should get a message saying "1 book added". | |||
Next, we're going to use calibre-server to start the service. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
calibre-server calibre-library | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 16:32, 4 April 2022
install calibre
works better on debian buster, than debian bullseye
get buster
sudo apt update
sudo apt install calibre
create library and add a book
The location of the directory will be in my home folder, which is /home/simoon.
mkdir calibre-library
wget http://www.gutenberg.org/ebooks/46.kindle.noimages -O christmascarol.mobi
Then, we use calibredb to add the book to our library
calibredb add *.mobi --with-library calibre-library/
You should get a message saying "1 book added".
Next, we're going to use calibre-server to start the service.
calibre-server calibre-library