https://github.com/codeman99/quick-transfer
WARNING: This project is potentially unstable. It has only been test on my own system.
https://github.com/codeman99/quick-transfer
Last synced: 5 months ago
JSON representation
WARNING: This project is potentially unstable. It has only been test on my own system.
- Host: GitHub
- URL: https://github.com/codeman99/quick-transfer
- Owner: CodeMan99
- License: isc
- Created: 2018-03-31T20:59:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T21:28:10.000Z (almost 8 years ago)
- Last Synced: 2025-03-28T22:04:46.468Z (12 months ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# quick-transfer [](https://travis-ci.org/CodeMan99/quick-transfer)
A one-time file server that displays a QR code to allow your mobile device to get the download URL.
## Install
npm install -g quick-transfer
## Usage
Provide a filename as the first (non-option) argument to serve that file.
quick-transfer shopping-list.txt
Provide multiple filenames to create and serve a zip archive.
quick-transfer notes01.txt notes02.txt notes03.txt
Pipe data to stdin to serve as "stdin.txt". Note that stdin must end.
git diff | quick-transfer
## Options
### -a, --address
Type: `string`
Default: `0.0.0.0`
Bind the node server to listen on this IPv4 address.
### -d, --display
Type: `string`
Provide an alternate IPv4 address to display without binding to the server. Useful when the server is behind multiple local routers, like inside VirtualBox.
### -e, --extension
Type: `string`
Override the extension, usually when piping data. For example `create-pdf README.md | quick-transfer -e pdf`.
### -f, --filename
Type: `string`
Override the entire filename. You may specify the basename here and the extension with either `-e` or `-t`.
### -g, --glob
Type: `boolean`
Default: `false`
Force filename arguments to be glob expanded (instead of using the shell). For example `quick-transfer -g -- '*.js'`.
### -h, --help
Type: `boolean`
Displays the usage string.
### -p, --port
Type: `number`
Use the specified port instead of a system assigned port.
### -t, --type
Type: `string`
Provide the content type header. When specified this will change the filename's extension accordingly. Overrides any value passed in with `-e`.
### -v, --verbose
Type: `boolean`
Force additional logging. Turn this on before reporting a bug.
### --version
Type: `boolean`
Displays the version information.
Related
-------
* [qr-filetransfer](https://github.com/claudiodangelis/qr-filetransfer) - Inspired this project, written in golang.
License
-------
ISC - Copyright © 2018, Cody A. Taylor