dorkhub

speed_read

speed_read: A simple terminal-based open source Spritz-alike

sunsations
Ruby722 forksMITupdated 12 years ago
git clone https://github.com/sunsations/speed_read.gitsunsations/speed_read

SpeedRead

Dependency Status

A simple terminal-based open source Spritz-alike.

This is a yet simplistic implementation in ruby of Pasky's Perl version.

Installation

Add this line to your application's Gemfile:

gem 'speed_read'

And then execute:

$ bundle

Or install it yourself as:

$ gem install speed_read

Usage

speed_read reads from standard input. Thus, you can use the usual unix suspects.

$ echo "one two tree" | speed_read
$ speed_read < your_text_file.txt
$ cat your_text_file.txt | speed_read

To set the words per minute use

$ echo "one two tree" | speed_read -w 500

Test

In order to test the gem locally, use:

bundle exec rake test

Contributing

  1. Fork it ( http://github.com/sunsations/speed_read/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 new Pull Request

more like this

ckeditor5-rails

🚀 CKEditor 5 Ruby Gem – a powerful WYSIWYG editor for Rails! Smooth integration with web components and helper methods…

Ruby52

tummy

Use a Tmuxfile with your tmux configuration to easily manage sessions

Ruby52

search

search projects, people, and tags