Alfred workflow to search through any website (easily extendable list)
This workflow similar to DuckDuckGo Bangs allows you to fuzzy search through a selection of websites that you can add and contribute to.
You simply search for the website you want to scope your search too, press enter and make your search.
Some results have a prefix to signify the scope of the search. For example results prefixed with r:
will search through Reddit subreddits. Here is the full list of prefixes and their descriptions.
Prefix | Description |
---|---|
r: | Search subreddits on Reddit |
d: | Search documentation websites |
g: | Search GitHub |
s: | Search stack exchange sites |
f: | Search forums |
t: | Search Google Translate |
Each prefix also has a corresponding icon for visual feedback of prefix meaning.
And since the workflow allows for fuzzy searching, you can even make searches like that:
And they will match.
You can also attach a hotkey that will take the selected text and then will let you search for that text on any of the websites.
Download workflow from GitHub releases.
See here for instructions on fixing permissions in macOS refusing to run Go binary.
The workflow is written in Go and uses AwGo library for all Alfred related things.
It uses modd and Alfred command to ease its development.
- Run
alfred link
(makes symbolic link ofworkflow
directory) - Run
modd
(starts a process that automatically builds the workflow withalfred build
on any changes you make to.go
files, this builds and places a binary insideworkflow
directory.) - Make changes to code or modify Alfred objects to do what you want! Open debugger in Alfred or run the workflow with
workflow:log
passed in as argument to see the logs Alfred produces.
Always open to useful ideas or fixes in form of issues or PRs.
Can open new issue (search existing issues first) or start discussion.
It's okay to submit draft PR as you can get help along the way to make it merge ready.
Join Discord for more indepth discussions on this repo and others.
Support on GitHub or look into other projects.