Skip to content

Ruboty plugin - Shows HTML title with specifed URL.

License

Notifications You must be signed in to change notification settings

zeero/ruboty-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Gem Version MIT License

Ruboty::Url

A Ruboty Handler + Actions to shows HTML title with specified URL.

Ruboty is Chat bot framework. Ruby + Bot = Ruboty

Installation

Add this line to your application's Gemfile:

gem 'ruboty-url'

And then execute:

$ bundle install

Usage

screenshot_ruboty-url

This plugin responds with messages including specified URL (such as private URL), and shows HTML title.

URL is specified by 'RUBOTY_URL_REGEXP' environmental variable, value is RegExp for url that you want to show HTML title with.

ex:

export RUBOTY_URL_REGEXP=(https://foo.com.*|http://bar.org.*)

When you use with 'ruboty-slack_rtm' plugin, Ruboty can reply by Slack attachment style.

ENV

Name Description
RUBOTY_URL_REGEXP (required) RegExp for url.

Dependency

Name Description
ruboty-slack_rtm (recommended) Ruboty Adapter for Slack Realtime API.

Contributing

  1. Fork it ( https://github.com/zeero/ruboty-url/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Ruboty plugin - Shows HTML title with specifed URL.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published