Giter Site home page Giter Site logo

zquestz / em-shorty Goto Github PK

View Code? Open in Web Editor NEW
58.0 3.0 7.0 463 KB

Another URL shortener based on Event Machine and rack-fiber_pool

Home Page: https://emlink.me

License: MIT License

Ruby 85.16% HTML 0.05% Dockerfile 1.74% Haml 5.59% SCSS 7.45%
ruby url-shortener eventmachine sinatra

em-shorty's Introduction

em-shorty

Build Status 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.

em-shorty's People

Contributors

dependabot[bot] avatar zquestz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

em-shorty's Issues

how to setup?

hello
can i ask how to setup on my website with sheard hosting ???
thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.