Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a collection of tiny Web services, usable by anyone
Python JavaScript HTML C CSS GAP XSLT
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
chardet moved contrib modules to the top level directory
dateutil moved contrib modules to the top level directory
django
html5lib Add the 'general' capability, and the xpath and html5lib libraries th…
httplib2
oauth2
pytz moved contrib modules to the top level directory
service removed whitespace
simplejson updating name
xpath
.gitignore updating name
BeautifulSoup.py
README.md improved documentation
app.yaml
feedparser.py moved contrib modules to the top level directory
html2text.py
index.yaml
main.py upgraded to python 2.7
talis.xsl formatting change
unescape.py

README.md

Oblique

A collection of tiny web services, usable by anyone.

The Phenny IRC bot lets you access each service with the oblique command.

If nslater wanted to use the LastFM service he might do:

<nslater> .o lastfm USERNAME
<phenny> Now playing Track by Artist from the album Album - http://www.last.fm/music/Artist/_/Track

Since USERNAME defaults to IRC nick he can also do:

<nslater> .o lastfm
<phenny> Now playing Track by Artist from the album Album - http://www.last.fm/music/Artist/_/Track

You can configure Phenny to use your own custom services by adding the following to your configuration:

services = "http://example.org/your-service-definitions"

After adding a new service you must refresh Phenny:

<nslater> .o refresh
<phenny> nslater: Okay, found 20 services.

Phenny will now be able to call any of the services listed by using the oblique command:

<nslater> .o name
<phenny> results

Service urls may include the following variables that will automatically be replaced:

  • @${args}@ - Arguments included after the command name
  • @${sender}@ - If sent from a channel, the channel name. If sent via privmsg the same as @${nick}@
  • @${nick}@ - Nick of message sender
Something went wrong with that request. Please try again.