It’s just a node app written in TypeScript. The OS specific details come from running the right shell commands.
https://github.com/prettydiff/aphorio