November 14, 2009

Wave Bible Bot

After a month of using Google Wave, I finally made my first Wave bot. My initial idea was to make a Bible bot using the sword API, but I couldn't find an easy way of doing that in python, and I am very reluctant to use Java. So instead, I did a python bot which parses BibleGateway.com to retrieve the results. Later, I added modules to deal with other translations, such as ESV, NET and specific French versions such as Colombe, TOB or NBS.


What does it do?



Flammard is a Bible bot for Google Wave. You can add it to a wave, and it will replace some specific patterns with other content.

Currently, it recognizes two kinds of patterns:

  • <verse verseReference [from Version]> is replaced by the verse. The version is optional. Examples: <verse Gen 1:1 from NIV> or <verse Acts 3:5-15>
  • <verselink verseReference [from Version]> is replaced by a link to the verse on another website. The version is optional. Examples: <verselink Gen 1:1 from NIV> or <verselink Acts 3:5-15>



Known versions



The Bible bot uses several resources in order to support as many Bible versions as possible.

The versions currently supported are:



In all cases, the version is optional. When possible, the bot will try to find the right version for your blip depending on the language you have typed in the context of the tag.



Example








Live demo



Here is a video demo of the bot working (as of today's functionalities):




How can I add this bot to a wavelet ?



Simply add flammard@appspot.com as a participant to your wavelet.


Where can I find the source code?



The project is hosted on Launchpad: https://launchpad.net/wavebiblebot. You are welcome to report bugs and wishes, or to send patches.