DuckDuckGo !Bang
Tags: resources, productivity, duckduckgo, tips
Published: 2019-05-01 16:09:00

_First I would like to say that my [previous blog post](https://dev.to/glennmen/what-are-your-favourite-dev-resources-314d) got way more attention than I was expecting, thanks every one for commenting and sharing!_

Since about a month I have switched to **[DuckDuckGo](https://duckduckgo.com/)** as my primary search engine on my phone and laptop and overall I have been very pleased with it. Of course I am also a fan of the build in dark theme.

Google is currently the biggest search engine, because of their advanced algorithms they seem to always provide the best search results. This has been the case for a very long time but I think (for me) the time is now to switch to an alternative, DuckDuckGo is growing very fast and their search results are improving.
I have tried it in the past but wasn't pleased with the search results so quickly switched back to Google. Since then DuckDuckGo has improved a lot and have also build in more features, for example a build in calculator.

DuckDuckGo has greatly improved over the last couple of years but still there is room for improvement. For me when I search dev related questions or issues I am not always pleased with the results, in this case Google did provide with better results for me.

But still I am not going to run back to Google because of this. I found a very useful feature from DuckDuckGo that not only could help you get better search results but can also increase search speed in general.
**Here comes the [!Bang](https://duckduckgo.com/bang)**, DuckDuckGo !Bang are shortcuts that let you target searches on specific sites. And if DuckDuckGo is you browser default search engine you can use it directly from your address bar.

To use a bang it is actually very easy, for example you can search on DEV with this bang: `!devto glennmen`

Thanks to all the lovely comments in my previous blog post I was able to make a list here of interesting bangs that I hope can help you.

**General searching:**

* [DEV](https://dev.to/): `!devto`
* [Stack Overflow](https://stackoverflow.com/): `!so`
* [DevDocs](https://devdocs.io/): `!dd`
* [Hacker Noon](https://hackernoon.com/): `!hno`
* [Medium](https://medium.com/): `!medium`
* If you ever want to do a search on Google: `!g`

**Web related:** 

* [MDN Web Docs](https://developer.mozilla.org/): `!mdn`
* [Can I use...](https://caniuse.com/): `!caniuse`
* [CSS-Tricks](https://css-tricks.com/): `!csst`
* [npm](https://www.npmjs.com/): `!npm`
* [cdnjs](https://cdnjs.com): `!cdnjs`

**Android:**

* [Android Developers](https://developer.android.com/): `!android`
* [The Android Arsenal](https://android-arsenal.com/): `!andar`

**PHP:** 

* [PHP.net](https://www.php.net/): `!php`
* [Packagist](https://packagist.org): `!packagist`

**Ruby:**

* [RubyDocs](https://rubydocs.org/): `!rubydocs`
* [RubyGems](https://rubygems.org/): `!gem`


This is only small portion of the available bangs, there currently are over 12.000 bangs so check them out. They have shortcuts for all kinds of websites.

For more information about DuckDuckGo bangs and what bangs there are available check out [their website](https://duckduckgo.com/bang). 

If there are any useful websites missing you can also submit your own bangs to be included in their list: https://duckduckgo.com/newbang