Configuration-based, short link service in less than 200 lines.
The configuration file is in plain text format, and each line contains a redirect rule:
"/ping" => "https://github.com/soulteary/mini-shortener"
The program startup will read the
rules file in the current working directory by default.
docker run -v `pwd`/rules:/app/rules -p 8080:8901 soulteary/mini-shortener -d