[5 Mins Docker] Create Your Own Online e-Books Library with Calibre-web
29 views
Mar 25, 2025
If you have many e-books you collected and you are wondering how to organize them and read them at any convenient time, you must try this Calibre-web github project. It uses popular Calibre db and modern web UI to achieve this. Since there is a docker image ready to use, we can quickly spin it up in 5 minutes. This video will demonstrate all the steps which you might need, especially Calibre DB part. Github : https://github.com/janeczku/calibre-web Related Post: ✍https://g.51sec.org/books Related Videos: 🌟https://youtu.be/V1xnhqqg4Rw 🌟https://youtu.be/VhqCBZOjXF0 🌟https://youtu.be/_gKl_wtY_Gg 🌟https://youtu.be/vWyE6qn-46o 🌟https://youtu.be/FbihlMBNuro 🌟https://youtu.be/E9dHA3NBbN8 💖Chapters: 0:00 - Introduction 1:37 - Lets start it
View Video Transcript
0:00
[Music]
0:06
[Music]
0:09
hello everyone welcome to my nasac
0:12
YouTube channel this is Johnny in this
0:15
video I'm going to talk about the
0:16
caliber Das web Rel guitar project which
0:20
I found when I trying to get uh ebook
0:25
manager type software to manage all my
0:29
downloaded the digital
0:31
books and uh also my it documents then I
0:36
found calibri Das WB is quite meet my
0:41
requirement comparing to original calib
0:45
list
0:46
software which you also can find it from
0:49
GitHub project it's already have 20K
0:52
Cali Dash web has almost
0:56
14.1k right now caliber does have a web
1:00
interface already through a port 880
1:04
which you can use browser to show you
1:06
your calib libraries but uh considering
1:11
the designing the web page the intuitive
1:15
the web UI so C- web list project does
1:19
doing much better job so that's why I
1:22
decided to test it in my environment and
1:26
build a website for myself and I think
1:29
it it's good also to share to the all
1:32
people who watch my channels so now
1:35
let's start
1:40
it calibr Das web is a independent
1:44
project from original Cali
1:48
project you don't have to install Cali
1:51
on your system to start use cal- web so
1:55
that's what this video for I'm going to
1:58
show you how easy in five minutes you
2:01
can start the docker with calibrate Dash
2:04
web and then you can start to import
2:07
your all digital books comic books into
2:10
your system there's a Docker image
2:14
created by n server which you can find
2:16
from Linux server calra Das web and
2:21
there a little bit guideline here but
2:24
when you come to deployment it's always
2:26
not that clear so that's why um I wanted
2:29
to creating this video and show you like
2:32
exactly each steps so you know how you
2:36
can get it working properly without
2:39
going through some uh Missing steps and
2:43
just like me spend a couple hours to try
2:46
and figure that out so that is what this
2:49
video for get you to start it in five
2:52
minutes then you can start to focus on
2:55
your books
3:00
as you can see from Linux server
3:04
cal- web l images description you will
3:08
find L doer compose and dock run command
3:12
which you can directly copy paste to use
3:15
it or you may want to change a bit
3:17
before you can use it to testing that I
3:20
always using play with Docker this
3:23
Docker and box environment to testing it
3:26
I do have my own blog post for list
3:30
deployment you can find it from my
3:33
website and you will find those Docker
3:36
command as well but since we are using
3:39
doer sendbox environment play with
3:42
do.com this website we can directly
3:45
paste that do run command and see how it
3:47
goes control shift V once you copy the
3:50
Do Run command which is easiest way for
3:53
us to do if you will download the image
3:56
since they can find it from local you
3:58
may take just less than 30 seconds so
4:01
everything going to be ready and then we
4:03
can open port
4:06
8083 that actually the easiest way we
4:09
can test this so we can starting to do
4:14
883 default username admin password
4:19
admin
4:20
123 Lo information you can find out from
4:24
dock Hub Linux service dock description
4:28
page
4:30
well once you logged in you will notice
4:33
they are trying to get you config
4:35
database connections we don't have that
4:38
and in the original do image website
4:41
they didn't talk about this pieces we
4:44
have to get our own caliber database
4:48
empty one or you would maybe something
4:51
it's already near but we need to have a
4:53
database because this one will not
4:55
create a database for you so I already
4:58
have that red
5:00
in my website for you so if
5:03
you download the flash DB so we can use
5:07
this link to directly download that one
5:10
and put into the right place so let's go
5:12
back here you need to find out your
5:15
database place it's inside of
5:19
Library folder because we have mapped
5:22
books folder to library folder so now we
5:25
can put this W get command to download
5:29
this metadata.
5:32
DB which you can see it's a sqlite
5:35
format file once you we have that we can
5:39
go back to our database configuration
5:42
page and then choose SL folder let's go
5:46
up up and it's books folder so we
5:50
already have metadata. DB now so we
5:53
select it then we can save it now you
5:57
should be able to browse this web inter
5:59
interface caliber dwb and the same more
6:03
friendly and you can play with it until
6:06
you feels comfortable then we can deploy
6:08
into our own VPS which is next step I'm
6:12
going to
6:16
do to demonstrate how to install calibra
6:20
web on your VPS I'm going to use my own
6:24
UB
6:25
22204 This Server to do step by step to
6:29
tutorial here if you want to look at the
6:32
steps I already put into my blog post
6:35
here so I'm going to go through all of
6:37
list but if you want to see the command
6:39
you can come back to this blog post
6:42
which you can find now in the video
6:44
description it's always start from AP
6:48
update so then you're going to to make
6:51
sure you have enough memory and CPU for
6:54
my list server is very small server if
6:57
you want to increase your
7:01
website depending on your Machin CPU
7:05
memory just like what I have in on this
7:08
machine I only have two which CPU and
7:11
one gig ram I need to increase my swap
7:16
side so in this case I can add swap for
7:20
one gig depending on how much you
7:23
already have so then you can add another
7:25
one gig so because I already have one
7:28
gig conf figured so which you can see I
7:32
got this website so it won't all be
7:35
successful but that's the point if you
7:38
need more memory then you can add swap
7:41
file for your system after that you
7:44
probably want to install
7:47
Docker and Docker
7:49
compose in my case I already have it I
7:53
we need to upgrade it same thing you may
7:57
also want to install Docker comp
8:02
so do compose is already latest version
8:05
so after you did all those you can use
8:08
Docker compose or you can use dock R I
8:11
prefer dock R because it's much simple
8:13
and easy to
8:16
do there's one thing you need to know
8:18
depending on your user you might using
8:22
regular user so then you need to find
8:24
out your pu ID PG ID since I'm using
8:27
loot account the Pu ID and the PG ID
8:30
both at zero you can use ID that command
8:33
to get your pu ID and PG ID
8:37
value so perfect dock round has
8:40
completed so you can use in dock PS to
8:43
see your dock status so it's opened on
8:46
Port
8:48
883 now we can see our public IP then we
8:54
can useing IP plus 883 this port to
8:58
access l this website now let's give it
9:09
try so one thing you need to know 8083
9:13
you have to open it to the Pu if you
9:16
have firewall I'm using orle VPS so I
9:20
already open that Port from orle
9:23
dashboard the console so if you didn't
9:26
do that just go back to your orle cons
9:29
conso and open airport 883 if you want
9:32
to know more about the Oro VPS then
9:36
check this video for that we going to
9:38
log
9:42
in again so we need to get the database
9:46
so we can to go back to our command
9:50
line need go to our
9:54
library we just go to the library going
9:58
to using W get to get the library so
10:02
we're going to use dou get command to
10:04
download this empty ma dat. DB file and
10:09
then
10:12
config our database connection to layer
10:16
books data select and save now you
10:21
should be able to see one quick start
10:23
guide this is just a record we don't
10:27
have book in our system so that's how
10:30
the UI looks
10:34
like we're going to go
10:38
to users and we're going to add it this
10:43
user because we don't have upload option
10:47
so there's one thing you you need to do
10:50
after you did the leas if you want to
10:52
upload your books you want to import
10:53
your books you won't see the button here
10:57
you have to
11:00
go to
11:02
admin to add it basic configuration to
11:05
give a
11:06
permission to enable upload so land you
11:11
need to choose allowed upload file
11:14
format so I will keep it default but for
11:17
your information it support MP3 and
11:21
quite a lot of format here even
11:24
MP4 wav so they can play back allio
11:29
but not video MP4 they only can play
11:33
audios inside but not videos we going to
11:36
test
11:37
that
11:39
save so now if you go back books it will
11:43
be
11:47
refreshed now you should be able to see
11:51
upload so I have some examples here so I
11:55
going to import all the different format
11:59
just I'm going to import all of them you
12:01
can import multiple files in one time
12:05
upload down is processing let's wait a
12:09
bit perfect the files are already here
12:14
if you want to read it just click on it
12:16
and then you can download and you can
12:18
read in
12:27
browser this is EOP format you can read
12:30
in browser as
12:36
well if it's a audio you also can play
12:41
it in your
12:46
browser so hope you can see the
12:48
background music
12:50
playing same thing on
12:53
MP4 I do have one example here you can
12:57
listen your browser and before but you
12:59
won't be able to watch
13:03
it for
13:05
the E you also can change convert from
13:10
different format EOP format to K EOP
13:14
format you also can edit it the metadata
13:19
so those are all basic things you can
13:27
do at this moment we are still using
13:31
public IP plus p number to access in
13:34
this online web Library we could just
13:37
created if you want to use your own
13:40
domain then you have to register domain
13:43
through
13:44
EU or us stockage which loads free
13:48
domain provider you can find out from
13:51
here to get one and integrate with Cloud
13:55
free just as I did here then after you
13:59
integrated then you can create uh your
14:02
own subdomain for your application so
14:06
here is a step I'm going to show you how
14:09
you can use your own domain to map to
14:13
your caliber Das we l online library and
14:16
then access to it so we're going to
14:19
create the one
14:20
called books and then we going to map to
14:24
the ipv4 address I'm going to use MPN
14:28
engine X proxy manager which I'm using
14:32
widely in my videos if you watch the
14:35
previous video you can see me to
14:37
configure NG xlx manager for all kinds
14:41
of application I created before so this
14:44
is a similar one so the book this
14:47
subdomain going to point
14:50
into our
14:53
mpm's public IP andx proxy manager
14:57
public IP and uh we going to enable
15:01
proxy status we going to save it so in
15:05
that way we create the a recod
15:08
books. 51. org L subdomain going to
15:13
point in to our MPN and then MPN as a
15:17
reverse proxy then going to send the
15:20
traffic to our list
15:24
9281 55.6
15:27
883 so so we're going to configure
15:33
that add a new proxy host and we're
15:38
going to put the
15:43
domain books. 51 stack.
15:53
or and now we need to put the IP address
15:59
and the report number
16:02
883 you can enable all
16:06
those features here it's
16:09
ply
16:11
accessible and we also want to enable SS
16:14
we cannot request a new SSL
16:21
certificate you can force SSL of course
16:25
we can
16:26
agree let's incit terms so service once
16:30
all done save
16:34
it perfect so all seems working now we
16:39
can click this to see if it's
16:41
working
16:51
done now we are able to read the books
16:55
in our library using our own
17:00
domain so that's all for this video I
17:03
hope you enjoyed it and get some useful
17:08
information out of it if yes give me a
17:11
thumb up and subscribe my channel if you
17:14
haven't that will give me a great
17:17
support again thank you for watching see
17:20
you in my next episode
17:29
la
#E-Books
#Open Source