Windows 构建必须用 Visual Studio 2019,更新版本无法编译;需自行安装 Qt 6.5 并把 CMAKE_PREFIX_PATH 指向 Qt 安装路径;自托管需先运行 Librum-Server,并先启动一次客户端生成配置文件后再改 selfHosted 与 serverHost;Linux 缺 Qt Quick 或 xcb 插件时需补装 libgl1-mesa-dev、libxcb-cursor-dev
git clone https://github.com/Librum-Reader/Librum.git --recursive
cd Librum && mkdir build-Release && cd build-Release
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=Off -DCMAKE_PREFIX_PATH=<path/to/Qt> ..
cmake --build . -j $(nproc)README 未说明硬件要求,仅列出 Windows、GNU/Linux、MacOS 平台,iOS 与 Android 标注为即将推出
开源跨平台电子书阅读器,可自建在线书库并多设备同步阅读进度
基于 Qt6/QML 的跨平台电子书阅读器客户端,支持电子书管理与阅读,可搭建个人云端书库。
核心能力
- 支持 PDF、EPUB、CBZ、FB2、Mobi 等主流电子书格式
- 自建在线书库,按文件夹、标签、收藏分类管理书籍
- 跨设备同步书籍与阅读进度,内置 7 万本免费书城
- 提供高亮、书签、全文搜索与书籍元数据编辑
- 基于 Qt 6.5 与 CMake 构建,界面可深度自定义
容易踩的坑
- v.0.12.2最新正式版2024-03-29 · 2024-03-29 23:44 UTC
Uff... A lot of work was done and Librum just got a lot better! From big bug fixes over great improvements to whole new features that were introduced with this release.
Down below is a list of changes :rocket:! (Click here to visit the blog post on this release)
Features:
- Added Tools Page
- Merge
- Extract
- Image to PDF
- Added alerts to improve feedback
- Added occasional feedback popup
- Reworked the selection menu to look more modern
Improvements:
- Improved loading animation across the application and added loading animation to more places to improve feedback
- Improved 'Save To Files' to correctly use the title and file extension as destination name
- Improved feedback when downloading a book by adding a loading animation
- Remember the folder you were in after leaving the home page and restore it correctly
Translations:
- Added Bengali translation
Fixes:
- Fixed bug causing being unable to download and read books other than pdf and epub from the cloud
- Fixed bug causing crash and locally uninstalling book when losing internet connection while reading
- Fixed crash caused by uninstalling or deleting a book while its downloading
- Fixed bug causing unselected books in multi-select mode to still be logically selected and operated upon
- Fixed book title in external book mode not being displayed
- Fixed zooming not working in external book mode
- Fixed file dialog issues
- Fixed issues with incorrect current page count in books with different page heights
- Fixed issues with the zoom combobox on the reading page
If you would like to support the development of Librum, please visit https://librumreader.com/contribute or consider becoming a Github Sponsor :heart:
- Added Tools Page
- v.0.12.12024-02-29 · 2024-02-29 17:40 UTC
查看更新说明
- Added Arabic translation and support for RTL languages
- Added 'Open With Librum' support for Windows and Linux
- Changed to only using 'Name' instead of first and last name
- Bug fixes
- v.0.12.02024-02-12 · 2024-02-12 11:59 UTC
查看更新说明
- Added folders
- Added more translations
- Improved visual feedback
- v.0.11.02023-12-17 · 2023-12-17 14:42 UTC
查看更新说明
Beta-Release
- Added book specific color-theme saving
- Mutli-book selection
- Book duplication warning
- Chinese translation
- Bug fixes
- v.0.10.22023-11-19 · 2023-11-19 15:34 UTC
查看更新说明
- Added translations to German and Russian
- Improved settings
- Fixed bugs
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Librum
Librum is an application designed to make reading enjoyable and straightforward for everyone.
It's not just an e-book reader. With Librum, you can manage your own online library and access it from any device anytime, anywhere. It has features like note-taking, AI tooling, and highlighting, while offering customization to make it as personal as you want!
Librum also provides free access to over 70,000 books and personal reading statistics while being free and completely open source.
Download Librum from our website!
Table of Contents
Preview
Setup and manage your own online library
A simple and modern interface
Add your books to collections, tag them, and sort them in any way you want
Customize Librum to make it personal to you
Contributing
If you'd to support Librum's development, check out: https://librumreader.com/contribute All of the current feature requests, bugs and tasks are listed in the issues. Easy tasks are labeled "good first issue", so that is a good starting point. PS: Feel free to tag me (@DavidLazarescu) in the comments of any issue if you have questions.
Contact
For questions, you can reach us under: [email protected] For business related contact, reach out to us here: [email protected]
Donations
Donations make it possible for us to cover our server costs and allow us to make investments into new areas of development. If you would like to support us, check out: https://librumreader.com/contribute/donate or become a Github sponsor! As a team of opensource developers we rely on donations to continue working on projects like Librum. Your help is greatly appreciated.
Translations
Librum is currently available in the languages listed here
If you want to translate Librum to another language, follow the steps below:
- Download this file
- Rename the file to contain your language's suffix, e.g. "librum_ru.ts" for Russian or "librum_de.ts" for German
- Download the translation software (Qt Linguist) either for Windows from here or using the Qt Installer
- Now start Qt Linguist, open the downloaded file, set the target language to the language you want to translate to and start translating. (Check out this guide for a quick overview of Qt Linguist)
Once you are done, create a pull request or open up an issue with your new translation file! If you run into any problems, need guidance or have questions, feel free to reach out to us at: [email protected]
Notes:
- Make sure that your translations are approximately the same length as the original text
- Please carefully check for spelling mistakes (including punctuation and capitalization)
Documentation
For documentation go to Librum's GitHub-wiki
Self-hosting
To self-host Librum you need to run Librum-Server locally (instructions can be found here) and tell the client to use your self-hosted server by:
- (Linux) Editing ~/.config/Librum-Reader/Librum.conf and setting
selfHosted=trueandserverHostto your server's url (e.g.serverHost=https://127.0.0.1:5001) - (Windows) Opening the registry editor (Press
Win + Rand search forregedit), navigating toHKEY_CURRENT_USER\Software\Librum-Reader\Librumand settingselfHosted=trueandserverHostto your server's url
Make sure to run the application before following the steps above, to generate the required files.
Details
Supported platforms
Part of Librum's aim is to work on any platform. No matter where you are or which device you use, you can always continue your book with Librum, as it is cross platform. We support:
- Windows
- GNU/Linux
- MacOS
- IOS (Coming Soon)
- Android (Coming Soon)
Supported formats
Librum is the best choice for all kinds of books, since Librum supports all major book formats including:
- EPUB
- CBZ (Comic books)
- FB2
- TIFF
- Mobi
- XPS
- Images
And many more!
Features
Librum's objective is to make your reading more productive; to that end, we provide you with a variety of features that you can access via a simple and straightforward interface. These features include:
- A modern e-reader
- A personalized and customizable online library
- Book meta-data editing
- A free in-app bookstore with more than 70,000 books
- Book syncing across all of your devices
- Highlighting
- Bookmarking
- Text search
- Unlimited customization
- Fine-grained organization through Librum's folder system
- Note-taking (Coming Soon)
- TTS (Coming Soon)
- Personalized reading statistics (Coming Soon)
Want a new feature? Feel free to leave a feature request ticket!
Build Guide
Follow this guide to build Librum from source.
For GNU/Linux
Prerequisites
- cmake (https://cmake.org/download)
- make (http://ftp.gnu.org/gnu/make)
- g++ (https://gcc.gnu.org)
- python3-venv (on ubuntu use
sudo apt install python3-venv) - Qt 6.5 (https://www.qt.io/download-open-source)
Installation
The installation is straight forward, just follow the steps below:
- Clone the repository.
git clone https://github.com/Librum-Reader/Librum.git --recursive - Step into the cloned project folder.
cd Librum - Create the build folder and step into it.
mkdir build-Release cd build-Release - Run cmake.
Setcmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=Off -DCMAKE_PREFIX_PATH=<path/to/Qt> ..CMAKE_PREFIX_PATHto your Qt installation path. Installing Qt via the online installer usually installs it to/home/<name>/Qt/<version>/gcc_64 - Build the project
cmake --build . -j $(nproc) - Install Librum
cmake --install .
Troubleshooting
Here are solutions to some common errors. If your error is not listed here, please open an issue.
-
Error:
Failed to find required Qt component "Quick". -
Solution: Install the libGL mesa dev package, on ubuntu its
sudo apt install libgl1-mesa-devand on fedora itssudo dnf install mesa-libGL-devel. -
Error:
Could not load the qt platform plugin "xcb" even though it was found -
Solution: Install the libxcb-cursor-dev, on ubuntu its
sudo apt install libxcb-cursor-dev
For Windows
Prerequisites
- cmake (https://cmake.org/download)
- Visual Studio 19 (https://visualstudio.microsoft.com/de/vs/older-downloads)
- Python (https://www.python.org/downloads)
- Qt 6.5 (https://www.qt.io/download-open-source)
Installation
To build Librum on windows, run the following commands in the Powershell:
- Clone the repository.
git clone https://github.com/Librum-Reader/Librum.git --recursive - Step into the cloned project folder.
cd Librum - Create the build folder and step into it.
mkdir build cd build - Run cmake.
Setcmake -DBUILD_TESTS=Off -DCMAKE_PREFIX_PATH=<path/to/qt> ..CMAKE_PREFIX_PATHto your Qt installation path. Installing Qt via the online installer usually installs it to<Drive>\\Qt\\<version>\\msvc2019_64 - Build the project
cmake --build . --config Release - Run the app
./librum
Additional Info
Here are some things to keep in mind during the build process.
- Make sure to add cmake and the Qt binaries to the
PATHenvironment variable - You need Visual Studio 2019, newer versions will not work
- For the Qt installation, you only need to choose "MSVC 2019 64-bit", you can untick everything else to reduce the download size
For MacOS
Prerequisites
- cmake (https://cmake.org/download)
- make (http://ftp.gnu.org/gnu/make)
- g++ (https://gcc.gnu.org)
- python3 (https://www.python.org/downloads)
- Qt 6.5 (https://www.qt.io/download-open-source)
Installation
The installation is straight forward, just follow the steps below:
- Clone the repository.
git clone https://github.com/Librum-Reader/Librum.git --recursive - Step into the cloned project folder.
cd Librum - Create the build folder and step into it.
mkdir build-Release cd build-Release - Run cmake.
Setcmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=Off -DCMAKE_PREFIX_PATH=<path/to/Qt> ..CMAKE_PREFIX_PATHto your Qt installation path. Installing Qt via the online installer usually installs it to/Users/<name>/Qt/<version>/macos - Build the project
cmake --build . -j $(nproc) - Install Librum
cmake --install
Note: Make sure to add /usr/local/lib to your DYLIB path, for MacOS to find the installed libraries by exporting DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib.