Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pepabo/takosan

Ruby wrapper of Takosan
https://github.com/pepabo/takosan

gem ruby ruby-wrapper takosan

Last synced: about 1 month ago
JSON representation

Ruby wrapper of Takosan

Awesome Lists containing this project

README

        

# Takosan

[![Gem Version](https://badge.fury.io/rb/takosan.svg)](http://badge.fury.io/rb/takosan)
[![Build Status](https://travis-ci.org/pepabo/takosan.svg?branch=master)](https://travis-ci.org/pepabo/takosan)

Ruby wrapper of [Takosan](https://github.com/kentaro/takosan)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'takosan'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install takosan

## Usage

```ruby
Takosan.url = "http://irc.example.com:4649"
Takosan.channel = "#example"
Takosan.privmsg 'awesome comment'
Takosan.privmsg 'awesome comment and title with link', color: '#000', title: 'black title', title_link: 'http://example.com'
```

You can change Takosan's icon and name like the following:

```ruby
Takosan.icon = ":angel:"
Takosan.name = "ikasan"
```

## Contributing

1. Fork it ( https://github.com/pepabo/takosan/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