# purl-rs A simple URL-shortener in Rust. I created this URL-shortener because it turned out that my previous one, [`purl`](https://git.dnns.no/purl/about/), which was written i perl, was impractical to run in a `chroot` environment. This new one, written in [Rust](https://www.rust-lang.org/), has far fewer dependencies to worry about in a `chroot` environment. It is written as a replacement for the old `purl`, and uses [CGI](https://en.wikipedia.org/wiki/Common_Gateway_Interface). I use Nginx as my web-proxy, and run the cgi-binaries through [slowcgi(8)](https://man.openbsd.org/slowcgi). See `nginx.conf` for example-configuration.