I've made a first attempt at writing a Hubzilla addon. It's a very simple one that will replace shortened URLs with their full unshortened representation. I've always disliked the shortened URLs that carry no useful information about where they point to, so this is pretty much for my own sake. I like to know what I'm clicking on before actually clicking. In addition I'm thinking this improves privacy slightly, as the shortening service will only see requests from the hub, not each individual person happening to click the link.
Currently it just handles bit.ly URLs as a proof of concept for myself. The source code is
available here in case anybody wants to try it or rip it apart. Please let me know if I do something stupid! I'd probably be a bit careful about enabling it permanently quite yet. It slows down rendering of the stream as it looks up every bit.ly link it finds (no caching), and I'm not at all confident I didn't do anything silly that can cause issues yet.
Enjoy!