Instantly transfer files locally over HTTP
Project description
# boat
Boat lets you instantly share any file over HTTP from command line. You can use boat to share files over local network, or transfer to mobile devices if they are on same WiFi network!
![](https://github.com/ashisha/boat/blob/master/screenshot/craft.png)
# Usage
* To share a file called file.txt, run ```boat file.txt```
* boat 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 boat to generate a QR code: ```boat --qr file.txt```
* boat will then generate a QR code for you which can be scanned easily on mobile devices
* For more help, run ```boat --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 boat is easy, fire up your terminal, and execute the following commands in order:
```
sudo wget https://raw.github.com/ashisha/boat/master/boat -O /usr/local/bin/boat
sudo chmod +x /usr/local/bin/boat
```
# PS
* Tested on Mac and Linux (ArchLinux) with Python2.7 (pulls welcome)
* Thank you!
Boat lets you instantly share any file over HTTP from command line. You can use boat to share files over local network, or transfer to mobile devices if they are on same WiFi network!
![](https://github.com/ashisha/boat/blob/master/screenshot/craft.png)
# Usage
* To share a file called file.txt, run ```boat file.txt```
* boat 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 boat to generate a QR code: ```boat --qr file.txt```
* boat will then generate a QR code for you which can be scanned easily on mobile devices
* For more help, run ```boat --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 boat is easy, fire up your terminal, and execute the following commands in order:
```
sudo wget https://raw.github.com/ashisha/boat/master/boat -O /usr/local/bin/boat
sudo chmod +x /usr/local/bin/boat
```
# PS
* Tested on Mac and Linux (ArchLinux) with Python2.7 (pulls welcome)
* Thank you!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
boat-0.0.1.tar.gz
(3.3 kB
view details)
File details
Details for the file boat-0.0.1.tar.gz
.
File metadata
- Download URL: boat-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d8d7b512784d56be9c4f0742831c9ce8cd035bf5e4fb82719a2253d0bd283f |
|
MD5 | f91d852a798af1b8e7deb44f17044f96 |
|
BLAKE2b-256 | ae8d46e5158b15f38c864a610b8dbeb655ed2ab0371e4390288e92e60aa91a08 |