https://github.com/maximumdata/instant-file-transfer
NPM Package to transfer files from your terminal to your phone
https://github.com/maximumdata/instant-file-transfer
phone qrcode transfer
Last synced: 6 months ago
JSON representation
NPM Package to transfer files from your terminal to your phone
- Host: GitHub
- URL: https://github.com/maximumdata/instant-file-transfer
- Owner: maximumdata
- License: mit
- Created: 2018-03-24T20:05:42.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T03:52:31.000Z (over 2 years ago)
- Last Synced: 2025-10-10T18:22:11.192Z (10 months ago)
- Topics: phone, qrcode, transfer
- Language: JavaScript
- Homepage:
- Size: 3.88 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# instant-file-transfer
[](https://www.codefactor.io/repository/github/maximumdata/instant-file-transfer)
Quickly transfer files from your terminal to your phone.

### Usage
`instant-file-transfer foo.jpg`
Spins up an express server that will serve the file and output a QR code with that will link to the server, triggering a download of the file when scanned by your phone.
#### New in 3.0!
Directory support is here! Invoke it via passing the current directory as the input. `ift ./`
### Options
`-p`
Set the port to use for the server, will default to 8080 if nothing is passed.
`-s`
Use a smaller QR code, useful if you (like me) use a quake style terminal with limited vertical height
`-l`
New in 2.0.0 - using a `-l` flag will instead generate a traditional QR code to a given URL. This will skip the web-server, and can also be used with `-s`. For example, to generate a small QR code link to my github profile:
```
ift -l https://github.com/maximumdata -s
```
### Alias
`ift` is made available as an alias for `instant-file-transfer`
#### NOTE
Your phone must be on the same wifi network as the computer you are serving the file from, or must otherwise be able to access that computer's local IP.