Jump to content

Alfred Google Inline Results


Recommended Posts

Hi Everyone,

 

I came across this great workflow while browsing the internet and thought I would share it. It provides inline search results from google. With a few small modifications, it also provides inline results from other websites such as YouTube (You need to replace "{query}" with "youtube {query}").

 

https://github.com/ericboehs/alfred-googler

Link to comment
  • 1 year later...

A word to the wise: you can easily modify this workflow to work with DuckDuckGo.

 

1. Install ddgr via Homebrew (from the same developer as googlr)

 

2. Download the Alfred Googler workflow mentioned above

 

3. Open the workflow in Finder, and in the "google_instant.rb" file, change

results = Lightly.new(life: '4h').get query do
  JSON.parse `/usr/local/bin/googler --json -n 9 #{query}`
end

 

to:

results = Lightly.new(life: '4h').get query do
  JSON.parse `/usr/local/bin/ddgr --json -n 9 #{query}`
end

SCR-20230315-kbzj.png

Link to comment
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...