1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00
Calibre-web package for YunoHost
Find a file
RBXII3 b95d815d36
Remove upload size from README Limitations
Yunohost install used the Tornado server which limits the upload size of a single file to 200Mo. 0.6.10 has moved to Gevent, which removes this limitation.
2021-02-03 09:48:07 +11:00
conf Upgdate Nginx buffer size 2021-02-02 20:47:05 +01:00
hooks Import LDAP user 2020-04-18 18:46:22 +02:00
scripts Init 0.9.6.10 2021-01-27 22:27:27 +01:00
sources/patches Init 0.9.6.10 2021-01-27 22:27:27 +01:00
.gitignore Initial Commit 2018-12-08 16:09:27 +01:00
.project update systemd start and stop 2020-05-02 15:01:20 +02:00
.pydevproject First SSO and progression 2020-04-19 14:28:25 +02:00
check_process Init 0.9.6.10 2021-01-27 22:27:27 +01:00
LICENSE Initial commit 2018-12-08 15:02:51 +01:00
manifest.json Init 0.9.6.10 2021-01-27 22:27:27 +01:00
pull_request_template.md Init 0.9.6.10 2021-01-27 22:27:27 +01:00
README.md Remove upload size from README Limitations 2021-02-03 09:48:07 +11:00

Calibre-web for YunoHost

Integration level
Install calibreweb with YunoHost

This package allow you to install calibreweb quickly and simply on a YunoHost server.
If you don't have YunoHost, please see here to know how to install and enjoy it.

Overview

This is an implementation of Calibre-web for Yunohost.

Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database.

This software is a fork of library and licensed under the GPL v3 License.

Alternatively, you may use COPS which also allows access to your Calibre Library, but in read-only mode.

Shipped version: The shipped version is 0.6.10 - Florence, but as the numbering changed in the calibre-web app, it is numbered as 0.96.10 in yunohost.

Users will be synchronized with authorized Yunohost users (having the calibreweb.main authorization group) automatically. In case of issue you may force the sync in the app itself.

Library will be placed in /home/yunohost.multimedia/share/eBook folder except if both :

  • calibreweb is set as a private application
  • calibreweb library is set as a public library

In this case the library will be set in /home/yunohost.multimedia/[admin]/eBook folder. Library folder can always be changed manually in the application settings by the administrator.

Screenshots

screenshot

Security

The default admin password of the app (admin123) is kept during the installation process. It is used as a fallback password in case of LDAP issue. You should change it to something more secure in the app :)

OPDS

For OPDS to work, most OPDS-readers will require the app must be set in public mode. Also, you may have to activate the "anonym browsing" for some reader to access book covers or download books (source).

Backup library

By default, Yunohost backup process will backup Calibre library. You may deactivate backup of the library with

yunohost app setting calibreweb do_not_backup_data -v 1

By default, removing the app will never delete the library.

Known Limitations

  • Authorization access to library to be done manually after install if Calibre library was already existing, for example :
chown -R calibreweb: path/to/library
or
chmod o+rw path/to/library
  • Do not use a Nextcloud folder. It's all right if the folder is an external storage in Nextcloud but not if it's an internal one : Changing the data in the library will cause trouble with the sync
  • "Magic link feature is not yet available
  • Change to library made outside calibreweb are not automatically updated in calibreweb. It is required to disconnect and reconnect to see the changes : Do not open a database both in calibre & calibreweb!

Developers info

Please do your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/Yunohost-Apps/calibreweb_ynh/tree/testing --debug
or
sudo yunohost app upgrade calibreweb -u https://github.com/Yunohost-Apps/calibreweb_ynh/tree/testing --debug

Todo

  • Multiinstance
  • Better Multimedia integration : Integrate in Yunohost.multimedia
  • rework LDAP integration to create user automatically
  • Package_check integration
  • On backup/remove/upgrade : check for database location to update settings
  • Update mail settings with yunohost settings
  • enable magic link
  • Add cronjob to reload database (for nextcloud integration)
  • OPDS activation
  • Add config-panel option to trigger do_not_backup_data
  • Add config-panel to manage max upload size
  • Add action to restart the server
  • Add action to synchronize users
  • Add action to deactivate LDAP et retrieve admin password
  • Use internal updater to update version?

LICENSE

Package and software are GPL 3.0