Skip to main content

flask waitress svelte file share program

Project description

qrshare

PyPI Python Version Repo Size Contributors Last Commit Issues Pull Requests License

Serve files or folders on local network with ease.

For extra security provide a password --password [password]

Install

pip install qrshare

Termux

  1. Install Termux from Google Play.

  2. Update packages: apt update && apt upgrade

  3. Setup storage: termux-setup-storage

  4. Install Python: pkg install python

  5. Install qrshare: pip install qrshare

  6. Use as described below in Terminal.

Usage

Terminal

Serve a specific directory or file

qrshare serve path/to/share

Serve the current directory

qrshare serve .

Send to

Windows only

Creating a shortcut in shell:sendto provides for easier use of convenience

commandline

qrshare config --sendto

manually

Press Windows + r and enter shell:sendto

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo

Create shortcut with command qrshare serve in folder

now option qrshare should appear when you right click to a file or folder

Commandline

qrshare --help

Usage: __main__.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  config  change user configurations
  serve   serve given list paths as per given options

qrshare serve --help

Usage: __main__.py serve [OPTIONS] PATHS...

  serve given list paths as per given options

Options:
  -p, --password TEXT  when provided every device require authentication
  --port INTEGER       waitress server port
  --help               Show this message and exit.
  • password is given preference over global password

qrshare config --help

Usage: __main__.py config [OPTIONS]

  change user configurations

Options:
  -p, --password TEXT  set a global password
  --remove-password    remove currently set global password
  --sendto             reset windows 'Send To' shortcut
  --open               open config directory
  --help               Show this message and exit.
  • global password can be removed by setting it an empty string ("")

Code Example

from qrshare import App

app = App(paths, debug=True)
app.serve()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qrshare-0.4.0.tar.gz (183.2 kB view hashes)

Uploaded Source

Built Distribution

qrshare-0.4.0-py3-none-any.whl (207.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page