edmt / emojifi.rb

Procrastination level: I have a script that turns things into emojis!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmojifiRb

A script that turns things into emojis! πŸ‘¨πŸ‘ΆπŸ‘΄πŸ‘ΉπŸ‘½πŸ‘Έ

Installation

Add this line to your application's Gemfile:

gem 'emojifi_rb'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install emojifi_rb

Usage

As a command line tool:

$ emojifi_rb "This Is Not a Pipe"
> 🍈πŸ‘ͺπŸ‘«πŸ‘·πŸ•“πŸŒ°πŸ‘·πŸ•“πŸŽπŸ‘³πŸ‘ΈπŸ•“πŸ’‡πŸ•“πŸ“πŸ‘«πŸ‘΄πŸ‘§

$ emojifi_rb "Here goes a secret" | pbcopy

You could copy it to your clipboard for paste it later, as seen above.

$ emojifi_rb --decode 🍈πŸ‘ͺπŸ‘«πŸ‘·πŸ•“πŸŒ°πŸ‘·πŸ•“πŸŽπŸ‘³πŸ‘ΈπŸ•“πŸ’‡πŸ•“πŸ“πŸ‘«πŸ‘΄πŸ‘§
> "This Is Not a Pipe"

As a library:

require 'emojifi_rb'
puts EmojifiRb.encode "Hello!"

Contributing

  1. Fork it ( https://github.com/edmt/emojifi.rb )
  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

Procrastination level: I have a script that turns things into emojis!

License:MIT License


Languages

Language:Ruby 100.0%