irc bot for duckduckgo. supports all the !bangs ddg does!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
twisted/plugins
.gitignore
README.md
config.json
ddg.py
ddgbot
framework.py
pavement.py
requirements.txt

README.md

#ddgbot

ddgbot is an irc bot that evaluates duckduckgo !bang commands using their API. It will also do zero-click searches given a !ddg command.

See it in action in #nodebombrange !

examples:

12:13 <@jesusabdullah> !ddg nodejitsu
12:13 < _ddgbot> Nodejitsu is a company (Network/Hosting) based out of New York, NY, founded in 2010.
12:13 < _ddgbot> Crunchbase: http://crunchbase.com/company/nodejitsu
11:55 <@jesusabdullah> !erowid klonopin
11:55 < _ddgbot> http://www.erowid.org/search.php?q=klonopin
11:55 <@jesusabdullah> they added erowid cause I asked them to on twitter \m/
12:14 <@jesusabdullah> !google how to write an irc bot
12:14 < _ddgbot> https://encrypted.google.com/search?hl=en&q=how%20to%20write%20an%20irc%20bot
11:54 <@jesusabdullah> !npm ncp
11:54 < _ddgbot> http://search.npmjs.org/#/ncp
12:15 <@jesusabdullah> !so flatiron
12:15 < _ddgbot> http://stackoverflow.com/search?q=flatiron
11:57 <@jesusabdullah> !urban gnar
11:57 < _ddgbot> http://www.urbandictionary.com/define.php?term=gnar
11:56 <@jesusabdullah> !wiki node.js
11:56 < _ddgbot> https://en.wikipedia.org/wiki/Special:Search?search=node.js&go=Go
11:54 <@jesusabdullah> !yt fear and love live
11:54 < _ddgbot> https://www.youtube.com/results?search_query=fear%20and%20love%20live

Run it yourself!

  • git clone this repo
  • finagle the config.json
  • you'll need python, pip and paver
  • paver install && paver start

license:

MIT/X11.