miniBidi is a small implementation of Unicode's UAX#9 algorithm for handling right-to-left (RTL) text. It was included in the Arabeyes Adawat Project
It was written primarily to allow PuTTY to support displaying RTL text for languages like Arabic, Hebrew, Farsi... Although there were several other implementations out there at the time, PuTTY's MIT license was not compatible with any of them. So miniBidi was introduced with a MIT license so it can be included directly into PuTTY's codebase.
Full source code can be found on the Arabeyes Adawat Project's Gitlab