This is a simple command line tool to transform HORRIBLE links like https://www.linkedin.com/pulse/10-books-every-founder-should-read-davide-de-guz to something like domain.com/books.
Just place it on your server and run something like:
$ ./rebrandurl.sh "https://www.youtube.com/watch?v=dQw4w9WgXcQ" "/awesome-vid"
This will create a redirect script in the public folder so you can serve it using nginx or apache and access it like this:
http://my-domain.com/awesome-vid
I've made this to prevent myself from using another service again for something small and easy as link redirects. It's a good alternative for https://www.rebrandly.com/ and https://prettylinks.com/ if you are looking for something to host yourself.