Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (20 sloc) 1.267 kb
f1b8eb6 better description
uams authored
1 ## geturl - provide path. get url.
2 ### A CLI tool to get a public link for any file
3
4 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.
604b570 better description
uams authored
5
6 #### Use Cases
7
8 - 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.
9
f1b8eb6 better description
uams authored
10 - Another tool in your arsenal of `scp`, yousendit, and flash drives for quickly exchanging files.
e9f241c making it more robust, adding readme. wrote a formula for homebrew
uams authored
11
12 #### Usage
13
f1b8eb6 better description
uams authored
14 You provide a path, it returns a URL
15
5c12333 updating docs
uams authored
16 geturl path/to/file
e9f241c making it more robust, adding readme. wrote a formula for homebrew
uams authored
17
5c12333 updating docs
uams authored
18 It also tries to use `pbcopy` on a mac, `xsel` or `xclip` on Linux to put the url into your clipboard.
e9f241c making it more robust, adding readme. wrote a formula for homebrew
uams authored
19
da82ab8 example images
uams authored
20 <img src="https://raw.github.com/uams/geturl/master/static/example.png">
e9f241c making it more robust, adding readme. wrote a formula for homebrew
uams authored
21
22 #### Installation
23
49e5e86 readme to note that ill brew/apt-get if there is interest
uams authored
24 sudo curl https://raw.github.com/uams/geturl/master/geturl -o /usr/local/bin/geturl;
ccbc9a6 renaming
uams authored
25 sudo chmod +x /usr/local/bin/geturl
da82ab8 example images
uams authored
26
5c12333 updating docs
uams authored
27 Enable Clipboard Access (Only necessary on Linux)
28
29 sudo apt-get install xclip
30
49e5e86 readme to note that ill brew/apt-get if there is interest
uams authored
31 I'll submit it to `brew` and `apt-get` if enough people are interested.
32
da82ab8 example images
uams authored
33 <img src="https://raw.github.com/uams/geturl/master/static/install.png">
604b570 better description
uams authored
34
35 #### Notes
36
37 It uses Filepicker.io as a storage backend. (They have a 5000 file free limit so it shouldn't be a problem)
Something went wrong with that request. Please try again.