1.0.38 • Published 3 years ago

@stoplion/oh v1.0.38

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

1.0.37

3 years ago

1.0.36

3 years ago

1.0.35

3 years ago

1.0.34

3 years ago

1.0.19

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.17

3 years ago

1.0.27

3 years ago

1.0.16

3 years ago

1.0.33

3 years ago

1.0.22

3 years ago

1.0.32

3 years ago

1.0.21

3 years ago

1.0.31

3 years ago

1.0.20

3 years ago

1.0.30

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.13

3 years ago

1.0.23

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago