All Projects → tupton → alfred-chrome-history

tupton / alfred-chrome-history

Licence: other
Search your Google Chrome history in Alfred

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to alfred-chrome-history

Chrome Bookmarks Alfred Workflow
Chrome/Canary/Chromium/Microsoft Edge bookmarks search workflow for Alfred
Stars: ✭ 241 (+42.6%)
Mutual labels:  alfred, alfred-workflow, google-chrome
alfred-kat
KAT workflow for Alfred, search and open magnet links directly from Alfred.
Stars: ✭ 16 (-90.53%)
Mutual labels:  alfred, alfred-workflow
alfred-caniuse
Quickly reference caniuse.com support tables using Alfred 3.
Stars: ✭ 16 (-90.53%)
Mutual labels:  alfred, alfred-workflow
alfred-mailto
Send emails to recipients and groups from Alfred
Stars: ✭ 59 (-65.09%)
Mutual labels:  alfred, alfred-workflow
alfred-chinese-converter
支持 OpenCC 簡繁體中文詞彙級別轉換、異體字轉換以及地區習慣用詞轉換的 Alfred 2 workflow
Stars: ✭ 42 (-75.15%)
Mutual labels:  alfred, alfred-workflow
alfred-tldr
tldr with alfred workflow written in Go
Stars: ✭ 77 (-54.44%)
Mutual labels:  alfred, alfred-workflow
alfred-bookmarks
bookmark search with alfred workflow written in Go
Stars: ✭ 24 (-85.8%)
Mutual labels:  alfred-workflow, google-chrome
alfred-currency-conversion
Alfred 4 Workflow - See foreign exchange rates and currency conversion
Stars: ✭ 149 (-11.83%)
Mutual labels:  alfred, alfred-workflow
alfred-duden
Search the duden.de German dictionary from Alfred. With auto-suggest.
Stars: ✭ 32 (-81.07%)
Mutual labels:  alfred, alfred-workflow
Movie-and-TV-Show-Search-Alfred-Workflow
An Alfred workflow to search for a movie (or TV show) and get a few ratings
Stars: ✭ 63 (-62.72%)
Mutual labels:  alfred, alfred-workflow
alfred-timer-workflow
Alfred workflow to start a timer, which blinks when the time is up.
Stars: ✭ 39 (-76.92%)
Mutual labels:  alfred, alfred-workflow
alfred-workflows
Collection of Alfred workflows
Stars: ✭ 24 (-85.8%)
Mutual labels:  alfred, alfred-workflow
alfred-otter
Alfred workflow for searching and retrieving transcripts from Otter.ai
Stars: ✭ 20 (-88.17%)
Mutual labels:  alfred, alfred-workflow
alfred-ask-create-share
Alfred workflow for creating web submissions (Stack Exchange, Forums and more)
Stars: ✭ 30 (-82.25%)
Mutual labels:  alfred, alfred-workflow
alfred-craftdocs-searchindex
Note searching for Craft Docs
Stars: ✭ 20 (-88.17%)
Mutual labels:  alfred, alfred-workflow
alfred-powerthesaurus
Search Powerthesaurus synonyms and antonyms from Alfred
Stars: ✭ 81 (-52.07%)
Mutual labels:  alfred, alfred-workflow
alfred-default-folder-x
Access your Default Folder X favourites and recent items in Alfred
Stars: ✭ 21 (-87.57%)
Mutual labels:  alfred, alfred-workflow
alfred-git-commit-message-example
Alfred Git Commit Message Example
Stars: ✭ 55 (-67.46%)
Mutual labels:  alfred, alfred-workflow
alfred-sublime-text
Filter and open your Sublime Text (2 and 3) project files from Alfred.
Stars: ✭ 66 (-60.95%)
Mutual labels:  alfred, alfred-workflow
shimmering-obsidian
Alfred Workflow for various enhancements of Obsidian.
Stars: ✭ 302 (+78.7%)
Mutual labels:  alfred, alfred-workflow

Alfred Chrome History Workflow

Access your Google Chrome history from Alfred with ch {query}.

alfred chrome history workflow

How to install

Download the workflow from the releases page and install by double-clicking it.

From source

Clone this repo and symlink it to <sync directory>/Alfred.alfredpreferences/workflows/alfred-chrome-history. Your Alfred sync directory can be found going to Preferences → Advanced → Syncing.

Then run make dev to install requirements and set the repository up to be used as a workflow.

Configuration

The workflow should work out of the box with the ch prefix. If you'd like to change this, update the keyword in the Alfred workflow's script filter.

Choosing the correct Google Chrome profile directory

The Alfred script filter is set up to use the default Chrome profile located in ~/Library/Application Support/Google/Chrome/Default. If you need to use a different profile, update the PROFILE environment variable in the Alfred workflow's script filter. This could be the necessary if you have signed in to Chrome with different or multiple accounts, and usually the profile directory is located in something like Profile 1. If that is the case, the entire Script contents in the workflow's script filter would be:

PROFILE="~/Library/Application Support/Google/Chrome/Profile 1"
PATH="env/bin:$PATH"
python chrome.py "${PROFILE}" "{query}"

In a terminal, the following command can help you find the exact location of the profile directory that the workflow needs:

ls ~/Library/Application\ Support/Google/Chrome/ | grep Profile

Disabling favicon support

By default, the script tries to grab favicons from a separate database. This can sometimes slow down the results, which is not desirable. To turn off favicon support, pass --no-favicons in the Alfred workflow's script filter. The last line of the script should look like the following:

python chrome.py "${PROFILE}" "{query}" --no-favicons

How to build

make workflow will put any dependencies in place and build alfred-chrome-history.alfredworkflow in the current directory.

Note that sitepackages.py attempts to find alfred.py and copy it into the workflow archive. Please let me know if this script fails to find alfred.py. It attempts to find it in both global installations and within a virtualenv, but I have only tested this on my local machine.

make dev also puts dependencies in place so that the workflow can work when symlinked to the correct workflows directory as mentioned above.

Thanks

This workflow uses the wonderful alfred-python library. It is provided in the generated workflow and does not need to be installed globally or otherwise before using this workflow.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].