Skip to content

Instantly share code, notes, and snippets.

@Profpatsch
Created March 17, 2015 17:04
Show Gist options
  • Save Profpatsch/38a7b756d7f6994be238 to your computer and use it in GitHub Desktop.
Save Profpatsch/38a7b756d7f6994be238 to your computer and use it in GitHub Desktop.
redditrss->irc
{
"Bees":[
{
"Name":"ircbee_freenode",
"Class":"ircbee",
"Description":"ircbee connected to freenode, channel #beehive",
"Options":[
{
"Name":"server",
"Value":"irc.freenode.net"
},
{
"Name":"nick",
"Value":"browserguy"
},
{
"Name":"channels",
"Value":["##rainbow-lollipop"]
}
]
},
{
"Name":"rssbee_reddit",
"Class":"rssbee",
"Description":"rssbee to /r/browsers",
"Options":[
{
"Name":"url",
"Value":"https://reddit.com/r/browsers/.rss"
},
{
"Name":"skip_first",
"Value": true
}
]
}
],
"Chains":[
{
"Name":"push_rss_to_irc",
"Description":"push new entry to IRC",
"Event":{
"Bee":"rssbee_reddit",
"Name":"newitem"
},
"Elements":[
{
"Action":{
"Bee":"ircbee_freenode",
"Name":"send",
"Options":[
{
"Name":"channel",
"Value":"##rainbow-lollipop"
},
{
"Name":"text",
"Value":"/r/browsers: {{index .links 0}} | {{.title}}"
}
]
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment