https://github.com/zquestz/em-shorty
Another URL shortener based on Event Machine and rack-fiber_pool
https://github.com/zquestz/em-shorty
eventmachine ruby sinatra url-shortener
Last synced: 2 months ago
JSON representation
Another URL shortener based on Event Machine and rack-fiber_pool
- Host: GitHub
- URL: https://github.com/zquestz/em-shorty
- Owner: zquestz
- License: mit
- Created: 2011-04-04T09:19:17.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T03:28:18.000Z (7 months ago)
- Last Synced: 2025-03-17T11:11:21.728Z (7 months ago)
- Topics: eventmachine, ruby, sinatra, url-shortener
- Language: Ruby
- Homepage: https://emlink.me
- Size: 459 KB
- Stars: 58
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# em-shorty
[](https://travis-ci.com/zquestz/em-shorty)
[](https://github.com/zquestz/em-shorty/blob/master/LICENSE)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:
https://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. Added sass support.
4. Added copy support via clipboard.js.
5. XML, JSON, and YAML url details.
6. Dalli for speedy memcached support.
7. Tux is included for console debugging.
8. Support for docker-compose.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
```### License
Code in this repository is distributed under the [MIT license](/LICENSE).