Programming is hard.
I recently wrote a link shortener (check it out, https://github.com/randomairborne/simpleshortener) and it took ages. It should, in theory, now be production ready, but I'd need more people to test it out first- and a panel, to easily manage everything. (again, check the repo)
I've encountered a lot of bugs and my boyfriend partially rewrote the thing for me at one point, so some stuff has happened. It's pretty fast though!