Plugins You can find out about all the publicly available Grails plugins.

Unshorten - URL Expander

  • Authors: Jonathan Griggs
0 vote
compile "org.grails.plugins:unshorten:1.0.3"

 Documentation  Source  Issues


Expand links that have been shortened by any redirecting Link Shortener without the use of a third-party API


grails install-plugin unshorten


Unshorten URL Expander


The Unshorten plugin provides a means for your Grails application to expand Shortened URLs ( and, for example) into their Original, Unshortened form ( or, for example) without the need for calling a Third-Party API.

Provides a Grails Service, TagLib, and Controller to your application.

Backed by a configurable Least-Recently-Used (LRU) Cache, the Unshorten plugin optimizes performance by making a minimal number of HTTP HEAD method calls.

Contains service calls and controller actions to dynamically handle single or multiple URLs as well as GSP Tags to unshorten URLs within blocks of text, and to create links


Enter your application directory and run the following from the command line:

grails install-plugin unshorten


The official documentation for the Unshorten plugin may be found at

Source Code

The source code is available on GitHub at

Find a bug? Fork it. Fix it. Issue a pull request.

git clone git://

Contributions welcome!

Issue Tracker

Issue tracking is also on GitHub at

Bug reports, Feature requests, and general inquiries welcome.


Feel free to contact me by email (jonathan.griggs at or follow me on GitHub at