Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 85 lines (54 sloc) 1.775 kb
c3da250 @tj Readme
authored
1
56ab00d @tj docs
authored
2 <a name="bm" />
c3da250 @tj Readme
authored
3 ## BM
4
9aa0fa9 @tj new image in docs
authored
5 Simple bash CLI bookmarks persisted by your _~/Dropbox_, sporting
6114aa3 @tj docs
authored
6 a webkit2png-driven html screenshot browser, even grep the screenshots
7 by tag and description:
9aa0fa9 @tj new image in docs
authored
8
6114aa3 @tj docs
authored
9 $ bm view expressapp
aee79de @tj docs
authored
10
9aa0fa9 @tj new image in docs
authored
11 ![](http://cl.ly/FREx/Screen%20Shot%202012-03-29%20at%2011.15.14%20PM.png)
c3da250 @tj Readme
authored
12
13 ## Install
14
15 ```
16 $ make install
17 $ make uninstall
18 ```
19
f1aa6c1 @tj padding
authored
20 ## Example
21
22 Add a bookmark:
23
24 $ bm add http://subtlepatterns.com "tiling background images" design textures
25
26 Open it later:
27
28 $ bm subtle
29
30 Search for design related bookmarks:
31
7e8f224 @tj BOOKMARKS
authored
32 ![cli bookmarks](http://f.cl.ly/items/0s3M0T1B122L3W1C1L1U/Screen%20Shot%202012-03-15%20at%204.44.24%20PM.png)
f1aa6c1 @tj padding
authored
33
c3da250 @tj Readme
authored
34 ## Usage
35
36 ```
37
38 Usage: bm [options] [cmd]
39
40 Commands:
41
42 # add a bookmark with the given url, description, and optional tags
e0c0bc9 @tj Added `bm` lists and `bm QUERY` opens
authored
43 $ bm add <url> [desc] [tag...]
c3da250 @tj Readme
authored
44
45 # open the first bookmark matching <query>
e0c0bc9 @tj Added `bm` lists and `bm QUERY` opens
authored
46 $ bm open <query>
47 $ bm <query>
c3da250 @tj Readme
authored
48
49 # search the bookmarks via full-text <query>
e0c0bc9 @tj Added `bm` lists and `bm QUERY` opens
authored
50 $ bm search <query>
c3da250 @tj Readme
authored
51
52 # list bookmarks available
e0c0bc9 @tj Added `bm` lists and `bm QUERY` opens
authored
53 $ bm list
54 $ bm ls
55 $ bm
c3da250 @tj Readme
authored
56
2462a70 @tj docs for prev commit
authored
57 # view bookmark screenshots in your default browser
0e8b333 @tj Added `bm view [query]` support
authored
58 $ vm view design
2462a70 @tj docs for prev commit
authored
59 $ vm view
60
c3da250 @tj Readme
authored
61 # clear all bookmarks
e0c0bc9 @tj Added `bm` lists and `bm QUERY` opens
authored
62 $ bm clear
c3da250 @tj Readme
authored
63
64 Options:
65
66 -V, --version output bm version
67 -h, --help output this help information
68
69e205c @tj docs
authored
69 ```
70
d8c6fde @tj anchor
authored
71 <a name="screenshots" />
f02bfa6 @tj docs
authored
72 ## Screenshots
73
0e8b333 @tj Added `bm view [query]` support
authored
74 Run `bm view [query]` to view the bookmark screenshots in your default browser. This requires `webkit2png(1)` (`brew install webkit2png`).
f02bfa6 @tj docs
authored
75
69e205c @tj docs
authored
76 ## Dropbox
77
78 Later I'll make it so you can tweak the path, however for now the bookmarks are persisted to _~/Dropbox/bookmarks_:
79
80 ```
81 $ cat ~/Dropbox/bookmarks
82 https://kippt.com|bookmark management|clean white design
83 http://subtlepatterns.com|tiling background images|design textures
84 http://www.uiparade.com|ui component designs|design ui
c3da250 @tj Readme
authored
85 ```
Something went wrong with that request. Please try again.