techiferous

Rack middleware submitted by techiferous

Sort by: Latest | Highest rated

Rack::Linkify

Added by techiferous at November 15, 2009 09:53 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

Dead links (like this one http://you.cant.click.this.com/) are magically transformed into live links! Rack::Linkify is very generous in what it considers a link; it will turn http://www.google.com, www.google.com, and just plain google.com into a link.

Rack::Linkify can also turn text that looks like @this into a twitter link.

Rack::SpellCheck

Added by techiferous at November 15, 2009 08:43 Star_smallStar_smallStar_smallStar_smallStar_small

This middleware highlights spelling errors in your web pages. It’s great for catching those silly typos before they reach the customer.

Rack::Steamroller

Added by techiferous at November 15, 2009 07:09 Star_smallStar_small_grayStar_small_grayStar_small_grayStar_small_gray

Rack::Steamroller completely flattens your web page into plain text. It even compresses multiple whitespace characters and newlines into a single space. While your end users will certainly not appreciate this middleware, it could be useful for automated regression testing.

Rack::Gsub

Added by techiferous at November 15, 2009 06:58 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

This is a Rack middleware wrapper for gsub. You can replace text on your web page without worrying about accidentally modifying the HTML tags themselves.

Rack::EtyRack

Added by techiferous at November 15, 2009 06:16 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

Rack::EtyRack, don’t talk back.

Rack::Lockdown

Added by techiferous at November 15, 2009 06:05 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

This middleware only allows GET and HEAD HTTP methods through. If for some reason you think your web application is currently being attacked, you can quickly switch on this middleware. If your application is RESTful, this will prevent users from creating, modifying, or deleting data through the web application. Viewing data would still be allowed.

Rack::RussianRoulette

Added by techiferous at November 15, 2009 05:26 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

Warning: this code is untested.

Rack::Identity

Added by techiferous at November 15, 2009 04:38 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

The simplest Rack middleware ever.

I can think of at least one practical use for this middleware. Can you?

Rack::Environmental

Added by techiferous at November 15, 2009 04:16 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

Never again will you accidentally delete production data! Rack::Environmental adds an indicator badge to your web application so that you can tell whether you’re working with the staging, test, development or production version of your web app.

Homey

Added by techiferous at October 26, 2009 20:46 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

Responds rudely to any 4xx client error except 404. Great addition to the Rack::RBL or BanHammer middlewares.