This repository has been archived by the owner. It is now read-only.
a collection of tiny Web services, usable by anyone
Python JavaScript HTML C CSS GAP XSLT
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.
chardet
dateutil
django
html5lib
httplib2
oauth2
pytz
service
simplejson
xpath
.gitignore
BeautifulSoup.py
README.md
app.yaml
feedparser.py
html2text.py
index.yaml
main.py
talis.xsl
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