Building Your Own Book Library with Talebook
Introduction:
Talebook is a simple but powerful private book management system, built on the Calibre project. It has features like book management, online reading and pushing, user management, SSO login, and fetching book information from Baidu/Douban.
Talebook | Zbook | |
---|---|---|
User System | ❌ | ✅ |
Online Reading | ✅ | ❌ |
Push Books to Kindle | ❌ | ✅ |
Private Mode | ✅ | ❌ |
Import Book Info from Baidu, Douban | ✅ | ❌ |
Upload Books | ✅ | ❌ (Officially updated after uploading the ebook file package) |
Book Search Speed | 🌟🌟🌟 | 🌟🌟🌟🌟🌟 |
Interface Aesthetics | 🌟🌟🌟🌟 | 🌟🌟🌟🌟🌟 |
Deployment Difficulty | 😈😈😈 | 😈😈😈 |
Features:
- Beautiful interface: Due to Calibre's built-in web page being too ugly and hard to use, a new interface was independently developed based on Vue, supporting PC access and mobile browsing.
- Multi-user support: To make it more convenient for internet users, a multi-user feature was developed, supporting login via QQ, Weibo, Github, and other social media sites.
- Online reading support: With the help of the Readium.js library, it supports online reading of e-books.
- Supports bulk scanning and importing books.
- Email pushing support: Can be easily pushed to Kindle.
- Supports OPDS: Can read books conveniently using apps like KyBooks.
- Optimized file storage paths for large libraries, can be classified by letter or filename kept in Chinese.
- Supports quick updating of book information: Supports searching and importing basic book information from Baidu and Douban.
- Supports private mode: Requires an access code to enter the website, making it convenient for small groups to share the site.
Deployment Method:
Step One: Update Source
Ubuntu/Debian:
apt update -y && apt upgrade -y
Centos:
yum update -y && yum upgrade -y
Step Two: Install and Configure Docker
Install Docker:
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh ./get-docker.sh
Start Docker:
sudo systemctl start docker
Set Docker to start automatically at boot:
sudo systemctl enable docker
Step Three: Install Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Step Four: Configure docker-compose.yml
Create directory:
mkdir talebook && cd talebook/
Download docker-compose.yml:
wget https://raw.githubusercontent.com/talebook/talebook/master/docker-compose.yml
Modify docker-compose.yml:
nano docker-compose.yml
You can modify the left port of
ports: - "8080:80"
to an unoccupied port.Step Five: Reverse Proxy to Domain
Here we use a very simple method: Origin Rules provided by Cloudflare.
Configuration as follows:
Modify Field to Hostname, Value to the chosen full domain name, Rewrite to the port just filled on the left.
Remember to resolve your subdomain to the server IP:
Use an A record, Name as domain prefix, Content as server address.
Step Six: Proceed with Installation
Enter the library homepage
Upload books
Edit book information
Related Links:
GitHub Address: https://github.com/talebook/talebook
Original link:http://enblog.fuyiran.link/Technology/33.html
Copyright: All posts on this blog, unless otherwise stated, are published using theCC BY-NC-SA 4.0 license agreement. Please indicate the source for reprinting Fu Speaking (enblog.fuyiran.link)