avatarShortening URLs in style 🧸

This is Sandy’s custom URL shortener that works through Redis. I wanted to learn how to use custom TLS Redis and I wanted to make a URL shortener. So I did both. Done. hah.

Well, on my website, I also have many gallery pages, which are powered by OneDrive that have really long URLs. I wanted to shorten them so that I can share them more easily.

If you go to Cooking together 🍜 and open the source code, you will see that all the images are now calling to photos.sandyuraz.com. Makes before and after look pretty nice.

before 🤢
before 🤢

and after sending them all through my url shortener,

after 😇
after 😇

Overall, it’s pretty quick and with some internal caching, each lookup is a couple of microseconds (though the network overhead is 10000x of that).

Another program, nagito has been written to interact with monokuma and efficiently shorten links. You can stand up your own monokuma with little effort and in whatever ways you want (TLS, auth, urls, randomization, alphabet, etc).

-> See more at monokuma development repository

-> Nagito can be found here