A CLI tool to get a public link for any file
Project description
## geturl - provide path. get url. ### A CLI tool to get a public link for any file
Uses [filepicker.io](https://www.filepicker.io) to store the files. It’s a cool uploading tool that I’ve been using on my website and this is a hack on top of it.
#### Use Cases
You need a quick way to send a file to someone. Instead of attaching it to an email or starting up your FTP server, use this to get a public URL.
Another tool in your arsenal of scp, yousendit, and flash drives for quickly exchanging files.
#### Usage
You provide a path, it returns a URL
geturl path/to/file
It also tries to use pbcopy on a mac, xsel or xclip on Linux to put the url into your clipboard.
<img src=”https://raw.github.com/uams/geturl/master/static/example.png”>
#### Installation
sudo curl https://raw.github.com/uams/geturl/master/geturl -o /usr/local/bin/geturl; sudo chmod +x /usr/local/bin/geturl
Enable Clipboard Access (Only necessary on Linux)
sudo apt-get install xclip
<img src=”https://raw.github.com/uams/geturl/master/static/install.png”>
#### Notes
It uses Filepicker.io as a storage backend. (They have a 5000 file free limit so it shouldn’t be a problem)
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
File details
Details for the file geturl-0.2.1.tar.gz
.
File metadata
- Download URL: geturl-0.2.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04518887c57ca8337e097ae1e84db02e44ec861127c3ff501ad380a098e049d7 |
|
MD5 | fdfe136f45b3a90ce01ffe932228608e |
|
BLAKE2b-256 | 987d757240cf1a7ad620d7c2a3b8177c1a9a8d97781b9a095f61587033ef5cd7 |