I built a very, very basic one of these a month ago to shorten a couple of unruly domains I had. Supports static and dynamic endpoints that you define.
Intended to self host for free/minimal cost on CloudFlare, thus comes with built in analytics, BYO domain, etc.