Skip to content
/ Swish Public

Command Line Interface for Swisstransfer Infomaniak's free service.

License

Notifications You must be signed in to change notification settings

Blutsh/Swish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swish 🚀

A Command Line Tool for Infomaniak's SwissTransfer Service. ☁️

This project is not affiliated with Infomaniak and is not an official tool. ⚠️

Installation

All the binaries are available in the releases section. 📥

Download the binary for your platform and add it to your PATH. ⬇️

Usage

Usage: swish [OPTIONS] <FILE>

Arguments:
  <FILE>  could be a file or a folder or a link

Options:
  -p, --password <password>    Sets the password for the file(s) downloaded / uploaded
  -m, --message <Hello World>  Define the message for the file(s) uploaded
  -n, --number-download <250>  Define the max number of downloads for the file(s) uploaded
  -d, --duration <30>          Define the number of days the file(s) will be available for download
  -o, --output <output>        Define an output directory for the downloaded files
  -v, --verbose                Enable verbose mode
  -h, --help                   Print help
  -V, --version                Print version

Examples

Upload a file 🚀:

 swish /tmo/super-file.pdf

Upload a file with a password 🔐

swish -p mypassword /tmo/super-file.pdf

Download a file ⬇️:

swish https://www.swisstransfer.com/d/188be047-5b8c-48bf-9c4a-e70076c0e53c

Download a file with a password 🔐:

swish -p mypassword https://www.swisstransfer.com/d/188be047-5b8c-48bf-9c4a-e70076c0e53c

This tool does not provide any encryption feature. ⚠️

I strongly recommend you to encrypt your file before uploading it to any cloud service 🔒

Known Issues

File Upload Limit

When uploading many times the same file, it seems that infomaniaks servers flags you as suspicous traffic and you won't be able to upload for a while. It seems to be linked to your IP address, no extensive testing has been done. Use the debug mode to see the error message. ⚠️

Contributing

If a developer who truly has the skills and doesn't face the same skill issues as me wants to contribute to this project, feel free to do so. PRs and stuff. 🤝

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details. 📄

Contact

You can contact me at compote.interroge.0i@icloud.com 📧

Donate

I drank some during the project, it would be nice if you could   Buy Me a Coffee at ko-fi.com