Sidd93 Posted May 20, 2021 Share Posted May 20, 2021 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 xgo 1 Link to comment
dood Posted March 15, 2023 Share Posted March 15, 2023 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 Elfred and zeitlings 2 Link to comment
Elfred Posted August 24, 2023 Share Posted August 24, 2023 (edited) FYI: on M1 macs, the default location of the hombrew packages has changed. this worked for me: results = Lightly.new(life: '4h').get query do JSON.parse `/opt/homebrew/bin/ddgr --json -n 9 #{query}` end Edited August 24, 2023 by Elfred dood 1 Link to comment
xilopaint Posted August 25, 2023 Share Posted August 25, 2023 (edited) @dood @Elfred How did you guys manage to install googler? brew install googler throws an error because the repository has been archived: Edited August 25, 2023 by xilopaint Link to comment
dood Posted August 25, 2023 Share Posted August 25, 2023 @xilopaint You should install ddgr instead Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now