Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shurl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shurl

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

shurl

Shortest URL

TODO

There's still a lot left to be done. I'd like to add more url shorteners, and find a way to make tinyarrows actually work. But it works for now.

What + Why

Shurl finds the shortest URL from a list of URL shortening APIs. If there's one I don't have, please let me know and I'll add it. It queries each API for a short url and then gives the user the shortest one back. Pretty simple stuff.

This is pretty much your stereotypical product of a college student. When I'm bored and not paying attention to lectures, this is what happens.

Install

Updates are pushed to gemcutter.org

	sudo gem install shurl

Optionally clone it from here and make sure the tests pass

	git clone git://github.com/marksands/shurl.git

Test with rake or turn

Usage

	require 'shurl'
	
	foo = Shurl::Shortener.new

	mini = foo.shorten("http://www.cnn.com")		
	# mini => "http://is.gd/aMH0W"

Credit

© 2010 marksands.

FAQs

Package last updated on 18 Mar 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc