1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transfersh_ynh.git synced 2024-09-04 01:35:59 +02:00
Transfersh package for YunoHost
Find a file
2022-06-25 14:49:53 +02:00
conf Update .env 2022-06-25 14:49:45 +02:00
doc Update DISCLAIMER.md 2022-06-25 13:43:24 +02:00
scripts Update upgrade 2022-06-25 14:32:04 +02:00
sources First commit 2022-06-25 13:37:10 +02:00
check_process Update check_process 2022-06-25 13:49:24 +02:00
config_panel.toml.example First commit 2022-06-25 13:37:10 +02:00
LICENSE First commit 2022-06-25 13:37:10 +02:00
manifest.json Update manifest.json 2022-06-25 14:48:36 +02:00
README.md Auto-update README 2022-06-25 12:48:42 +00:00
README_fr.md Auto-update README 2022-06-25 12:48:42 +00:00

Transfer.sh for YunoHost

Integration level Working status Maintenance status
Install Transfer.sh with YunoHost

Lire ce readme en français.

This package allows you to install Transfer.sh quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

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

Shipped version: 1.4.0~ynh1

Screenshots

Screenshot of Transfer.sh

Disclaimers / important information

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

How to

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

Documentation and resources

Developer info

Please send 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/transfersh_ynh/tree/testing --debug
or
sudo yunohost app upgrade transfersh -u https://github.com/YunoHost-Apps/transfersh_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps