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

TinyUrl Plugin

  • Authors: Lucas Teixeira
1 vote
compile ":tinyurl:0.1"




To install the plugin, you can type

grails install-plugin tinyurl

And that's it, it will install the TinyUrl service in your application.


This plugin provides simple integration with the TinyUrl ( service that create small urls from large ones.

Read more here:

Example (after posting in your blog, twitter it!)

Inject the service bean

def tinyurlService

Your action

def post = new Post(params)
//save your post

def newUrl = tinyurlService.tiny(

//set your twitter status"I've just posted about ${post.title} right here: ${newUrl}")