This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon May 18 12:55:52 -0700 2009 | |
| |
LICENSE | ||
| |
README.textile | ||
| |
bot.rb | ||
| |
bot_control.rb | ||
| |
commands.rb | Mon May 18 12:55:52 -0700 2009 | |
| |
commands/ | ||
| |
config.yml.template | ||
| |
newzbin.rb | Mon May 18 12:55:52 -0700 2009 | |
| |
users.rb | Mon May 18 15:53:44 -0700 2009 |
README.textile
newzbin_xmpp
newzbin_xmpp is a XMPP agent that allows registered users to search on the
newzbin website.
features
- admin controllable ACL-like system (only the users you approve can use the system)
- everything you say to the agent, it will search on newzbin
requirements
- Ruby (only tested with 1.8)
- XMPP4R (http://home.gna.org/xmpp4r/)
- CouchDB database (http://couchdb.apache.org/)
- daemons gem
notes
if some of the code doesn’t make any sense, then it’s because it doesn’t. this was just
a test of the XMPP4R gem, and I decided to build something useful to me and my friends.
it’s probably incomplete and buggy, but it’s in a state that works for me
instructions
- checkout the code from github
- setup a couchdb database
- copy
config.yml.templatetoconfig.ymland edit the values accordingly - execute
bot.rbdirectly orbot_control.rbif you want daemon behavior
since it’s buggy, it’s recommended you run bot_control.rb under some kind of process
monitor like monit or god
final thoughts
feel free to comment on the code or send me suggestions on how to improve it. any feedback
will be appreciated. remember, this is my first attempt with XMPP4R








