All Projects → roccomuso → transfer-sh

roccomuso / transfer-sh

Licence: other
Node.js CLI tool for easy file sharing using Transfer.sh

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to transfer-sh

Docs
Lightweight document management system packed with all the features you can expect from big expensive solutions
Stars: ✭ 827 (+3345.83%)
Mutual labels:  sharing, file-sharing
Netassistant
A UDP/TCP Assistant. 网络调试助手
Stars: ✭ 66 (+175%)
Mutual labels:  transfer, file
Core
☁️ ownCloud web server core (Files, DAV, etc.)
Stars: ✭ 7,599 (+31562.5%)
Mutual labels:  sharing, file-sharing
Pomf
Simple file uploading and sharing
Stars: ✭ 535 (+2129.17%)
Mutual labels:  file-sharing, file
simple-file-server
Transfer and browse files as simple as possiable via HTTP. Supported Windows, Linux, Mac OS...(Support QRCode output)
Stars: ✭ 43 (+79.17%)
Mutual labels:  transfer, file
Cloudreve
🌩支持多家云存储的云盘系统 (Self-deployed file management and sharing system, supports multiple storage providers)
Stars: ✭ 12,318 (+51225%)
Mutual labels:  file-sharing, file
Qr Filetransfer
Transfer files over WiFi between your computer and your smartphone from the terminal
Stars: ✭ 738 (+2975%)
Mutual labels:  transfer, file-sharing
Server
☁️ Nextcloud server, a safe home for all your data
Stars: ✭ 17,723 (+73745.83%)
Mutual labels:  sharing, file-sharing
Croc
Easily and securely send things from one computer to another 🐊 📦
Stars: ✭ 17,834 (+74208.33%)
Mutual labels:  transfer, file-sharing
Easy transfer
文件传输项目
Stars: ✭ 130 (+441.67%)
Mutual labels:  transfer, file
Dropit
DropIt is a File Uploader built with nodejs, Upload, get a link, and share your files with anyone easily.
Stars: ✭ 367 (+1429.17%)
Mutual labels:  file-sharing, file
WiFi-Direct-File-Transfer-App
WiFi Direct File Transfer is a experimental app that will allow sharing of data between Android devices running Android 4.0 or higher using a WiFi direct connection without the use of a WiFi access point. This will enable data transfer between devices without relying on any existing network infrastructure
Stars: ✭ 88 (+266.67%)
Mutual labels:  transfer, file
Gofi
Gofi (gəʊfi:) means Go file indexer.
Stars: ✭ 291 (+1112.5%)
Mutual labels:  file-sharing, file
Ansible Role Nfs
Ansible Role - NFS
Stars: ✭ 141 (+487.5%)
Mutual labels:  file-sharing, file
Webdrop
Easiest group P2P File & Message transfer in browser with WebRTC 🔥. Cross-platform alternative to Apple's AirDrop, Xender, ShareIT with the same speed over LAN. No installation, just a website :)
Stars: ✭ 119 (+395.83%)
Mutual labels:  transfer, file-sharing
Transfer.sh
Easy file sharing from your Android device!
Stars: ✭ 14 (-41.67%)
Mutual labels:  transfer, file-sharing
Waarp-All
This version is a major version for all Waarp Modules, previously being split.
Stars: ✭ 18 (-25%)
Mutual labels:  transfer, file
commons-booking
Wordpress plugin for managing and booking of common goods. New Version 2: https://github.com/wielebenwir/commonsbooking
Stars: ✭ 24 (+0%)
Mutual labels:  sharing
helm-fzf
Fzf using Helm as a front end
Stars: ✭ 16 (-33.33%)
Mutual labels:  file
arrayfiles
Array-like File Access in Python
Stars: ✭ 41 (+70.83%)
Mutual labels:  file

transfer-sh NPM Version Build Status Dependency Status JavaScript Style Guide Patreon donate button

Node.js CLI tool for easy file sharing using Transfer.sh

Install

The easiest way to get transfer-sh is with npm:

$ npm install -g transfer-sh

CLI Usage

$ transfer hello.txt

Will return a link to the resource and automatically you'll have it copied to your clipboard.

PS. transfer is an alias for transfer-sh.

Encrypt a file using a password:

$ transfer hello.txt -p s3cr3t

Example

var Transfer = require('transfer-sh')

/* Encrypt and Upload */
new Transfer('./Hello.md', {password: 's3cr3t'})
  .upload()
  .then(function (link) { console.log(link) })
  .catch(function (err) { console.log(err) })

/* Decrypt */
new Transfer('./Hello.enc', {password: 's3cr3t'})
  .decrypt('Output.md') // or writable stream
  .then(function (wStream) { console.log('Decrypted!') }) // it returns a writableStream
  .catch(function (err) { console.log(err) })

NB.: The constructor accepts also a Readable stream as 1th param, in that case make sure to provide a name option.

Options

password: optional field, if provided will encrypt the file with aes-256-cbc no-salt and base64 encoded before the upload.

You can then easily decrypt your file using transfer-sh itself:

$ transfer -d hello.enc -p s3cr3t [-o output.txt]

or the openssl util:

$ openssl aes-256-cbc -d -a -nosalt -in <encrypted_file> -out <destination> -k <password>

openssl params explanation:

-d decrypt.

-a to decode base64 (with line break). NB. The file is base64 encoded to be easy human-readable and to allow easy copy-paste.

-nosalt The used node crypto lib by default doesn't apply any salt.

-in input encrypted file.

-out output decrypted file.

-k password.

Author

Rocco Musolino (@roccomuso)

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].