summaryrefslogtreecommitdiff
path: root/calibre.html
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-08-03 13:49:51 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-08-03 13:49:51 -0400
commit210ee55fe7bd4daef976e8bbcb9dc75a0302d2c5 (patch)
treeeacdf923896a42a34ca19624fb4b1cf96b28a3ed /calibre.html
parent5c12d0ae9a9500a0bf46a3cb9769c77c76dc24bd (diff)
calibre fixes
Diffstat (limited to 'calibre.html')
-rw-r--r--calibre.html38
1 files changed, 16 insertions, 22 deletions
diff --git a/calibre.html b/calibre.html
index 0e88410..8f56e86 100644
--- a/calibre.html
+++ b/calibre.html
@@ -12,20 +12,22 @@
<header><h1>Setting up a Calibre library server</h1></header>
<nav></nav>
<main>
+ <img src="pix/calibre.png" alt="Calibre logo" class=titleimg>
<p>
The Calibre library server is a great way to store your eBooks.
It allows you to:
+ </p>
+ <ul>
<li>Share your books with others.</li>
<li>Easily transfer your books between devices and access them from anywhere.</li>
- </p>
+ </ul>
<h2>Installation</h2>
- <p>
- Install the Calibre package.
- </p>
+ <p>Install the Calibre package.
+ You might also want rsync to upload books.</p>
- <pre><code>apt update && apt install calibre
+ <pre><code>apt install -y calibre rsync
mkdir /opt/calibre</code></pre>
<p>
@@ -37,14 +39,14 @@ mkdir /opt/calibre</code></pre>
</p>
<pre><code>cd ~/Documents
-rsync -avuP your_library root@example.org:/opt/calibre/</code></pre>
+rsync -avuP <strong>your-library-dir</strong> root@<strong>example.org</strong>:/opt/calibre/</code></pre>
<p>
Or create a library and add a book to it:
</p>
<pre><code>cd /opt/calibre
-calibredb add book.epub --with-library your_library</code></pre>
+calibredb add <strong>book.epub</strong> --with-library <strong>your-library</strong></code></pre>
<aside>
<p>
@@ -103,40 +105,32 @@ systemctl start calibre-server</code></pre>
<pre><code>server {
listen 80;
client_max_body_size 64M; # to upload large books
- server_name calibre.example.org;
+ server_name <strong>calibre.example.org</strong> ;
location / {
proxy_pass http://127.0.0.1:8080;
}
}</code></pre>
- <p>
- Issue a Let's Encrypt certificate. <a href="certbot.html">Detailed instructions and additional information</a>.
- </p>
+ <p>Issue a Let's Encrypt certificate. <a href="certbot.html">Detailed instructions and additional information</a>.</p>
<pre><code>certbot --nginx</code></pre>
- <p>
- Now just go to calibre.example.org. The server will request an username and a password.
- </p>
+ <p>Now just go to <strong>calibre.example.org</strong>. The server will request an username and a password.</p>
<a href="pix/calibre-1.png">
<img src="pix/calibre/calibre-1.png" alt="calibre">
</a>
- <p>
- After login you will see something like this.
- </p>
+ <p>After login you will see something like this.</p>
<a href="pix/calibre-1.png">
<img src="pix/calibre/calibre-2.png" alt="calibre">
</a>
- <hr>
-
- <p>
- Author: rflx -- <a href="https://rflx.xyz">website</a> -- XMR: 48T5XpHTXAZ5Nn8YCypA4aWn1ffQLHJkFGDArXQB6cmrP6cqLY72cu7CR2iq2MmL5Ndu3d47e5MKjGpL4prYgdrTCFAHD9c
- </p>
+ <h2>Contribution</h2>
+ <li>Author: rflx &ndash; <a href="https://rflx.xyz">website</a> -- XMR: <code class=crypto>48T5XpHTXAZ5Nn8YCypA4aWn1ffQLHJkFGDArXQB6cmrP6cqLY72cu7CR2iq2MmL5Ndu3d47e5MKjGpL4prYgdrTCFAHD9c</code>
+ </li>
</main>
<footer><a href="https://landchad.net">LandChad.net</a></br>Because Everyone should be an Internet LandChad.</br><li><a href="index.html"><img src="pix/chad.gif" alt="chad"></a></li><li><a href="rss.xml"><img src="pix/rss.svg" alt="RSS"></a></li><li><a href="pix/btc.png"><img src="pix/btc.svg" alt="BTC"></a></li><li><a href="pix/xmr.png"><img src="pix/xmr.svg" alt="XMR"></a></li><li><a href="https://github.com/lukesmithxyz/landchad"><img src="pix/git.svg" alt="Github"></a></footer>
</body>