GithubHelp home page GithubHelp logo

ptzagk / qr-filetransfer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sdushantha/qr-filetransfer

0.0 0.0 0.0 165 KB

📡 Transfer files over WiFi between your computer and your smartphone from the terminal

Home Page: https://git.io/qr-filetransfer

License: MIT License

Python 100.00%

qr-filetransfer's Introduction


✨Transfer files over WiFi between your computer and your smartphone from the terminal✨

asciicast

Installation

You will find the most updated version of qr-filetransfer here. But if you want the most stable version, use pip to install it

Pip Install

Global Install

pip3 install qr-filetransfer

Local Install

pip3 install --user qr-filetransfer

Git Install

# clone the repo
$ git clone https://github.com/sdushantha/qr-filetransfer.git

# change the working directory to qr-filetransfer
$ cd qr-filetransfer

# install the requirements
$ pip3 install -r requirements.txt

Usage

usage: qr-filetransfer [-h] [--debug] [--receive] [--port PORT] file_path

Transfer files over WiFi between your computer and your smartphone from the
terminal

positional arguments:
  file_path             path that you want to transfer or store the received
                        file.

optional arguments:
  -h, --help            show this help message and exit
  --debug, -d           show the encoded url.
  --receive, -r         enable upload mode, received file will be stored at
                        given path.
  --port PORT, -p PORT  use custom port

Note: Both devices needs to be connected to the same network

Exiting

To exit the program, just press CTRL+C.


Transfer a single file

$ qr-filetransfer /path/to/file.txt

Transfer a full directory. Note: the directory gets zipped before being transferred

$ qr-filetransfer /path/to/directory/

Receive/upload a file from your phone to your computer

$ qr-filetransfer -r /path/to/receive/file/to/

Credits

Inspired by the Go project qr-filetransfer

License

MIT License

Copyright © 2019 Siddharth Dushantha

qr-filetransfer's People

Contributors

sdushantha avatar npes87184 avatar cedarctic avatar gomercin avatar therefromhere avatar orthdron avatar thomas154 avatar weary avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.