Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

super-lightweight url-shortener designed to run FAST on

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 .gems
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 shawty-server.gemspec
Octocat-spinner-32 test.rb


The Shawty gem is the simplest and fastest Ruby url-shortening app. Run your own server that works like or

Instant installation and deploy

  • Clone this: git clone git://
  • Signup for an account at Heroku (better details here)
  • don't even bother configuring it
  • push it to git push heroku master
  • Revel.


If you run any application with published content it's helpful to have shorter links to that content.

Consider that your Rails app might offer pages like the following:

Imagine trying to fit that in a text message. Instead, how about:

Is it so easy a child can use it?

Yes. See the shawty-client gem for details:
# =>
## Saved on your shawty server and usable immediately

Way groovy.

Patches welcome, forks celebrated.

Copyright (c) 2009 Jack Danger Canty. See LICENSE for details.

Something went wrong with that request. Please try again.