Giter VIP home page Giter VIP logo

chrome-bookmarks-alfred-workflow's Introduction

Hi๐Ÿ‘‹๐Ÿป, I am Marat.

Results-driven and quality-oriented full stack software engineer with 14+ years of experience in software architecture development.

I am a polyglot programmer, and I am enjoying using Go, Node, Java, and many others languages.

chrome-bookmarks-alfred-workflow's People

Contributors

cabbage avatar cuber avatar dependabot-preview[bot] avatar dependabot[bot] avatar dvcrn avatar earthpyy avatar mdreizin avatar rahulpilani avatar snakewa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chrome-bookmarks-alfred-workflow's Issues

Your .dependabot/config.yml contained invalid details

Dependabot encountered the following error when parsing your .dependabot/config.yml:

The property '#/update_configs/0/update_schedule' value "live" did not match one of the following values: daily, weekly, monthly

Please update the config file to conform with Dependabot's specification.

You can mention @dependabot in the comments below to contact the Dependabot team.

add support for ungoogled chromium

I installed this. However the chromium bookmark searcher does not seem to work with it. It just gives an error :

2017-08-25 at 02 39

If you can add support for it, it would be amazing. Thank you.

Workflow is broken if one of the bookmarks have emoji in URL

If one of the bookmarks have emoji in URL workflow stops working.

URL that cause the problem: http://una.im/svg-icons#๐Ÿ’

Debug log:

[ERROR: alfred.workflow.input.scriptfilter] Code 1: Traceback (most recent call last):
  File "main.py", line 55, in <module>
    main(list(alfred.args()))
  File "main.py", line 38, in main
    ), provider.get_bookmarks(query))
  File "/Users/aleks/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8B50DA7F-34CB-4976-88F2-5661D922B7D9/lib/workflow/providers/provider_base.py", line 142, in get_bookmarks
    url_ratio = matcher.ratio(decode_url(url))
  File "/Users/aleks/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.8B50DA7F-34CB-4976-88F2-5661D922B7D9/lib/workflow/providers/provider_base.py", line 42, in decode_url
    return urllib2.unquote(url.decode('utf-8'))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 25-26: ordinal not in range(128)

Workflow version is the latest from Packal.
Alfred v2.8.2 (432).
Chrome 50.0.2638.0 dev (64-bit).

install failed

image

~/Code/github-repos/chrome-bookmarks-alfred-workflow on ๎‚  master โŒš 12:19:33
$ make deps

~/Code/github-repos/chrome-bookmarks-alfred-workflow on ๎‚  master โŒš 12:19:40
$ make build

~/Code/github-repos/chrome-bookmarks-alfred-workflow on ๎‚  master โŒš 12:19:51
$ ./build/chrome-bookmarks.alfredworkflow 
zsh: permission denied: ./build/chrome-bookmarks.alfredworkflow

~/Code/github-repos/chrome-bookmarks-alfred-workflow on ๎‚  master โŒš 12:20:06
$ sudo chmod +x ./build/chrome-bookmarks.alfredworkflow 
Password:

~/Code/github-repos/chrome-bookmarks-alfred-workflow on ๎‚  master โŒš 12:20:30
$ ./build/chrome-bookmarks.alfredworkflow 
zsh: exec format error: ./build/chrome-bookmarks.alfredworkflow

~/Code/github-repos/chrome-bookmarks-alfred-workflow on ๎‚  master โŒš 12:20:39
$ 

env:
macOS Big Sur 11.2.3
go version go1.16.2 darwin/amd64

Installation question

Hi, sorry for the basic question but what does dep mean in make deps? I'm getting this error when I try running it

 No rule to make target `deps'.  Stop.

Many thanks,
Nick

Search for bookmarks without typing browser name?

Is it possible to choose a default chromium-based browser to look for bookmarks without typing browser name?

I am interested in MS Edge and it would be great to just start typing bookmark name without providing edge prefix first. Like it is implemented for Chrome in Alfred out-of-the-box.

Sorry if it is a dumb question, I am new to Alfred. I bought it recently to use this workflow and open MS edge bookmarks with it

New version search bookmarks differently

Issue continues from #9.

If I search for โ€reactโ€ both an old and a new version (0.1.1) have same results. I want to narrow down results and specifying search query with another word (โ€œreact reduxโ€). Old version shows a result that has both โ€œreactโ€ and โ€œreduxโ€ in a bookmark, but a new version, I suppose, shows results that have โ€œreactโ€ or โ€œreduxโ€ in a bookmark.

Old version results (results are different):

screen shot 2016-07-01 at 09 19 53

screen shot 2016-07-01 at 09 19 58

New version results (results are the same, but maybe it contains more search results):

screen shot 2016-07-01 at 09 16 18

screen shot 2016-07-01 at 09 16 25

macOS Catalina Failure

Looks like your use of normalise won't work in Catalina as normalise isn't "verified" and Catalina wants to delete it.

I'm going to see if I can fix it, but figured I'd create an issue in case someone else has already fixed it.

image

Broken in Alfred 3 :(

No bookmarks could be found under Alfred 3. Profiles can be found though, but re-selecting the user's profile does not fix the issue.

"developer cannot be verified"

macOS Big Sur v11.5.2

For some reason I can no longer use this workflow as I get the attached warnings.

Any ideas as to how I can work round this?
Screenshot 2021-08-23 at 13 00 54
Screenshot 2021-08-23 at 13 01 09

Partial, multiword matching

If I have a bookmark like "Foo Bar Bazzing", Chrome's address bar will find it if I type "Foo Baz" or "Baz Foo". It treats each word separately.

The search in this workflow only matches the whole phrase, so the the searches above fail to find the bookmark.

How can I change the chrome profile path?

in debug mode, i got this error:
[2017-02-17 15:28:09][input.scriptfilter]
<title>chrome-bookmarks</title>Error: open /Users/allen/Library/Application Support/Google/Chrome/Default/Bookmarks: no such file or directory/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"

in my computer, chrome profile path is "~/Library/Application Support/Google/Chrome/Profile 2/Bookmarks"
so, how can I change it?

Include the parent folder name

Thank you for this workflow ... it's very helpful!

It would be helpful for me to have the parent folder name in the bookmark information. I'm not sure if it makes most sense in the title or subtitle but essentially have a lot of project folders with similar links. For example, most projects have a "Basecamp" link, so searching for "basecamp" turns up a lot of results and "[project] basecamp" doesn't turn up any.

Chrome Search Broken

Any ideas on how to fix the chrome bookmark search workflow? I have been searching the boards with no luck.

0.1.6

Sorry, me again.
Even after a clean install of 0.1.6 I get this:

Starting debug for 'Chrome Bookmarks'

[2017-02-08 19:15:50][ERROR: input.scriptfilter] Code 2: panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x5bb4d]

goroutine 1 [running]:
panic(0x296c00, 0xc8200100b0)
	/home/travis/.gimme/versions/go1.6.2.linux.amd64/src/runtime/panic.go:481 +0x3e6
github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli.HandleAction.func1(0xc8200c3618)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli/app.go:472 +0x417
panic(0x296c00, 0xc8200100b0)
	/home/travis/.gimme/versions/go1.6.2.linux.amd64/src/runtime/panic.go:443 +0x4e9
github.com/mdreizin/chrome-bookmarks-alfred-workflow/model.Browser.FullPathFor(0xc82000ed20, 0x24, 0xc820010e18, 0x6, 0xc8200149c0, 0x11, 0xc820010e50, 0xd, 0xc82000ed50, 0x2b, ...)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/model/browser.go:35 +0x1cd
github.com/mdreizin/chrome-bookmarks-alfred-workflow/repository.(*JsonProfileRepository).GetProfiles(0xc820011360, 0xc82000ed20, 0x24, 0xc820010e18, 0x6, 0xc8200149c0, 0x11, 0xc820010e50, 0xd, 0xc82000ed50, ...)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/repository/json_profile_repository.go:24 +0x138
github.com/mdreizin/chrome-bookmarks-alfred-workflow/service.(*DefaultBookmarkService).GetProfiles(0xc82000a840, 0xc82000ed20, 0x24, 0xc820010e18, 0x6, 0xc8200149c0, 0x11, 0xc820010e50, 0xd, 0xc82000ed50, ...)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/service/default_bookmark_service.go:48 +0x206
main.profileCommand.func1(0xc82008e280, 0x0, 0x0)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/cli/profile_command.go:20 +0x338
reflect.Value.call(0x237840, 0x35e238, 0x13, 0x2e55a0, 0x4, 0xc8200c3578, 0x1, 0x1, 0x0, 0x0, ...)
	/home/travis/.gimme/versions/go1.6.2.linux.amd64/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0x237840, 0x35e238, 0x13, 0xc8200c3578, 0x1, 0x1, 0x0, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.6.2.linux.amd64/src/reflect/value.go:303 +0xb1
github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli.HandleAction(0x237840, 0x35e238, 0xc82008e280, 0x0, 0x0)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli/app.go:481 +0x2ee
github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli.Command.Run(0x2f2030, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli/command.go:186 +0x1301
github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli.(*App).Run(0xc820001080, 0xc82000a240, 0x4, 0x4, 0x0, 0x0)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/vendor/github.com/urfave/cli/app.go:235 +0xa9c
main.run(0x0, 0x0)
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/cli/main.go:12 +0x55
main.main()
	/home/travis/gopath/src/github.com/mdreizin/chrome-bookmarks-alfred-workflow/cli/main.go:6 +0x18

Cant edit keywords

I had to edit the .plist

This is what the workflow looks like in alfreds settings.
Seems it's missing most workflows.

screen shot 2017-02-07 at 11 00 43

workflow.yml data?

I'm trying to add MS Edge Chromium to the workflow but cannot figure out where "bookmarkListId bookmarkOpenId profileListId profilelist" are derived from. I can't find any of the strings in file/dir names in my ~/Library. Likewise searching for these terms or the Chromium strings in all the major search engines produced no relevant hits.

I wouldn't guess these are self-generated. What am I missing?

macOS High Sierra 10.13 Beta (17A315i)

Hi there, I upgrade to the current macOS Beta and I can't get your workflow to work. I'm not sure if this is due to an error in my setup/configuration or an incompatibility with the new version of macOS.

I tried manually running
./bin/chrome-bookmarks bookmarks "chromium" -query="xyz"

which gives me this error:
Segmentation fault: 11

Any idea? Thanks :)

Dont find bookmarks

Im using Chrome: 47.0.2526.73 (64-bit) and I have it installed on /opt/homebrew-cask/Caskroom/

I checked on alfred debug and it prints

[STDERR: alfred.workflow.input.scriptfilter] /bin/bash: ./bin/normalise: Permission denied

what can I do?

Profile support

As user I would like to have ability to choose a profile. By default it is "Default" profile.

Feature Request: Bookmark Folders

Can we please have a feature where we can search by folder name? For example, I have a bunch of bookmarks in different folders, for example "January-2020". I would like to be able to do something like "chrome January-2020/keyword" which would search the January-2020 folder for keyword.

Is this possible?

Vivaldi support

It would be great with support for Vivaldi. I think it should be easy to implement, since the folder seems to be identical to Chrome. I.e ~/Library/Application Support/Vivaldi/Default/bookmarks.

I tried myself, but have never tried Go before so didn't get it to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.