Sha256: e3fe437e59ca61574bd782fda445b442288d6a31eb1231a089af884c05c8c991

Contents?: true

Size: 768 Bytes

Versions: 6

Compression:

Stored size: 768 Bytes

Contents

# Markov chains for Lita

Listens to your public chat rooms and generates Markov chain databases
for each user.

## Installation

Add `lita-markov` to your Lita instance's Gemfile:

``` ruby
gem 'lita-markov'
```

Configure the database URL for your SQL database
([Sequel](http://sequel.jeremyevans.net/) is used for
communicating with databases):

```ruby
# lita_config.rb
Lita.configure do |config|
  config.handlers.markov.database_url = ENV['DATABASE_URL']
end
```

## Usage

The bot will automatically ingest all messages into the Redis-backed Markov
chain database. You can then query the bot for a generated chain:

```
user> mybot markov dirk
mybot> I love cookies!
```

## License

Licensed under the 3-clause BSD license. See [LICENSE](LICENSE) for details.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lita-markov-1.1.2 README.md
lita-markov-1.1.1 README.md
lita-markov-1.1.0 README.md
lita-markov-1.0.2 README.md
lita-markov-1.0.1 README.md
lita-markov-1.0.0 README.md