File tree 5 files changed +24
-2
lines changed
5 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ gol(go link) is a url shortner that run in cli and browser.
6
6
7
7
## Usage
8
8
9
- ### in cmd
9
+ ### in cli
10
+
11
+ ![ sample/gol_cli.gif] ( sample/gol_cli.gif )
10
12
11
13
``` bash
12
14
$ gol add confluence https://confluence.nice-company.com
@@ -40,22 +42,42 @@ $ gol peco jenkins
40
42
41
43
### in browser
42
44
45
+ #### run server
46
+
43
47
``` bash
48
+ # run server at localhost:5656
44
49
$ gol server
45
50
46
- # run in background
51
+ # or run in background
47
52
$ nohup gol server&
48
53
```
49
54
55
+ access ` localhost:5656 ` dumps all links
56
+ ![ sample/gol_chrome1.png] ( sample/gol_chrome1.png )
57
+
58
+
59
+ #### setting chrome
60
+
50
61
Open Chrome > Preference > add Search Engine > add below
51
62
63
+ ```
52
64
- name: gol
53
65
- keyword: gol
54
66
- query: http://localhost:5656/%s
67
+ ```
68
+
69
+ #### go-link in chrome!
55
70
56
71
then, you can open gol links by
57
72
click url bar > type 'gol' > tab > type key > enter
58
73
74
+ type ` gol ` > tab > type key
75
+ ![ sample/gol_chrome2.png] ( sample/gol_chrome2.png )
76
+
77
+ then enter > jump to the link!
78
+ ![ sample/gol_chrome3.png] ( sample/gol_chrome3.png )
79
+
80
+
59
81
60
82
## Install
61
83
You can’t perform that action at this time.
0 commit comments