If anyone wants to reuse it, the source code is on Github: https://github.com/stallmaninterjector/rms-on-steroids/blob/...