mirror of
https://github.com/YunoHost-Apps/tube_ynh.git
synced 2024-09-04 01:46:11 +02:00
cleaning
This commit is contained in:
parent
6825be6608
commit
9843eb65a0
6 changed files with 33 additions and 10 deletions
|
@ -11,7 +11,7 @@ services = ["__APP__"]
|
||||||
ask = "Max Upload Size"
|
ask = "Max Upload Size"
|
||||||
type = "number"
|
type = "number"
|
||||||
help = "Set max_upload_size to the maximum number of bytes you wish to impose on uploaded and imported videos. Upload(s)/Import(s) that exceed this size will by denied by the server. This is a saftey measure so as to not DoS the Tube server instance. Set it to a sensible value you see fit."
|
help = "Set max_upload_size to the maximum number of bytes you wish to impose on uploaded and imported videos. Upload(s)/Import(s) that exceed this size will by denied by the server. This is a saftey measure so as to not DoS the Tube server instance. Set it to a sensible value you see fit."
|
||||||
bind = "max_upload_size:/var/www/__APP__/config.json"
|
bind = "max_upload_size:__INSTALL_DIR__/config.json"
|
||||||
|
|
||||||
[main.rss]
|
[main.rss]
|
||||||
name = "RSS feed information"
|
name = "RSS feed information"
|
||||||
|
@ -20,28 +20,28 @@ services = ["__APP__"]
|
||||||
ask = "Feed Title"
|
ask = "Feed Title"
|
||||||
type = "string"
|
type = "string"
|
||||||
help = "Set the feed title for your RSS feed"
|
help = "Set the feed title for your RSS feed"
|
||||||
bind = "title:/var/www/__APP__/config.json"
|
bind = "title:__INSTALL_DIR__/config.json"
|
||||||
|
|
||||||
[main.rss.feed_description]
|
[main.rss.feed_description]
|
||||||
ask = "Feed Description"
|
ask = "Feed Description"
|
||||||
type = "string"
|
type = "string"
|
||||||
help = "Set the feed description for your RSS feed"
|
help = "Set the feed description for your RSS feed"
|
||||||
bind = "description:/var/www/__APP__/config.json"
|
bind = "description:__INSTALL_DIR__/config.json"
|
||||||
|
|
||||||
[main.rss.author_name]
|
[main.rss.author_name]
|
||||||
ask = "Author Name"
|
ask = "Author Name"
|
||||||
type = "string"
|
type = "string"
|
||||||
help = "Set the author name for the RSS feed"
|
help = "Set the author name for the RSS feed"
|
||||||
bind = "name:/var/www/__APP__/config.json"
|
bind = "name:__INSTALL_DIR__/config.json"
|
||||||
|
|
||||||
[main.rss.author_email]
|
[main.rss.author_email]
|
||||||
ask = "Author Email"
|
ask = "Author Email"
|
||||||
type = "string"
|
type = "string"
|
||||||
help = "Set the author email for the RSS feed"
|
help = "Set the author email for the RSS feed"
|
||||||
bind = "email:/var/www/__APP__/config.json"
|
bind = "email:__INSTALL_DIR__/config.json"
|
||||||
|
|
||||||
[main.rss.copyright_text]
|
[main.rss.copyright_text]
|
||||||
ask = "Copyright Text"
|
ask = "Copyright Text"
|
||||||
type = "string"
|
type = "string"
|
||||||
help = "Set the copyright text for the RSS feed"
|
help = "Set the copyright text for the RSS feed"
|
||||||
bind = "copyright:/var/www/__APP__/config.json"
|
bind = "copyright:__INSTALL_DIR__/config.json"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#### Where are stored your videos
|
#### Where are stored your videos
|
||||||
|
|
||||||
Your video files are stored by default in `/home/yunohost.app/tube/videos`.
|
Your video files are stored by default in `__DATA_DIR__/videos`.
|
||||||
|
|
||||||
You can configure options in this file `/var/www/tube/config.json` using the [documentation](https://git.mills.io/prologic/tube#configuration). Remember to restart Tube service if you change your configuration file.
|
You can configure options in this file `__INSTALL_DIR__/config.json` using the [documentation](https://git.mills.io/prologic/tube#configuration). Remember to restart Tube service if you change your configuration file.
|
||||||
|
|
||||||
RSS feed address is available at `https://__DOMAIN__/feed.xml`
|
RSS feed address is available at `https://__DOMAIN__/feed.xml`
|
||||||
|
|
||||||
|
|
9
doc/ADMIN_fr.md
Normal file
9
doc/ADMIN_fr.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#### Où sont stockées vos vidéos
|
||||||
|
|
||||||
|
Vos fichiers vidéo sont stockés par défaut dans `__DATA_DIR__/videos`.
|
||||||
|
|
||||||
|
Vous pouvez configurer les options dans ce fichier `__INSTALL_DIR__/config.json` en utilisant la [documentation](https://git.mills.io/prologic/tube#configuration). N'oubliez pas de redémarrer le service Tube si vous modifiez votre fichier de configuration.
|
||||||
|
|
||||||
|
L'adresse du flux RSS est disponible sur `https://__DOMAIN__/feed.xml`
|
||||||
|
|
||||||
|
Le répertoire de données avec les vidéos téléchargées n'est pas modifié lors de la mise à niveau de l'application. Si vous souhaitez supprimer le répertoire de données avec l'application, utilisez l'option `--purge` : `sudo yunohost app remove tube --purge`
|
|
@ -1,4 +1,4 @@
|
||||||
tube is a Youtube-like (without censorship and features you don't need!) Video Sharing App written in Go which also supports automatic transcoding to MP4 H.265 AAC, multiple collections and RSS feed.
|
Tube is a Youtube-like (without censorship and features you don't need!) Video Sharing App written in Go which also supports automatic transcoding to MP4 H.265 AAC, multiple collections and RSS feed.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
|
13
doc/DESCRIPTION_fr.md
Normal file
13
doc/DESCRIPTION_fr.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Tube est une application de partage de vidéos de type Youtube (sans censure ni fonctionnalités dont vous n'avez pas besoin !) écrite en Go qui prend également en charge le transcodage automatique en MP4 H.265 AAC, plusieurs collections et le flux RSS.
|
||||||
|
|
||||||
|
### Caractéristiques
|
||||||
|
|
||||||
|
- Facile à ajouter des vidéos (il suffit de déplacer un fichier dans le dossier)
|
||||||
|
- Facile à télécharger des vidéos (il suffit d'utiliser le téléchargeur intégré et le transcodeur automatique !)
|
||||||
|
- Transcodeur intégré basé sur ffmpeg qui convertit automatiquement votre contenu téléchargé en MP4 H.264 / AAC
|
||||||
|
- Générateur de vignettes automatique intégré
|
||||||
|
- Pas de base de données (informations vidéo extraites des métadonnées du fichier)
|
||||||
|
- Pas de JavaScript (l'interface utilisateur du lecteur est entièrement en HTML, à l'exception de l'uploader qui se dégrade !)
|
||||||
|
- Modèle CSS et HTML facile à personnaliser
|
||||||
|
- Génère automatiquement un flux RSS (à /feed.xml)
|
||||||
|
- Interface utilisateur propre, simple et familière
|
|
@ -16,7 +16,7 @@ code = "https://git.mills.io/prologic/tube"
|
||||||
website = "https://tube.mills.io"
|
website = "https://tube.mills.io"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.16"
|
yunohost = ">= 11.1.20"
|
||||||
architectures = ["amd64", "arm64"]
|
architectures = ["amd64", "arm64"]
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = false
|
ldap = false
|
||||||
|
@ -54,6 +54,7 @@ ram.runtime = "50M"
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
||||||
[resources.data_dir]
|
[resources.data_dir]
|
||||||
|
subdirs = ["uploads", "videos"]
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
Loading…
Reference in a new issue