Skip to content

Instantly share code, notes, and snippets.

@akluth
Created November 18, 2012 17:02
Show Gist options
  • Save akluth/4106229 to your computer and use it in GitHub Desktop.
Save akluth/4106229 to your computer and use it in GitHub Desktop.
Service-Definition Nuria-Project
---
service:
version: 1
name: IRC
icon: icon.png
description: "This is an awesome IRC-Client!"
short: "IRC-Client"
license: BSD
license-url: google.com/search?q=BSD
author: Nuria-Project
website: http://nuriaproject.org
protocol: IRC
handlers:
regex:
id: server
regex: irc://([^/]+)(?:/$|/#?(.*))?
mode: single
resolvers:
regex:
id: watch
regex: https?://(?:[^.]*.)?youtube.com/watch\?v=([-a-z0-9_]+)(?:&.*)?
mode: static
abilities:
search: true
instance: true
resolve: true
definition:
datatype: text
category: Chat
vote:
item:
name: Thumbs up
score: 10
item:
name: Thumbs down
score: 10
item:
name: Favorite
score: 0
structure:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment