2022-06-25 13:37:10 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2022-06-25 14:48:42 +02:00
# Transfer.sh pour YunoHost
2022-06-25 13:37:10 +02:00
2022-06-25 13:37:16 +02:00
[![Niveau d'intégration ](https://dash.yunohost.org/integration/transfersh.svg )](https://dash.yunohost.org/appci/app/transfersh) ![Statut du fonctionnement ](https://ci-apps.yunohost.org/ci/badges/transfersh.status.svg ) ![Statut de maintenance ](https://ci-apps.yunohost.org/ci/badges/transfersh.maintain.svg )
2022-06-25 14:48:42 +02:00
[![Installer Transfer.sh avec YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=transfersh)
2022-06-25 13:37:10 +02:00
*[Read this readme in english.](./README.md)*
2022-06-25 14:48:42 +02:00
> *Ce package vous permet d'installer Transfer.sh rapidement et simplement sur un serveur YunoHost.
2022-06-25 13:37:10 +02:00
Si vous n'avez pas YunoHost, regardez [ici ](https://yunohost.org/#/install ) pour savoir comment l'installer et en profiter.*
## Vue d'ensemble
2022-06-25 13:37:16 +02:00
Easy and fast file sharing from the command-line. This code contains the server with everything you need to create your own instance.
2022-06-25 13:37:10 +02:00
2022-06-25 13:37:16 +02:00
Transfer.sh currently supports the s3 (Amazon S3), gdrive (Google Drive), storj (Storj) providers, and local file system (local).
2022-06-25 13:37:10 +02:00
2022-06-25 13:37:16 +02:00
### Features
2022-06-25 13:37:10 +02:00
2022-06-25 13:37:16 +02:00
- 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
2022-06-25 13:37:10 +02:00
2022-06-25 13:37:16 +02:00
**Version incluse :** 1.4.0~ynh1
2022-06-25 13:37:10 +02:00
## Captures d'écran
2022-06-25 14:48:42 +02:00
![Capture d'écran de Transfer.sh ](./doc/screenshots/transfer.sh-about.jpg )
2022-06-25 13:37:10 +02:00
## Avertissements / informations importantes
2022-06-25 13:37:16 +02:00
# 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
```
2022-06-25 13:37:10 +02:00
2022-06-25 13:43:30 +02:00
### How to
2022-06-25 13:37:10 +02:00
2022-06-25 13:37:16 +02:00
https://github.com/dutchcoders/transfer.sh/blob/main/examples.md
2022-06-25 13:37:10 +02:00
## Documentations et ressources
2022-06-25 13:37:16 +02:00
* Site officiel de l'app : < https: // transfer . sh />
* Documentation officielle de l'admin : < https: // github . com / dutchcoders / transfer . sh />
* Dépôt de code officiel de l'app : < https: // github . com / dutchcoders / transfer . sh >
* Documentation YunoHost pour cette app : < https: // yunohost . org / app_transfersh >
* Signaler un bug : < https: // github . com / YunoHost-Apps / transfersh_ynh / issues >
2022-06-25 13:37:10 +02:00
## Informations pour les développeurs
2022-06-25 13:37:16 +02:00
Merci de faire vos pull request sur la [branche testing ](https://github.com/YunoHost-Apps/transfersh_ynh/tree/testing ).
2022-06-25 13:37:10 +02:00
Pour essayer la branche testing, procédez comme suit.
``` bash
2022-06-25 13:37:16 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/transfersh_ynh/tree/testing --debug
2022-06-25 13:37:10 +02:00
ou
2022-06-25 13:37:16 +02:00
sudo yunohost app upgrade transfersh -u https://github.com/YunoHost-Apps/transfersh_ynh/tree/testing --debug
2022-06-25 13:37:10 +02:00
```
**Plus d'infos sur le packaging d'applications :** < https: / / yunohost . org / packaging_apps >