Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (20 sloc) 1.267 kb
f1b8eb65 » uams
2012-10-01 better description
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.
604b5700 » uams
2012-10-01 better description
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
f1b8eb65 » uams
2012-10-01 better description
10 - Another tool in your arsenal of `scp`, yousendit, and flash drives for quickly exchanging files.
e9f241c4 » uams
2012-09-30 making it more robust, adding readme. wrote a formula for homebrew
11
12 #### Usage
13
f1b8eb65 » uams
2012-10-01 better description
14 You provide a path, it returns a URL
15
5c123335 » uams
2012-10-01 updating docs
16 geturl path/to/file
e9f241c4 » uams
2012-09-30 making it more robust, adding readme. wrote a formula for homebrew
17
5c123335 » uams
2012-10-01 updating docs
18 It also tries to use `pbcopy` on a mac, `xsel` or `xclip` on Linux to put the url into your clipboard.
e9f241c4 » uams
2012-09-30 making it more robust, adding readme. wrote a formula for homebrew
19
da82ab8d » uams
2012-10-01 example images
20 <img src="https://raw.github.com/uams/geturl/master/static/example.png">
e9f241c4 » uams
2012-09-30 making it more robust, adding readme. wrote a formula for homebrew
21
22 #### Installation
23
49e5e86d » uams
2012-10-01 readme to note that ill brew/apt-get if there is interest
24 sudo curl https://raw.github.com/uams/geturl/master/geturl -o /usr/local/bin/geturl;
ccbc9a66 » uams
2012-10-01 renaming
25 sudo chmod +x /usr/local/bin/geturl
da82ab8d » uams
2012-10-01 example images
26
5c123335 » uams
2012-10-01 updating docs
27 Enable Clipboard Access (Only necessary on Linux)
28
29 sudo apt-get install xclip
30
49e5e86d » uams
2012-10-01 readme to note that ill brew/apt-get if there is interest
31 I'll submit it to `brew` and `apt-get` if enough people are interested.
32
da82ab8d » uams
2012-10-01 example images
33 <img src="https://raw.github.com/uams/geturl/master/static/install.png">
604b5700 » uams
2012-10-01 better description
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.