CLI program to quickly share directories using a http server
QuickShare (qs) is a variant of the (now legacy) SimpleHTTPServer present in python 2.x. It allows one to share quickly directories by opening a http server. qs supports both python2 and python3.
You can define an upload rate limit to prevent the clients from using all your bandwidth and it automatically searches a free port if the given or default one is taken.
Usage: qs [-h] [-p PORT] [-r RATE] [--no-sf] [FILE]... Options: -h, --help Print this help and exit. -p, --port PORT Port on which the server is listenning. Default is 8000 -r, --rate RATE Limit upload to RATE in ko/s. Default is 0 meaning no limitation. --no-sf Do not search a free port if the selected one is taken. Otherwise, increase the port number until it finds one. --version Print the current version Arguments: FILE Files or directory to share. Default is the current directory: `.' If '-' is given, read from stdin. If 'index.html' is found in the directory, it is served.
docopt https://github.com/docopt/docopt or “pip install docopt”
The simplest is to use
pip install qs
or, in this directory,
python setup.py install
This program is under the GPLv3 License.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Main developper: Cédric Picard Email: firstname.lastname@example.org