Skip to content

XMPP Multi-User Chat logger with web-interface written in Ruby

License

Notifications You must be signed in to change notification settings

iliaaw/xmpp-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an XMPP Multi-User Chat logger with web-interface written in Ruby. It is made possible by Sinatra, Blather, and some other awesome software.

Configutation

XMPP settings (bot's JID, password and nickname and room's name) are specified in config/xmpp.yml. Database to use is specified in config/database.yml.

Sphinx search

xmpp-logger uses Sphinx search engine and Thinking Sphinx gem to provide message search. Ruby Whenever gem is used to generate cron tasks for periodic indexing. To update crontab file, run whenever -i.

Users management

At least one user must be created to make possible accessing web-interface.

$ irb
> require './app'
> u = User.new(:login => 'admin')
> u.password = 'admin'
> u.save

Usage

The easiest way to get web-interface up and running is to use thin -R config.ru start. XMPP logger should be started separately using bundle exec ruby logger.rb

About

XMPP Multi-User Chat logger with web-interface written in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published