1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transfersh_ynh.git synced 2024-09-04 01:35:59 +02:00
transfersh_ynh/README_fr.md
2022-06-25 11:37:16 +00:00

3.4 KiB

transfer.sh pour YunoHost

Niveau d'intégration Statut du fonctionnement Statut de maintenance
Installer transfer.sh avec YunoHost

Read this readme in english.

Ce package vous permet d'installer transfer.sh rapidement et simplement sur un serveur YunoHost. Si vous n'avez pas YunoHost, regardez ici pour savoir comment l'installer et en profiter.

Vue d'ensemble

Easy and fast file sharing from the command-line. This code contains the server with everything you need to create your own instance.

Transfer.sh currently supports the s3 (Amazon S3), gdrive (Google Drive), storj (Storj) providers, and local file system (local).

Features

  • Made for use with shell
  • Share files with a URL
  • Unlimited upload
  • Files stored forever
  • Encrypt your files
  • Maximize amount of downloads
  • Preview your files in the browser

Version incluse : 1.4.0~ynh1

Captures d'écran

Capture d'écran de transfer.sh

Avertissements / informations importantes

Using the shell function

Add alias to .bashrc or .zshrc

Copy and past this function into your .bashrc or .zshrc file. Replace domain.tld by your transfersh domain

transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n  transfer <file|directory>\n  ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "https://domain.tld/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "https://domain.tld/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "https://domain.tld/$file_name"|tee /dev/null;fi;}

Now you can use transfer function

$ transfer hello.txt

https://github.com/dutchcoders/transfer.sh/blob/main/examples.md

Documentations et ressources

Informations pour les développeurs

Merci de faire vos pull request sur la branche testing.

Pour essayer la branche testing, procédez comme suit.

sudo yunohost app install https://github.com/YunoHost-Apps/transfersh_ynh/tree/testing --debug
ou
sudo yunohost app upgrade transfersh -u https://github.com/YunoHost-Apps/transfersh_ynh/tree/testing --debug

Plus d'infos sur le packaging d'applications : https://yunohost.org/packaging_apps