Link shortener inspired by @andrewcallahan