Skip to content

ProfessorNavigator/mylibrary

Repository files navigation

MyLibrary

Description

MyLibrary is a simple program for managing .fb2, .epub, .pdf and .djvu e-book file collections. It can also works with same formats packed in zip, 7z, jar, cpio, iso, tar, tar.gz, tar.bz2, tar.xz, rar (see notes) archives itself or packed in same types of archives with .fbd files (epub, djvu and pdf books). MyLibrary creates own database and does not change files content, names or location.

Installation

Linux

git clone https://github.com/ProfessorNavigator/mylibrary.git
cd mylibrary
meson setup -Dbuildtype=release build
ninja -C build install

You may need superuser privileges to execute last command. Also you may need to set prefix according to distro settings (default prefix is /usr/local).

Windows

You can build MyLibrary from source by MSYS2 project https://www.msys2.org/. Follow installation instructions from projects site. Install dependencies from Dependencies section and git (mingw-... packages). Than create directory you want to download source code to (path must not include spaces or non ASCII symbols). Open mingw console and execute following commands (in example we download code to C:\MyLibrary)\

cd /c/MyLibrary
git clone https://github.com/ProfessorNavigator/mylibrary.git
cd mylibrary
meson setup -Dbuildtype=release build
ninja -C build install

If everything was correct, you can find mylibrary.exe file in msys_dir/mingw_dir/bin. Icon to create desktop shortcut can be found in msys_dir/mingw_dir/share/icons/hicolor/256x256/apps/mylibrary.ico path.

Experimental installer is available now (see releases).

Dependencies

MyLibrary uses meson building system, so to build it from source you need meson and ninja.
Also you need gtkmm-4.0, poppler, DjVuLibre, libarchive, icu (version >= 69), libgcrypt and libgpg-error. All libraries must have headers (for building), so if you use for example Debian Linux, you need ...-dev versions of packages.

Usage

It is simple. Just create collection (see proper menu item), search book and open it (right mouse click on book). Book will be opened by default system file reader proper to file type. Also you can create book-marks (right mouse click on book) and read it later. Book can be removed from collection, added to collection or copied to any path you want. Also you can add to collection directories with books. Books and directories can be packed to archives on adding. You can refresh collection, remove it, export or import collection database. Also you can manually edit database entries and move book from one collection to another.

Notes about archives usage

  1. rar archives are supported partially. This means, that only archive reading is supported. Any operation, which need archive writing, will be rejected with proper warning.
  2. In some cases MyLibrary can crash on rar archives processing (libacrhive bug). Users are recommended to repack rar archives to any other supported types manually.

License

GPLv3 (see COPYING).

Donation

If you want to help to develop this project, you can assist it by donation

Contacts

You can contact author by email
bobilev_yury@mail.ru