0.0
No commit activity in last 3 years
No release in over 3 years
short urls and put into indexes int redis database
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.2.2
 Project Readme

Mini Machine

This is a gem to short any kind of text into an id with the caracters to [0-9 a-z A-Z] and store the key\value into a redis instance. Used mainly to short url

Version

first release

0.0.1

Instalation

gem install minimachine

Usage

First set a Redis server up and running, then connect to that server using the correct host and port

mini = MiniMachine::MiniMe.new(:host => '127.0.0.1', :port => 6379)

store some url

url_key = mini.insert_url('http://google.com')

recover the url from a given key

my_url = mini.recover_url('1')