So it turns out Google now offers an API (once again). It’s limited to 100 searches per day for the free version, so I don’t want to put my API key into the public distribution of SearchLink, but if you want to tap into Google’s power for your searches, you can now add your own API key to the config and get 100 searches per day for free. If you should, for whatever reason, run out of searches in a day, it should gracefully switch out to the previous DuckDuckGo configuration.
The !g
search will now test for the presence of a Google API key, and if it exists, use Google for the search. You can also use !gg
to force a Google search. If there’s not a key set up, it will continue operating as it has using DuckDuckGo. As far as privacy concerns go, these searches don’t include any tracking data, so using Google in this manner shouldn’t present any new issues. For anyone creating plugins, the SL.ddg()
method will also test for an API key and use Google if available.
To use this, install the latest version (download below) and then see the wiki page I created to generate your own key.
Enjoy!
SearchLink v2.3.74
Generate Markdown links from web searches without leaving your editor.
Published 11/10/14.
Updated 11/01/24. Changelog