Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Instantly transfer files locally over HTTP

Project Description

# craft
Craft lets you instantly share any file over HTTP from command line. You can use craft to share files over local network, or transfer to mobile devices if they are on same WiFi network!


# Usage
* To share a file called file.txt, run ```craft file.txt```
* craft will spawn a HTTP server and tell you the corresponding URL
* You can now download file.txt on the local network by going to URL via any client (browser, curl, wget)
* Additionally you can ask craft to generate a QR code: ```craft --qr file.txt```
* craft will then generate a QR code for you which can be scanned easily on mobile devices
* For more help, run ```craft --help```

# Features
* Spawns a HTTP server per file, you don't need to worry about port numbers
* The spawned HTTP servers are auto-managed, they kill themselves after a certain timeout or maximum number of requests
* Support for QR code generation to assist mobile devices

# Requirements
* Python 2.x
* Python Imaging and QR libraries (optional):
pip install Pillow
pip install pyqrcode

# Installation
Installing craft is easy, fire up your terminal, and execute the following commands in order:
sudo wget -O /usr/local/bin/craft
sudo chmod +x /usr/local/bin/craft

# PS
* Tested on Mac and Linux (ArchLinux) with Python2.7 (pulls welcome)
* Thank you!

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(3.2 kB) Copy SHA256 Hash SHA256
Source Oct 16, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting