Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Port of arc90's readability project to ruby

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Ruby Readability

Command line:
  (sudo) gem install ruby-readability

  gem "ruby-readability", :require => 'readability'


  require 'rubygems'
  require 'readability'
  require 'open-uri'

  source = open('').read

There is also a command-line tool for testing readability in bin/readability.

  Usage: readability [options] URL
      -d, --debug                      Show debug output
      -i, --images                     Keep images and links
      -h, --help                       Show this message


This code is under the Apache License 2.0.

This is a ruby port of arc90's readability project

Given a html document, it pulls out the main body text and cleans it up.

Ruby port by starrhorne, libc, and iterationlabs.  Original gemification by fizx.
Something went wrong with that request. Please try again.