Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilyakhokhryakov/xmpp-logger
XMPP Multi-User Chat logger with web-interface written in Ruby
https://github.com/ilyakhokhryakov/xmpp-logger
Last synced: 2 months ago
JSON representation
XMPP Multi-User Chat logger with web-interface written in Ruby
- Host: GitHub
- URL: https://github.com/ilyakhokhryakov/xmpp-logger
- Owner: iliaaw
- License: mit
- Created: 2013-04-07T15:08:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-20T13:39:57.000Z (about 11 years ago)
- Last Synced: 2024-05-17T16:19:09.560Z (6 months ago)
- Language: Ruby
- Homepage: jabber.herokuapp.com
- Size: 504 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - ilyakhokhryakov/xmpp-logger - XMPP Multi-User Chat logger with web-interface written in Ruby (others)
README
This is an XMPP Multi-User Chat logger with web-interface written in Ruby. It is made possible by [Sinatra](http://sinatrarb.com), [Blather](https://github.com/adhearsion/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](http://sphinxsearch.com) search engine and [Thinking Sphinx](http://pat.github.io/thinking-sphinx) gem to provide message search. Ruby [Whenever](https://github.com/javan/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.saveUsage
-----
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`