Show HN: Use DuckDuckGo for !bangs and Google for everything else
duckduckgoog.com
duckduckgoog.com
Yes, I could spend my time adding custom searches to all of the browsers I use. Or I can just use DuckDuckGo and get most of the searches I want automatically and not spend any time at all.
That's just one reason. Some more:
A single search interface. The Firefox search box lets you pick multiple search engines, but then a different one is selected each time. For me, DDG is always selected.
I can change my search target without retyping my query. I type my searches into Firefox's search box and I always type the !bang part at the end of the search. If I don't like the results at Amazon, I can go change "!amazon" to "!newegg" and quickly re-search another site. I also frequently use this to redirect failed mathematical queries to Google or Wolfram Alpha just by going and appending a "!g" or "!wa" on the search.
As someone else mentioned, portability. I don't need to ever configure another search engine list as long as I live. My list on my work computer install of Firefox is always up-to-date with my mobile and with my home Chrome install. If I get a new computer or switch to a new browser, it's already ready to go.
It updates itself. If a new site comes along (or I discover a site new to me), I'll have the search ready to go long before I ever thought to search it (or configure it) myself.
newegg ATI HD4200
That said, I can perfectly understand why you don't want to waste the time to set them up if someone has already done it for you.Edit: I stand corrected.
I don't think there are more than one or two times a day that I actually type in a full URL.
DDG also doesn't understand context or acronyms, like MoP. I work for a gaming site, so my example is gaming related.
Google knows when I search for "mop legendary" I am looking for information relating to a legendary item in the Mists of Pandaria expansion for World of Warcraft. DDG doesn't make that connection of MoP -> Mists of Pandaria. I do get some amusing results like this though: http://www.buy.com/th/swiss-legend-diamond-mop.html
1) http://www.mmo-champion.com/content/2806-Mists-of-Pandaria-B...
2) http://www.wowhead.com/news=204099/mists-of-pandarias-first-...
3) http://wow.joystiq.com/2012/05/25/mists-of-pandaria-new-wrat...
It does better (at least as far as the first result or two go) when you don't have to guess the acronym though:
1) https://blekko.com/ws/tier+14+sets+%2B%2Fwow
2) https://blekko.com/ws/challenge+mode+sets+%2B%2Fwow
For more standard searches it is okay, but DDG/Bing and Google are better. In these results I especially like potstuck and fabien potencier posts.
1) https://duckduckgo.com/?q=php+dependency+injection+container...
2) https://blekko.com/ws/php+dependency+injection+container+exa...
3) https://www.google.com/#hl=en&safe=off&sclient=psy-a...
It is nice to see alternatives developing though, should the day ever come that I want to leave Google behind!
Nice work!
That way no tertiary server would be needed, which would probably improve the response times (and cost less...)
I followed the instructions to "Add a keyword for this search"...but I'm not really sure how to make it default? I don't see it anywhere under the searchbar dropdown ("Manage Search Extensions") and don't see anything under the general options.
You missed a spot in your handling of bang syntax, DuckDuckGo allows you to use either "\", "! " or "!ducky " to find the first result, you don't handle "\".
At the time I also sent Gabriel Weinberg an couple of E-Mails about it saying I'd love to have it be made redundant by DuckDuckGo itself, but it's not a feature he's interested in pursuing:
> > > On Sat, Jul 30, 2011 at 6:41 AM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> > > I implemented a wrapper around DuckDuckGo and Google and stuck it on
> > > goosegoosego.com
> > >
> > > I got tired of always prefixing my normal queries with "!g", and not
> > > having "! " work the way I wanted.
> > >
> > On Sat, Jul 30, 2011 at 12:47, Gabriel Weinberg <yegg@duckduckgo.com> wrote:
> > > Hah, nice :)
> > > Gabriel, http://ye.gg/
>
> Needless to say I'd be delighted if some option to duckduckgo.com
> would make this redundant.
>
> One flaw in it is that if you e.g. search for "!mysql" it'll redirect
> to duck-duck-go, which'll do a "site:mysql.com" search an DDG.
>
> I'd like it to do a "site:" search on Google instead, but that would
> require me to compile a list of all the bang operators that result in
> site: queries, which would make the code a bit more complex than it
> currently is.
>
> It would be great if you could pass some GET parameter to DDG to make
> it emulate GooseGooseGo's behavior, e.g.:
>
> http://duckduckgo.com/?dse=google&q=foobar
>
> dse = Default Search Engine.
>
> Then you could also make it prefer Bing, Yahoo etc.
Duly noted, but not sure about doing that. Alternatively, you can
use the 0-click api at http://api.duckduckgo.com/, which returns
bang redirects and then you can just do a substitution if you see
that.
Gabriel, http://ye.gg/
So handling stuff like !mysql is certainly something you could expand upon if you want to make this more complete, I was just interested in making mine as minimal as possible, so it's a simple standalone script.Also, to anyone using DuckDuckGoog or my GooseGooseGo you should be aware that you're trusting some (other) random dudes on the internet with your searches, I don't log anything with GooseGooseGo (no access or error logs), but you only have my word for that.
You can expose some sensitive information via your searches, and that's a reason why many people use DuckDuckGo in the first place even though their results aren't always up to par with Google's.
> You missed a spot in your handling of bang syntax, DuckDuckGo allows you to use either "\", "! " or "!ducky " to find the first result, you don't handle "\".
I left this out on purpose since I don't really consider it part of "bang" syntax since it doesn't include ! ("bang") but I suppose I'm just splitting hairs at this point.
> Also, to anyone using DuckDuckGoog or my GooseGooseGo you should be aware that you're trusting some (other) random dudes on the internet with your searches, I don't log anything with GooseGooseGo (no access or error logs), but you only have my word for that.
Agreed, this is a concern. I posted a link to the GitHub repo for DuckDuckGoog in the site's footer but of course it's my word against the user's that that is the current code being used on the site and that I didn't add in any tracking code in the build process or anything.
I see somebody hosts a “Duck Duck Go + Google Suggest” plugin and proxy server at http://nfriedly.com:81/. If there isn’t already a search plugin like I’m looking for, I think the easiest way to make it would be to just change the search URL (and name and icon) for that plugin. Does anyone know how to do that?
Having to navigate to the browser to launch a search for MDN Arrays from Vim is suboptimal. Alfred (OSX) is the best solution I can come up with. "lucky <query>" pulls the browser up with its Google Feeling Lucky result. I've shortened it to just "l <query>". You can add custom searches with a syntax like "example.com/whatever/{query}".
Edit: you could also add this to Alfred. Alfred supports custom searches ( http://blog.alfredapp.com/2011/04/14/alfred-productivity-tip...) so you can just use http://www.duckduckgoog.com?q=SEARCH as the custom URL and replace SEARCH with the token that Alfred expects
But you bring up a good point -- DuckDuckGoog is still useful with Alfred since it saves you from having to manually create a bunch of custom searches.
Google is "g<tab>".
Hacker News is "h<tab>".
DuckDuckGo is "d<tab>".
This all works out of the box with no manual configuration given that you have used those search engines in the past. Is there something I am missing?
That's probably because you need to change the keyword to something besides "duckduckgoog.com" since Chrome already auto-stored one with that keyword.
eg "a blah" for amazon, "w blah" for wikipedia "s blah" for stackoverflow?
- says a long time Opera users