Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Another URL shortener based on Event Machine and rack-fiber_pool
Ruby JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.bundle
config
db/migrate
lib
public
test
views
.gitignore
.rvmrc
Gemfile
Gemfile.lock
Rakefile
Readme
config.ru
shorty_app.rb

Readme

em-shorty 0.5.0

One of many url shortening apps out there. Was inspired by an article I read at:

http://screencasts.org/episodes/activerecord-with-sinatra

This project is currently live at:

http://emlink.me

I added quite a few things.

1. Now uses rack-fiber_pool, em_mysql2, em-resolv-replace, em-synchrony, and em-http-request for async requests.
2. Fully localized with i18n
3. Templates are flushed out and look good.
4. Added bundler and rvm support.
5. Added less support.
6. Battery of Unit Tests.
7. Added copy support via ZeroClipboard - http://code.google.com/p/zeroclipboard/
8. XML, JSON, YAML support.
9. Dalli for speedy memcache support.
10. Tux is included for console debugging.

To start the server:

bundle exec thin -R config.ru start

This will fire it up on port 3000.

To run the tests:

RACK_ENV=test rake db:migrate
bundle exec rake test

To launch a console:

bundle exec rake console
Something went wrong with that request. Please try again.