1.0.38 • Published 4 years ago

@stoplion/oh v1.0.38

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

logo

Command Line Bookmarking

Image from Gyazo

Image from Gyazo

Image from Gyazo


Start using this thing

// Kick it off by initializing

$ npm install -g @stoplion/oh
$ oh init
// Add some bookmarks with aliases
// oh add <alias> <url>

$ oh add red https://reddit.com/
// add a new entry with the alias 'red'

$ oh add g google.com -t search
// add a new entry with a tag


$ oh add g google.com -t search
// add a new entry with a tag

$ oh add hn https://news.ycombinator.com/ -t news code reading
// add a new entry with several tags

Image from Gyazo]

// Last all your bookmarks

$ oh ls
┌───────┬───────────────────────────────┬──────┐
│ alias │ url                           │ tags │
├───────┼───────────────────────────────┼──────┤
│ g     │ google.com                    │      │
├───────┼───────────────────────────────┼──────┤
│ hn    │ https://news.ycombinator.com/ │      │
├───────┼───────────────────────────────┼──────┤
│ red   │ https://reddit.com/           │      │
├───────┼───────────────────────────────┼──────┤
│ trel  │ https://trello.com/           │      │
└───────┴───────────────────────────────┴──────┘
// Open a bookmark in the browser
// oh <alias>

$ oh red
$ oh g
$ oh trel
$ oh hn
// Open in specific browser
// oh <alias> --browser [chrome, edge, firefox]

$ oh gh --browser chrome
$ oh gh --browser firefox
$ oh gh --browser edge
Tag a bookmark.
(More features with tagging comming soon!)

// oh tag <alias> <tags>

$ oh tag red reading news

┌───────┬───────────────────────────────┬───────────────┐
│ alias │ url                           │ tags          │
├───────┼───────────────────────────────┼───────────────┤
│ g     │ google.com                    │               │
├───────┼───────────────────────────────┼───────────────┤
│ hn    │ https://news.ycombinator.com/ │               │
├───────┼───────────────────────────────┼───────────────┤
│ red   │ https://reddit.com/           │ reading, news │
├───────┼───────────────────────────────┼───────────────┤
│ trel  │ https://trello.com/           │               │
└───────┴───────────────────────────────┴───────────────┘
// Remove a tag

// Removes the 'news' tag from the 'hn' entry
$ oh untag hn news
// List all tags

$ oh tags

┌─────────┬───────┐
│ tags    │ count │
├─────────┼───────┤
│ reading │ 2     │
├─────────┼───────┤
│ news    │ 1     │
└─────────┴───────┘
// Search bookmarks by tags

$  oh search -t news

┌───────┬─────────────────────┬───────────────┐
│ alias │ url                 │ tags          │
├───────┼─────────────────────┼───────────────┤
│ red   │ https://reddit.com/ │ reading, news │
└───────┴─────────────────────┴───────────────┘
// Search for bookmark by url
$ oh search -u trel

┌───────┬─────────────────────┬──────┐
│ alias │ url                 │ tags │
├───────┼─────────────────────┼──────┤
│ trel  │ https://trello.com/ │      │
└───────┴─────────────────────┴──────┘
// Search for bookmark via alias

$ oh search -a red

┌───────┬─────────────────────┬───────────────┐
│ alias │ url                 │ tags          │
├───────┼─────────────────────┼───────────────┤
│ red   │ https://reddit.com/ │ reading, news │
└───────┴─────────────────────┴───────────────┘

Features coming soon

- [x] Filter search by tag
- [x] Filter search by url and alias
- [x] Open with browsers other than Chrome
- [ ] Open in Incognito
- [ ] Open with different profiles
- [ ] Autocomplete
- [ ] Open all urls in 'project'

Made with opensource

1.0.38

4 years ago

1.0.37

4 years ago

1.0.36

4 years ago

1.0.35

4 years ago

1.0.34

4 years ago

1.0.19

4 years ago

1.0.29

4 years ago

1.0.28

4 years ago

1.0.17

4 years ago

1.0.27

4 years ago

1.0.16

4 years ago

1.0.33

4 years ago

1.0.22

4 years ago

1.0.32

4 years ago

1.0.21

4 years ago

1.0.31

4 years ago

1.0.20

4 years ago

1.0.30

4 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.24

4 years ago

1.0.13

4 years ago

1.0.23

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago