{ "name": "COPS", "id": "cops", "packaging_format": 1, "description": { "en": "Calibre OPDS (and HTML) PHP Server", "fr": "Calibre OPDS (et HTML) PHP Serveur" }, "url": "https://github.com/YunoHost-Apps/cops_ynh", "license": "free", "maintainer": { "name": "polytan02", "email": "polytan02@mcgva.org" }, "multi_instance": true, "services": [ "nginx", "php5-fpm" ], "requirements": { "yunohost": ">= 2.4.0" }, "arguments": { "install" : [ { "name": "domain", "type": "domain", "ask": { "en": "Choose a domain for COPS library", "fr": "Choisissez un domaine pour votre bibliotheque COPS" }, "example": "domain.tld" }, { "name": "path", "type": "path", "ask": { "en": "Choose a path to access your COPS library", "fr": "Choisissez un chemin pour acceder a votre bibliotheque COPS" }, "example": "/cops", "default": "/cops" }, { "name": "calibrepath", "ask": { "en": "Indicate the location of Calibre library. DON'T store it in your /var/www/cops or it will be removed on next upgrade !!", "fr": "Indiquez le chemin de votre bibliotheque Calibre. Ne la mettez pas dans /var/www/cops ou elle sera supprimée à la prochaine upgrade !!!" }, "example": "/home/yunohost.app/owncloud/data/johndoe/files/eBooks", "default": "/home/yunohost.app/owncloud/data/johndoe/files/eBooks" }, { "name": "runninguser", "ask": { "en": "Which system user is managing the Calibre folder ?", "fr": "Quel utilisateur système gère le dossier Calibre ?" }, "choices": ["www-data", "owncloud", "nextcloud"], "default": "www-data" }, { "name": "is_public", "ask": { "en": "Is it a public website ?", "fr": "Est-ce un site publique ?" }, "choices": ["Yes", "No"], "default": "Yes" }, { "name": "basicauthcreate", "ask": { "en": "Create a basic auth access ? This is required if the app is public so that ereaders to access the OPDS server, for example", "fr": "Créer un accès par authentification basique ? Ceci est requis si votre bibliothèque est publique et que vous voulez accéder au serveur OPDS avec votre liseuse ou application mobile" }, "choices": ["Yes", "No"], "default": "Yes" }, { "name": "basicauthuser", "ask": { "en": "Choose the username to access the OPDS/HTML server (unrelated to YunoHost users)", "fr": "Indiquez le nom d'utilisateur pour accéder au serveur OPDS/HTML (NON lié lié aux utilisateurs YunoHost)" }, "example": "Gutenberg", "default": "Gutenberg" }, { "name": "basicauthpass", "type": "password", "ask": { "en": "Choose the password to access the OPDS/HTML server", "fr": "Renseignez le mot de passe pour accéder au serveur OPDS/HTML" }, "example": "knowledge is power", "default": "knowledge is power" } ] } }