The sarit.xar is based on the eXist Solutions App Blueprint which serves as a template for building XAR applications with the help of GruntJS.
For installation and building instructions read the installation section in README-AppBlueprint.md.
Sanskrit data can be installed by building an installer from https://github.com/eXistSolutions/sarit-data/.