{"id":18324012,"url":"https://github.com/dirk/lita-markov","last_synced_at":"2025-04-06T00:30:52.670Z","repository":{"id":56881519,"uuid":"46698400","full_name":"dirk/lita-markov","owner":"dirk","description":"Markov chains for Lita.","archived":false,"fork":false,"pushed_at":"2016-11-21T05:19:17.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T13:45:38.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-23T05:22:31.000Z","updated_at":"2020-06-26T18:57:15.000Z","dependencies_parsed_at":"2022-08-20T23:40:13.742Z","dependency_job_id":null,"html_url":"https://github.com/dirk/lita-markov","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Flita-markov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Flita-markov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Flita-markov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Flita-markov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirk","download_url":"https://codeload.github.com/dirk/lita-markov/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419597,"owners_count":20936009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T18:31:06.437Z","updated_at":"2025-04-06T00:30:52.039Z","avatar_url":"https://github.com/dirk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markov chains for [Lita](https://www.lita.io/)\n\nListens to your public chat rooms and creates Markov chain databases\nfor each user.\n\n## Installation\n\nAdd `lita-markov` to your Lita instance's Gemfile:\n\n``` ruby\ngem 'lita-markov'\n```\n\nConfigure the database URL for your SQL database\n([Sequel](http://sequel.jeremyevans.net/) is used for\ncommunicating with databases):\n\n```ruby\n# lita_config.rb\nLita.configure do |config|\n  # For example, using Heroku and their Postgresql addon, the database can be\n  # configured by simply doing:\n  config.handlers.markov.database_url = ENV['DATABASE_URL']\nend\n```\n\n## Usage\n\nThe bot will automatically ingest all messages into the Redis-backed Markov\nchain database. You can then query the bot for a generated chain:\n\n```\nuser\u003e mybot markov dirk\nmybot\u003e I love cookies!\n```\n\n## License\n\nLicensed under the 3-clause BSD license. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirk%2Flita-markov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirk%2Flita-markov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirk%2Flita-markov/lists"}