bayleedev / alfred-chrome-bookmarks Goto Github PK
View Code? Open in Web Editor NEW:bookmark: Fast Chrome bookmark searcher for Alfred.
License: MIT License
:bookmark: Fast Chrome bookmark searcher for Alfred.
License: MIT License
Increase readability of bookmarks with special characters "^ ~ ç ..."
It would be great to have these bookmark results included in the default search results along with files, folders, URL history, and whatever else is in there. Ideally, this would work in addition to using the workflow with a keyword (.e.g, ,b
), not replace it, so I could do it either way. Is this possible?
type some words to search,
first 3 to 4 may be matching the search,
but after that, all my (200+) results are there.
100% reproducible
Hi there,
I updated to macOS Monterey today and I can no longer locate bookmarks. The workflow opens correctly, but when I enter a search term that should work, it no longer finds a result.
Can you/someone please help?
Thanks so much!
enter the folder name and display file name in folder.
~/Library/Application Support/BraveSoftware/Brave-Browser/**/Bookmarks
in the configuration of the plugin
First off, thanks for making this, it works great by default, but I am looking to tweak it to modify the search query to be inside of brackets []. So if I search 'email', I really want your script to search my Chrome bookmarks for '[email]'. I looked through your bookmarks.php file and added this to the top of the BookmarkModel find method but it doesn't seem to be working.
$term = "[".$term."]";
My guess is that some of your regex code is pruning out my brackets? I am by no means a regex expert and thought I would post this here to see if maybe you knew what was causing it not to work? Thanks for your time!
I have two profiles set up in Chrome, Personal and Work. It seems that when I first set up this workflow, I was able to search my Work bookmarks fine. Now it seems to only search my Personal bookmarks. Note: Personal is set up as my default profile.
Disclaimer: I am not a developer
I looked at the script in the workflow:
PROFILE="~/Library/Application Support/Google/Chrome/Default/Bookmarks" php bookmarks.php {query}
So I dug into ~/Library/Application Support/Google/Chrome/
further, and found folders named Profile 1
and Profile 2
. The Profile 1
folder does not have a Bookmarks
JSON file, but Profile 2
does, and the contents seem to match the bookmarks of my work profile.
Is there a way to edit the script so that it searches both JSON files?
I'd love to see some favicons.
We could use the favicon sqlite database that Chrome gives us at ~/Library/Application Support/Google/Chrome/Default/Favicons
Or we could use a service like this one.
Or just create another script that'll gather/cache them on a per-domain basis. Maybe this can be a manual process for performance? It just traverses all bookmarks and caches the favicons.
This would be a nice feature but may become a performance hit.
This would be useful for searching bookmark items whose name or URL have symbols on them.
The workflow here (https://github.com/manifestinteractive/alfred-workflows/tree/master/Chrome%20History) seems to have some support for this.
Hey, you're workflow doesn't handle multiple google accounts. The following is what I use instead of your one. You may want to consider chucking it in?
for dir in ~/Library/Application\ Support/Google/Chrome/*/
do
folder=${dir%*/};
folder=${folder##*/};
if [[ "$folder" =~ Profile ]] ; then
file="${dir}Bookmarks";
if [[ -f $file ]]; then
PROFILE="$file" php bookmarks.php {query};
fi
fi
done
I just downloaded this to Alfred and it looks & works great! Is it possible to display the favicons of the individual bookmarks in the picklist?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.