Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ahmadassaf/booklight
Browse files Browse the repository at this point in the history
* 'master' of github.com:ahmadassaf/booklight:
  Vim keybindings
  Update README.md
  Update README.md
  Update README.md
  Update README.md
  Update README.md
  • Loading branch information
ahmadassaf committed Nov 17, 2015
2 parents 2644e3f + e6f32b2 commit 8104670
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ I got fed up wasting my time trying to navigate my way through bunch of bookmark

then you came to the right place. **Booklight** is a clean Chrome Extension to ease the way of adding a bookmark.

To Launch press (ctrl/Control + b) and thats it
- To launch press (ctrl/Control + b)
- To enable bookmarks search mode hit `space` after booklight is launched

[Download from Chrome Store](https://chrome.google.com/webstore/detail/booklight/lkdhojpobehkcldjmileiancjjpdeakk)

Expand All @@ -27,14 +28,14 @@ To Launch press (ctrl/Control + b) and thats it
- Fuzzy search enabled for filtering on both folders and urls **NEW**
- Clean current URL before bookmarking (sometimes the url is polluted with query strings e.g `?source= ...` for various tracking information). To clean the url from those, hit `ctrl+alt+x` and this will solve this issue.

![booklight](http://g.recordit.co/CP32P1AZwl.gif)
![booklight](http://g.recordit.co/ZsvnnFqYdu.gif)

## Bookmark Search & launch

Booklight now has the ability to search on your bookmakrs **and it is blazing fast**. I have around 20,000 bookmarks ! and through smart lazy loading and fuzzy search, you can now easily search and launch bookmarks anywhere while browsing.
To switch to the url search mode just hit `space` and then you will see that you can now search urls by having the `|` symbol in the input box.
To launch a url in the current window, simply hit `enter` and to open it in a new tab hit `ctr\control + enter`
![booklight-urls](http://g.recordit.co/nDU3F0WslP.gif)
![booklight-urls](http://g.recordit.co/aala9MAKo9.gif)

### Booklight Performance
I currently have over 1000 folders and 20,000 bookmarked urls. Booklight is blazing fast, to achieve this i implement various hacks to minimize DOM manipulations and most importantly lazy-loading of urls. The lazy loading happens in the following function:
Expand Down Expand Up @@ -81,3 +82,8 @@ You can tweak the number of elements you want to show on every iteration and it


[Download from Chrome Store](https://chrome.google.com/webstore/detail/booklight/lkdhojpobehkcldjmileiancjjpdeakk)

### Thoughts

- [Google Chrome’s awful new bookmark manager (and how to switch it off)](http://blog.garethjmsaunders.co.uk/2015/04/19/google-chromes-awful-new-bookmark-manager-and-how-to-switch-it-off/)
- [Chrome users roast Google on spit of hate over revamped bookmarks manager](http://www.computerworld.com/article/2913426/web-browsers/chrome-users-roast-google-on-spit-of-hate-over-revamped-bookmarks-manager.html)
6 changes: 5 additions & 1 deletion booklight.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ var booklight = function booklight() {
booklightListener.simple_combo('down', function(){ booklight.navigator.moveInList("DOWN") });
booklightListener.simple_combo('right', function(){ booklight.navigator.moveInList("RIGHT") });
booklightListener.simple_combo('left', function(){ booklight.navigator.moveInList("LEFT") });
booklightListener.simple_combo('ctrl k', function(){ booklight.navigator.moveInList("UP") });
booklightListener.simple_combo('ctrl j', function(){ booklight.navigator.moveInList("DOWN") });
booklightListener.simple_combo('ctrl l', function(){ booklight.navigator.moveInList("RIGHT") });
booklightListener.simple_combo('ctrl h', function(){ booklight.navigator.moveInList("LEFT") });

}

Expand Down Expand Up @@ -374,4 +378,4 @@ var booklight = function booklight() {

var booklight = new booklight();

booklight.UI.build();
booklight.UI.build();

0 comments on commit 8104670

Please sign in to comment.