ShortenedUrlService for Sakai

The Sakai 2 Technical Coordination Committee has discussed and voted, and the results are in. The ShortenedUrlService for Sakai is now in trunk and will appear in Sakai 2.8.

What is this, you ask? It’s a URL shortening service for Sakai!

Is this link too long for you?

How about this instead:

Mmm tiny.

But it’s more than just a URL shortening service: As an institution that uses Sakai, you can choose how the URLs are shortened via a setting in So then when tools give you short URLs, they are the way you want them!

And it comes with both the URL shortening scheme you see above (RandomisedUrlService) and an implementation that uses!

It’s also super easy to create a new URL shortening implementation: Just write a class that contains one simple method String shorten(String fullUrl), wire it up via Spring and set the name of your new implementation in

And there’s more! There is also an entity provider that allows you to shorten URLs by making a GET request, so you can also use the URL shortener via Javascript:


You can read more about the configuration, how to write your own implementation and how to leverage it in your app by checking out Confluence: