Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pepabo/takosan
- Owner: pepabo
- License: mit
- Created: 2015-03-18T08:11:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-13T08:51:31.000Z (almost 8 years ago)
- Last Synced: 2024-09-29T19:34:47.426Z (3 months ago)
- Topics: gem, ruby, ruby-wrapper, takosan
- Language: Ruby
- Homepage:
- Size: 17.6 KB
- Stars: 6
- Watchers: 209
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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